- Timestamp:
- 07/03/15 22:25:56 (10 years ago)
- Branch:
- default
- committer:
- Nicolas <nikrou77@gmail.com> 1435955575 -7200
- File:
-
- 1 edited
-
plugins/dcCKEditor/js/ckeditor/adapters/jquery.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcCKEditor/js/ckeditor/adapters/jquery.js
r2962 r3039 20 20 21 21 ( function( $ ) { 22 if ( typeof $ == 'undefined' ) { 23 throw new Error( 'jQuery should be loaded before CKEditor jQuery adapter.' ); 24 } 25 26 if ( typeof CKEDITOR == 'undefined' ) { 27 throw new Error( 'CKEditor should be loaded before CKEditor jQuery adapter.' ); 28 } 29 22 30 /** 23 31 * Allows CKEditor to override `jQuery.fn.val()`. When set to `true`, the `val()` function … … 43 51 * @member CKEDITOR.config 44 52 */ 45 CKEDITOR.config.jqueryOverrideVal = typeof CKEDITOR.config.jqueryOverrideVal == 'undefined' ? 46 true 47 : 48 CKEDITOR.config.jqueryOverrideVal; 49 50 if ( typeof $ == 'undefined' ) 51 return; 53 CKEDITOR.config.jqueryOverrideVal = 54 typeof CKEDITOR.config.jqueryOverrideVal == 'undefined' ? true : CKEDITOR.config.jqueryOverrideVal; 52 55 53 56 // jQuery object methods.
Note: See TracChangeset
for help on using the changeset viewer.
