parent
ea86d00b1e
commit
183cd47207
@ -1,11 +0,0 @@
|
|||||||
(ns user
|
|
||||||
(:require [figwheel-sidecar.repl-api :as ra]))
|
|
||||||
|
|
||||||
(defn start-fw []
|
|
||||||
(ra/start-figwheel!))
|
|
||||||
|
|
||||||
(defn stop-fw []
|
|
||||||
(ra/stop-figwheel!))
|
|
||||||
|
|
||||||
(defn cljs []
|
|
||||||
(ra/cljs-repl))
|
|
@ -1,11 +0,0 @@
|
|||||||
(ns ^:figwheel-no-load wanijo.frontend.dev
|
|
||||||
(:require
|
|
||||||
[wanijo.frontend.core :as core]
|
|
||||||
[devtools.core :as devtools]))
|
|
||||||
|
|
||||||
|
|
||||||
(enable-console-print!)
|
|
||||||
|
|
||||||
(devtools/install!)
|
|
||||||
|
|
||||||
(core/init!)
|
|
@ -1,8 +0,0 @@
|
|||||||
(ns wanijo.frontend.prod
|
|
||||||
(:require
|
|
||||||
[wanijo.frontend.core :as core]))
|
|
||||||
|
|
||||||
;;ignore println statements in prod
|
|
||||||
(set! *print-fn* (fn [& _]))
|
|
||||||
|
|
||||||
(core/init!)
|
|
@ -1,11 +0,0 @@
|
|||||||
var CLOSURE_UNCOMPILED_DEFINES = {};
|
|
||||||
var CLOSURE_NO_DEPS = true;
|
|
||||||
if(typeof goog == "undefined") document.write('<script src="/js/out/goog/base.js"></script>');
|
|
||||||
document.write('<script src="/js/out/goog/deps.js"></script>');
|
|
||||||
document.write('<script src="/js/out/cljs_deps.js"></script>');
|
|
||||||
document.write('<script>if (typeof goog == "undefined") console.warn("ClojureScript could not load :main, did you forget to specify :asset-path?");</script>');
|
|
||||||
document.write('<script>goog.require("figwheel.connect");</script>');
|
|
||||||
document.write('<script>goog.require("process.env");</script>');
|
|
||||||
document.write('<script>goog.require("wanijo.frontend.dev");</script>');
|
|
||||||
|
|
||||||
document.write("<script>figwheel.connect.start();</script>");
|
|
Loading…
Reference in new issue