aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/backcall.moon13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/inputs/backcall.moon b/spec/inputs/backcall.moon
index 3aedba9..2972b1d 100644
--- a/spec/inputs/backcall.moon
+++ b/spec/inputs/backcall.moon
@@ -90,4 +90,17 @@ do
90 (data)<- loadAsync file 90 (data)<- loadAsync file
91 addToCache file,data) |> reduce 0,(a,b)-> a+b 91 addToCache file,data) |> reduce 0,(a,b)-> a+b
92 92
93propA = do
94 (value)<= property => @_value
95 print "old value: #{@_value}"
96 print "new value: #{value}"
97 @_value = value
98
99propB = do
100 <= property _, (value)=>
101 print "old value: #{@_value}"
102 print "new value: #{value}"
103 @_value = value
104 @_value
105
93alert "hi" 106alert "hi"