PHP Classes

File: WITheme/WICMS/admin/js/plugins/textEditor/tinymce_4.2.6_dev/tinymce/tests/js/module_loader.js

Recommend this page to a friend!
  Classes of Jules Warner   WICMS   WITheme/WICMS/admin/js/plugins/textEditor/tinymce_4.2.6_dev/tinymce/tests/js/module_loader.js   Download  
File: WITheme/WICMS/admin/js/plugins/textEditor/tinymce_4.2.6_dev/tinymce/tests/js/module_loader.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WICMS
Database driven content management system with PDO
Author: By
Last change:
Date: 7 years ago
Size: 697 bytes
 

Contents

Class file image Download
(function(exports) { exports.AMDLC_TESTS = true; function resolve(id) { var i, target = exports, fragments = id.split(/[.\/]/); for (i = 0; i < fragments.length; i++) { if (!target[fragments[i]]) { return; } target = target[fragments[i]]; } return target; } function require(ids, callback) { var i, module, defs = [], privateModules = exports.privateModules || {}; for (i = 0; i < ids.length; i++) { module = privateModules[ids[i]] || resolve(ids[i]); if (!module) { throw 'module definition dependecy not found: ' + ids[i]; } defs.push(module); } callback.apply(null, defs); } exports.ModuleLoader = { require: require }; })(this);