From 588e3ccaf87714a6dcb6e587940dc2454bdd1644 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 20 Apr 2016 00:43:20 +0300 Subject: [PATCH] fixed a small but stupd dependency bug... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/filesystem.js | 5 ++++- ui (gen4)/lib/features.js | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/features/filesystem.js b/ui (gen4)/features/filesystem.js index 33b01954..486924a1 100755 --- a/ui (gen4)/features/filesystem.js +++ b/ui (gen4)/features/filesystem.js @@ -485,7 +485,10 @@ module.FileSystemLoaderUI = core.ImageGridFeatures.Feature({ doc: '', tag: 'ui-fs-loader', - depends: ['fs-loader'], + depends: [ + 'ui', + 'fs-loader' + ], actions: FileSystemLoaderUIActions, }) diff --git a/ui (gen4)/lib/features.js b/ui (gen4)/lib/features.js index 015fc027..1c92970c 100755 --- a/ui (gen4)/lib/features.js +++ b/ui (gen4)/lib/features.js @@ -311,6 +311,9 @@ module.FeatureSet = { // XXX add ability to remove features by prefixing a '-' to its name // ...if one - is present, remove all instances of // + // XXX .buildFeatureList() is slow and can be a bottleneck for large + // numbers of features... might be a good idea to take a look at + // this sometime... buildFeatureList: function(obj, lst, auto_include, depth){ var that = this obj = obj || {}