Ticket #2501: loader.js.diff
File loader.js.diff, 2.2 KB (added by , 16 years ago) |
---|
-
loader.js
1 /*1 /* 2 2 * CKEditor - The text editor for Internet - http://ckeditor.com 3 3 * Copyright (C) 2003-2008 Frederico Caldeira Knabben 4 4 * … … 39 39 // Table of script names and their dependencies. 40 40 var scripts = 41 41 { 42 'core/_bootstrap' : [ 'core/config', 'core/ckeditor', 'core/plugins', 'core/script Loader', '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' ], 43 43 'core/ajax' : [ 'core/xml' ], 44 44 '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' ], 45 45 'core/ckeditor_base' : [], … … 64 64 'core/htmlparser/fragment' : [ 'core/htmlparser', 'core/htmlparser/comment', 'core/htmlparser/text' ], 65 65 'core/htmlparser/text' : [ 'core/htmlparser' ], 66 66 'core/lang' : [], 67 'core/plugins' : [ 'core/resource Manager' ],68 'core/resource Manager' : [ 'core/scriptLoader', 'core/tools' ],69 'core/script Loader' : [ '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' ], 70 70 'core/skins' : [], 71 'core/themes' : [ 'core/resource Manager' ],71 'core/themes' : [ 'core/resourcemanager' ], 72 72 'core/tools' : [ 'core/env' ], 73 73 'core/ui' : [], 74 74 'core/xml' : [ 'core/env' ] … … 167 167 168 168 // Append this script to the list of loaded scripts. 169 169 this.loadedScripts.push( scriptName ); 170 170 171 171 var scriptSrc = getUrl( '_source/' + scriptName + '.js' ); 172 172 173 173 // Append the <script> element to the DOM.