vendor/node_modules/wisp/src/ast.wisp in ruby-wisp-source-0.7.0 vs vendor/node_modules/wisp/src/ast.wisp in ruby-wisp-source-0.8.0
- old
+ new
@@ -1,8 +1,10 @@
-(import [list? sequential? first second count last map vec] "./sequence")
-(import [split join] "./string")
-(import [nil? vector? number? string? boolean? object? date? re-pattern?
- dictionary? str inc subs =] "./runtime")
+(ns wisp.ast
+ (:use [wisp.sequence :only [list? sequential? first second count last map
+ vec]]
+ [wisp.string :only [split join]]
+ [wisp.runtime :only [nil? vector? number? string? boolean? object?
+ date? re-pattern? dictionary? str inc subs =]]))
(defn with-meta
"Returns identical value with given metadata associated to it."
[value metadata]
(.defineProperty Object value "metadata" {:value metadata :configurable true})