Ticket #3218: 3218.patch
File 3218.patch, 1.1 KB (added by , 15 years ago) |
---|
-
_samples/sample.js
3 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 4 */ 5 5 6 // This file is not required by CKEditor and may be safely ignored. 7 // It is just a helper file that displays a red message about browser compatibility 8 // at the top of the samples (if incompatible browser is detected). 9 // %REMOVE_START% 10 // In the SVN version of CKEditor, it does some more magic, for example it 11 // redirects all samples to the sample.html file. It still can be ignored anyway. 12 // %REMOVE_END% 13 6 14 // Firebug has been presented some bugs with console. It must be "initialized" 7 15 // before the page load to work. 8 16 // FIXME: Remove the following in the future, if Firebug gets fixed. … … 24 32 25 33 if ( window.CKEDITOR ) 26 34 { 35 // %REMOVE_START% 27 36 CKEDITOR.samples = (function() 28 37 { 29 38 var ajax = CKEDITOR.ajax; … … 68 77 69 78 return samples; 70 79 })(); 71 80 // %REMOVE_END% 72 81 (function() 73 82 { 74 83 var showCompatibilityMsg = function()