projects
/
smartapps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eef0b1
)
Update double-tap.groovy
author
Seyed Amir Hossein Aqajari
<amiraj.95@uci.edu>
Tue, 6 Aug 2019 19:24:24 +0000
(12:24 -0700)
committer
GitHub Enterprise
<noreply@github.uci.edu>
Tue, 6 Aug 2019 19:24:24 +0000
(12:24 -0700)
official/double-tap.groovy
patch
|
blob
|
history
diff --git
a/official/double-tap.groovy
b/official/double-tap.groovy
index 9cc290ef312e1b7419e2f26e8cf7f01d9aa6b000..401b2a5d2f3aa4a967fe42213f8e26a8864ef356 100755
(executable)
--- a/
official/double-tap.groovy
+++ b/
official/double-tap.groovy
@@
-72,11
+72,17
@@
def switchHandler(evt) {
}
private onSwitches1() {
- (switches + onSwitches).findAll{it}
+ def t1 = (switches).findAll{it}
+ def t2 = (onSwitches).findAll{it}
+ def t3 = t1+t2
+ t3
}
-
+
private offSwitches1() {
- (switches + offSwitches).findAll{it}
+ def t1 = (switches).findAll{it}
+ def t2 = (offSwitches).findAll{it}
+ def t3 = t1+t2
+ t3
}
private lastTwoStatesWere(value, states, evt) {