Commits

Anonymous committed 03fec4c

fix: web browser report 'Uncaught ReferenceError: Wysiwym is not defined', after wysiwym.js minified

  • Participants
  • Parent commits 1c9306b

Comments (0)

Files changed (1)

File wysiwym/wysiwym.js

  * Simple Wysiwym Editor for jQuery
  * Version: 2.0 (2011-01-26)
  *--------------------------------------------------------------------------------------------- */
-var BLANKLINE = '';
-var Wysiwym = {};
+BLANKLINE = '';
+Wysiwym = {};
 
 $.fn.wysiwym = function(markupSet, options) {
     this.EDITORCLASS = 'wysiwym-editor';           // Class to use for the wysiwym editor