Ticket #2501: loader.js.diff

File loader.js.diff, 2.2 KB (added by Matija Jekovec, 16 years ago)
  • loader.js

     
    1 /*
     1/*
    22 * CKEditor - The text editor for Internet - http://ckeditor.com
    33 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
    44 *
     
    3939                // Table of script names and their dependencies.
    4040                var scripts =
    4141                {
    42                         'core/_bootstrap'               : [ 'core/config', 'core/ckeditor', 'core/plugins', 'core/scriptLoader', 'core/tools', /* The following are entries that we wnat to force loading to at the end to avoid dependence recursion */ 'core/dom/text' ],
     42                        'core/_bootstrap'               : [ 'core/config', 'core/ckeditor', 'core/plugins', 'core/scriptloader', 'core/tools', /* The following are entries that we wnat to force loading to at the end to avoid dependence recursion */ 'core/dom/text' ],
    4343                        'core/ajax'                             : [ 'core/xml' ],
    4444                        'core/ckeditor'                 : [ 'core/ajax', 'core/ckeditor_basic', 'core/dom', 'core/dtd', 'core/dom/document', 'core/dom/element', 'core/editor', 'core/event', 'core/htmlparser', 'core/htmlparser/element', 'core/htmlparser/fragment', 'core/tools' ],
    4545                        'core/ckeditor_base'    : [],
     
    6464                        'core/htmlparser/fragment'      : [ 'core/htmlparser', 'core/htmlparser/comment', 'core/htmlparser/text' ],
    6565                        'core/htmlparser/text'          : [ 'core/htmlparser' ],
    6666                        'core/lang'                             : [],
    67                         'core/plugins'                  : [ 'core/resourceManager' ],
    68                         'core/resourceManager'  : [ 'core/scriptLoader', 'core/tools' ],
    69                         'core/scriptLoader'             : [ 'core/dom/element', 'core/env' ],
     67                        'core/plugins'                  : [ 'core/resourcemanager' ],
     68                        'core/resourcemanager'  : [ 'core/scriptloader', 'core/tools' ],
     69                        'core/scriptloader'             : [ 'core/dom/element', 'core/env' ],
    7070                        'core/skins'                    : [],
    71                         'core/themes'                   : [ 'core/resourceManager' ],
     71                        'core/themes'                   : [ 'core/resourcemanager' ],
    7272                        'core/tools'                    : [ 'core/env' ],
    7373                        'core/ui'                               : [],
    7474                        'core/xml'                              : [ 'core/env' ]
     
    167167
    168168                                // Append this script to the list of loaded scripts.
    169169                                this.loadedScripts.push( scriptName );
    170 
     170               
    171171                                var scriptSrc = getUrl( '_source/' + scriptName + '.js' );
    172172
    173173                                // Append the <script> element to the DOM.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy