PHP Classes

File: public/js/tinymce/src/themes/mobile/src/main/js/util/DataAttributes.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/themes/mobile/src/main/js/util/DataAttributes.js   Download  
File: public/js/tinymce/src/themes/mobile/src/main/js/util/DataAttributes.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GoLavaCMS
Publish content on Web pages with SEO support
Author: By
Last change:
Date: 6 years ago
Size: 401 bytes
 

Contents

Class file image Download
define( 'tinymce.themes.mobile.util.DataAttributes', [ 'ephox.sugar.api.properties.Attr', 'global!isNaN', 'global!parseInt' ], function (Attr, isNaN, parseInt) { var safeParse = function (element, attribute) { var parsed = parseInt(Attr.get(element, attribute), 10); return isNaN(parsed) ? 0 : parsed; }; return { safeParse: safeParse }; } );