mfikes / ambly

ClojureScript REPL into embedded JavaScriptCore
http://ambly.fikesfarm.com
Eclipse Public License 1.0
541 stars 21 forks source link

Errors logged when using timeout #13

Closed mfikes closed 9 years ago

mfikes commented 9 years ago

If you make use of a timeout

(js/setTimeout (fn [] (print "hello")) 3000)

The functionality appears to work, but this gets logged in Xcode

2015-02-05 15:29:56.375 Ambly Demo[6630:130851] [undefined:8:24] ReferenceError: Can't find variable: nil
runTimeout

Perhaps the timeout mechanism I injected into JSC has something amiss with its JavaScript.

mfikes commented 9 years ago

The embedded JavaScript is using nil instead of null.