aboutsummaryrefslogtreecommitdiff
path: root/lux-js/source
diff options
context:
space:
mode:
authorEduardo Julian2019-03-30 21:45:45 -0400
committerEduardo Julian2019-03-30 21:45:45 -0400
commit118895081d97279a796cc704e6c23bf92ed79e5e (patch)
tree1ea654e3f913bfc5f978bba46620c535e7a4a7bc /lux-js/source
parent5009bfaa56119a58e675a1e6008623790b54cc1c (diff)
Re-named "do-template" to "template".
Diffstat (limited to 'lux-js/source')
-rw-r--r--lux-js/source/program.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 0a723ec30..fca2ab4ad 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -80,7 +80,7 @@
(import: #long jdk/nashorn/internal/runtime/Undefined)
-(do-template [<name>]
+(template [<name>]
[(interface: <name>
(getValue [] java/lang/Object))
@@ -348,14 +348,14 @@
(#.Some _)
(exception.throw undefined-has-no-lux-representation [])
#.None)
- (~~ (do-template [<class>]
+ (~~ (template [<class>]
[(case (host.check <class> js-object)
(#.Some js-object)
(exception.return js-object)
#.None)]
[java/lang/Boolean] [java/lang/String]))
- (~~ (do-template [<class> <method>]
+ (~~ (template [<class> <method>]
[(case (host.check <class> js-object)
(#.Some js-object)
(exception.return (<method> js-object))