Ticket #3218: 3218.patch

File 3218.patch, 1.1 KB (added by Wiktor Walc, 15 years ago)
  • _samples/sample.js

     
    33For licensing, see LICENSE.html or http://ckeditor.com/license
    44*/
    55
     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
    614// Firebug has been presented some bugs with console. It must be "initialized"
    715// before the page load to work.
    816// FIXME: Remove the following in the future, if Firebug gets fixed.
     
    2432
    2533if ( window.CKEDITOR )
    2634{
     35// %REMOVE_START%
    2736        CKEDITOR.samples = (function()
    2837        {
    2938                var ajax = CKEDITOR.ajax;
     
    6877
    6978                return samples;
    7079        })();
    71 
     80// %REMOVE_END%
    7281        (function()
    7382        {
    7483                var showCompatibilityMsg = function()
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy