Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added support for js/this in the compiler

  • Loading branch information...
commit 473262c3f3db6d2667afbfeb69cf41b113f961f2 1 parent 4c1e44b
@fogus fogus authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/clj/cljs/compiler.clj
View
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"
Please sign in to comment.
Something went wrong with that request. Please try again.