Skip to content
Browse files

Added support for js/this in the compiler

  • Loading branch information...
1 parent 4c1e44b commit 473262c3f3db6d2667afbfeb69cf41b113f961f2 @fogus fogus committed Sep 2, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/clj/cljs/compiler.clj
2 src/clj/cljs/compiler.clj
@@ -16,6 +16,8 @@
(declare resolve-var)
(require 'cljs.core)
+(def js-this 'this)
(def js-reserved
#{"abstract" "boolean" "break" "byte" "case"
"catch" "char" "class" "const" "continue"

0 comments on commit 473262c

Please sign in to comment.
Something went wrong with that request. Please try again.