Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashi Gowda committed Apr 3, 2018
2 parents 254f61e + ed9153f commit 73bf575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JSExpr.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module JSExpr

using JSON, MacroTools, WebIO
export JSString, @js, @js_str
export JSString, @js, @js_str, @var, @new

import WebIO: JSString, JSONContext, JSEvalSerialization

Expand Down Expand Up @@ -174,7 +174,7 @@ function jsexpr(x::Expr)
a_[] => obs_get_expr(a)
a_[i__] => ref_expr(a, i...)
[xs__] => vect_expr(xs)
(@m_ xs__) => jsexpr(macroexpand(JSExpr, x))
(@m_ xs__) => jsexpr(macroexpand(current_module(), x))
(for i_ = start_ : to_
body__
end) => for_expr(i, start, to, body)
Expand Down

0 comments on commit 73bf575

Please sign in to comment.