       (cb nil))))
 
 (defn require [macros-ns? sym reload]
-  (cljs.js/require
+  (cljs/require
     {:*compiler*     st
      :*load-fn*      load
      :*eval-fn*      cljs/js-eval}

  ;(println "Loading analysis cache")
  (let [rdr (transit/reader :json)
        cache (transit/read rdr json)]
    (cljs.js/load-analysis-cache! st 'cljs.core cache)))

(defonce current-ns (atom 'cljs.user))


(ns planck.core
  (:require-macros [cljs.env.macros :refer [with-compiler-env]])
  (:require [cljs.analyzer :as ana]
            [cljs.tools.reader :as r]
            [cljs.tagged-literals :as tags]
            [cljs.source-map :as sm]
            [cljs.js :as cljs]
            [cljs.repl :as repl]
            [cljs.stacktrace :as st]
