Declare the trampoline variable before using it.
This makes the trampoline "module" work in strict mode which you are now using everywhere.
This commit is contained in:
parent
05c8e0e30a
commit
c0d4c4de4b
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ Elm.Native.Trampoline.make = function(elm) {
|
|||
if (elm.Native.Trampoline.values) return elm.Native.Trampoline.values;
|
||||
|
||||
// trampoline : Trampoline a -> a
|
||||
var trampoline;
|
||||
trampoline = function(t) {
|
||||
var tramp = t;
|
||||
while(true) {
|
||||
|
|
Loading…
Reference in a new issue