Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus89 committed Aug 17, 2018
1 parent 46f952e commit f6e50f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/scripts/services/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ angular.module('icestudio')
common.DEFAULT_COLLECTION_DIR,
utils.getFilesRecursive(common.DEFAULT_COLLECTION_DIR, MAX_LEVEL_SEARCH)
);
}
};

this.loadInternalCollections = function () {
var internalCollections = utils.findCollections(common.INTERNAL_COLLECTIONS_DIR);
common.internalCollections = loadCollections(internalCollections);
}
};

this.loadExternalCollections = function () {
var externalCollectionsPath = profile.get('externalCollections');
if (externalCollectionsPath !== common.INTERNAL_COLLECTIONS_DIR) {
var externalCollections = utils.findCollections(externalCollectionsPath);
common.externalCollections = loadCollections(externalCollections);
}
}
};

function loadCollections(paths) {
var collections = [];
Expand Down

0 comments on commit f6e50f9

Please sign in to comment.