mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
cleanup + some doc...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
19c2b2028e
commit
4d095ea351
@ -327,6 +327,8 @@ var FeatureSetProto = {
|
||||
// XXX should meta-features be MetaFeature objects???
|
||||
// XXX not sure about handling excluded features (see inside)...
|
||||
// XXX add dependency loops to .conflicts...
|
||||
// XXX might be a good idea to check dependency loops on feature
|
||||
// construction, too... (???)
|
||||
buildFeatureList: function(obj, lst){
|
||||
var that = this
|
||||
obj = obj || {}
|
||||
@ -374,6 +376,9 @@ var FeatureSetProto = {
|
||||
// ...unless there is an infinite number of features, but
|
||||
// I'll try to avoid that big a feature creep.
|
||||
// XXX should we check for dependency loops here???
|
||||
// ...this would have been simple if this was a recursion
|
||||
// (just check if cur is in path), but here it is not
|
||||
// trivial...
|
||||
for(var i=0; i < lst.length; i++){
|
||||
var k = lst[i]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user