summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-06-23 21:09:55 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-06-23 21:18:22 +0100
commit8f048a1acf35505c33560dcdacdbdf332600e920 (patch)
tree4779b440afb584d0d9c8c47895b404eeb5f3d5b7 /scripts/toy.groovy
parentExtract debug functions into a module (diff)
downloadtoy-8f048a1acf35505c33560dcdacdbdf332600e920.zip
Extract release requests into play module
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 8ad391b..93d231b 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -392,9 +392,6 @@ return new Object() {
def opts = requestables.values().toList().findAll {
it -> !it.cond || it.cond()
};
- TOYTOYS.findAll { stateIs(it) }.each {
- opts.push([ lbl: "May I be un-$it".toString(), act: { requestRelease() }, arg: it ]);
- };
opts.push([ lbl: "Back", act: null ]);
def opt = getSelectedValue(stateIs("DEBUG") ? DOMME : "Yes, toy?", opts.collect { it.lbl });
def act = opts[opt].act;