diff options
author | Eduardo Julian | 2019-03-30 21:45:45 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-03-30 21:45:45 -0400 |
commit | 118895081d97279a796cc704e6c23bf92ed79e5e (patch) | |
tree | 1ea654e3f913bfc5f978bba46620c535e7a4a7bc /lux-js | |
parent | 5009bfaa56119a58e675a1e6008623790b54cc1c (diff) |
Re-named "do-template" to "template".
Diffstat (limited to 'lux-js')
-rw-r--r-- | lux-js/source/program.lux | 6 |
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)) |