Automatically refresh relevant parameter tree when new parameters are detected in informs. This makes init task obsolete and therefore it has been removed.
This commit is contained in:
1 parent
b80e97b841
commit
8dede7743f
5 files changed
+146
-121
No files matched your search
@@ -141,8 +141,10 @@ addAliases = (device, aliases) ->
|
||||
|
||||
|
||||
insertTasks = (tasks, aliases, callback) ->
|
||||
if common.typeOf(tasks) isnt common.ARRAY_TYPE
|
||||
if tasks? and common.typeOf(tasks) isnt common.ARRAY_TYPE
|
||||
tasks = [tasks]
|
||||
else if not tasks? or tasks.length == 0
|
||||
return callback(tasks)
|
||||
|
||||
counter = tasks.length
|
||||
|
||||
|
||||
Reference in new issue
Block a user