app/assets/javascripts/languages/ro.js in wysiwyg-rails-2.6.0 vs app/assets/javascripts/languages/ro.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 ($) { /** * Romanian */ $.FE.LANGUAGE['ro'] = { @@ -230,5 +256,7 @@ // Quick Insert "Quick Insert": "Inserare rapid\u0103" }, direction: "ltr" }; + +}));