X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/871bad8291b6dbc29d489d95d185458caab25158..14d450d78a2d67ec1decd64c928151851961dd36:/_source/core/loader.js diff --git a/_source/core/loader.js b/_source/core/loader.js deleted file mode 100644 index d8a8302..0000000 --- a/_source/core/loader.js +++ /dev/null @@ -1,240 +0,0 @@ -/* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ - -/** - * @fileOverview Defines the {@link CKEDITOR.loader} objects, which is used to - * load core scripts and their dependencies from _source. - */ - -if ( typeof CKEDITOR == 'undefined' ) - CKEDITOR = {}; - -if ( !CKEDITOR.loader ) -{ - /** - * Load core scripts and their dependencies from _source. - * @namespace - * @example - */ - CKEDITOR.loader = (function() - { - // Table of script names and their dependencies. - var scripts = - { - 'core/_bootstrap' : [ 'core/config', 'core/ckeditor', 'core/plugins', 'core/scriptloader', 'core/tools', /* The following are entries that we want to force loading at the end to avoid dependence recursion */ 'core/dom/comment', 'core/dom/elementpath', 'core/dom/text', 'core/dom/rangelist' ], - 'core/ckeditor' : [ '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/htmlparser/filter', 'core/htmlparser/basicwriter', 'core/tools' ], - 'core/ckeditor_base' : [], - 'core/ckeditor_basic' : [ 'core/editor_basic', 'core/env', 'core/event' ], - 'core/command' : [], - 'core/config' : [ 'core/ckeditor_base' ], - 'core/dom' : [], - 'core/dom/comment' : [ 'core/dom/node' ], - 'core/dom/document' : [ 'core/dom', 'core/dom/domobject', 'core/dom/window' ], - 'core/dom/documentfragment' : [ 'core/dom/element' ], - 'core/dom/element' : [ 'core/dom', 'core/dom/document', 'core/dom/domobject', 'core/dom/node', 'core/dom/nodelist', 'core/tools' ], - 'core/dom/elementpath' : [ 'core/dom/element' ], - 'core/dom/event' : [], - 'core/dom/node' : [ 'core/dom/domobject', 'core/tools' ], - 'core/dom/nodelist' : [ 'core/dom/node' ], - 'core/dom/domobject' : [ 'core/dom/event' ], - 'core/dom/range' : [ 'core/dom/document', 'core/dom/documentfragment', 'core/dom/element', 'core/dom/walker' ], - 'core/dom/rangelist' : [ 'core/dom/range' ], - 'core/dom/text' : [ 'core/dom/node', 'core/dom/domobject' ], - 'core/dom/walker' : [ 'core/dom/node' ], - 'core/dom/window' : [ 'core/dom/domobject' ], - 'core/dtd' : [ 'core/tools' ], - 'core/editor' : [ 'core/command', 'core/config', 'core/editor_basic', 'core/focusmanager', 'core/lang', 'core/plugins', 'core/skins', 'core/themes', 'core/tools', 'core/ui' ], - 'core/editor_basic' : [ 'core/event' ], - 'core/env' : [], - 'core/event' : [], - 'core/focusmanager' : [], - 'core/htmlparser' : [], - 'core/htmlparser/comment' : [ 'core/htmlparser' ], - 'core/htmlparser/element' : [ 'core/htmlparser', 'core/htmlparser/fragment' ], - 'core/htmlparser/fragment' : [ 'core/htmlparser', 'core/htmlparser/comment', 'core/htmlparser/text', 'core/htmlparser/cdata' ], - 'core/htmlparser/text' : [ 'core/htmlparser' ], - 'core/htmlparser/cdata' : [ 'core/htmlparser' ], - 'core/htmlparser/filter' : [ 'core/htmlparser' ], - 'core/htmlparser/basicwriter': [ 'core/htmlparser' ], - 'core/lang' : [], - 'core/plugins' : [ 'core/resourcemanager' ], - 'core/resourcemanager' : [ 'core/scriptloader', 'core/tools' ], - 'core/scriptloader' : [ 'core/dom/element', 'core/env' ], - 'core/skins' : [ 'core/scriptloader' ], - 'core/themes' : [ 'core/resourcemanager' ], - 'core/tools' : [ 'core/env' ], - 'core/ui' : [] - }; - - var basePath = (function() - { - // This is a copy of CKEDITOR.basePath, but requires the script having - // "_source/core/loader.js". - if ( CKEDITOR && CKEDITOR.basePath ) - return CKEDITOR.basePath; - - // Find out the editor directory path, based on its