src/utils/ExtensionLoader.js
Function loadExtensionModule
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function loadExtensionModule(name, config, entryPoint) {
var extensionConfig = {
context: name,
baseUrl: config.baseUrl,
paths: globalPaths,
Function init
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init(paths) {
var params = new UrlParams();
if (_init) {
// Only init once. Return a resolved promise.
Function _loadAll
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _loadAll(directory, config, entryPoint, processExtension) {
var result = new $.Deferred();
FileSystem.getDirectoryForPath(directory).getContents(function (err, contents) {
if (!err) {