app/assets/javascripts/languages/sk.js in wysiwyg-rails-2.6.0 vs app/assets/javascripts/languages/sk.js in wysiwyg-rails-2.6.1

- old
+ new

@@ -1,11 +1,37 @@ /*! - * froala_editor v2.6.0 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2017 Froala Labs */ +(function (factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['jquery'], factory); + } else if (typeof module === 'object' && module.exports) { + // Node/CommonJS + module.exports = function( root, jQuery ) { + if ( jQuery === undefined ) { + // require('jQuery') returns a factory that requires window to + // build a jQuery instance, we normalize how we use modules + // that require this pattern but the window provided is a noop + // if it's defined (how jquery works) + if ( typeof window !== 'undefined' ) { + jQuery = require('jquery'); + } + else { + jQuery = require('jquery')(root); + } + } + return factory(jQuery); + }; + } else { + // Browser globals + factory(window.jQuery); + } +}(function ($) { /** * Slovak */ $.FE.LANGUAGE['sk'] = { @@ -229,6 +255,7 @@ // Quick Insert "Quick Insert": "Vlo\u017ei\u0165 zr\u00fdchlene" }, direction: "ltr" -}; \ No newline at end of file +}; +}));