File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10104,12 +10104,12 @@ Maps become Objects. Arbitrary keys are encoded to by key->js."
10104
10104
(defn find-ns-obj [ns ]
10105
10105
(let [munged-ns (munge (str ns ))
10106
10106
segs (.split munged-ns " ." )]
10107
- (if ^boolean js/COMPILED
10108
- ( js/eval munged-ns)
10109
- ( case *target*
10110
- " nodejs " (find-ns-obj* js/global segs)
10111
- " default" (find-ns-obj* js/window segs)
10112
- (throw (js/Error. (str " find-ns-obj not supported for target " *target*) ))))))
10107
+ (case *target*
10108
+ " nodejs " ( if ^boolean js/COMPILED
10109
+ ( js/eval munged-ns)
10110
+ (find-ns-obj* js/global segs) )
10111
+ " default" (find-ns-obj* js/window segs)
10112
+ (throw (js/Error. (str " find-ns-obj not supported for target " *target*))))))
10113
10113
10114
10114
(defn ns-interns* [sym]
10115
10115
(let [ns-obj (find-ns-obj sym)
You can’t perform that action at this time.
0 commit comments