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:
Zaid Abdulla committed 2014-01-18 02:21:01 +03:00
1 parent b80e97b841
commit 8dede7743f
5 files changed
+146 -121

No files matched your search

+8
View File
@@ -25,3 +25,11 @@ exports.getDeviceCustomCommands = (deviceId) ->
if eval(v).test(deviceId)
commands[k] = exports.getFileCommands(k)
return commands
exports.getDeviceCustomCommandNames = (deviceId) ->
commands = []
for k,v of config.CUSTOM_COMMANDS
if eval(v).test(deviceId)
commands.push(k)
return commands