Skip to content

Instantly share code, notes, and snippets.

@loganlinn
Created July 31, 2014 00:02
Show Gist options
  • Save loganlinn/3bda792ecf93a3dffe9d to your computer and use it in GitHub Desktop.
Save loganlinn/3bda792ecf93a3dffe9d to your computer and use it in GitHub Desktop.
diff --git a/examples/mixin/index.html b/examples/mixin/index.html
index 20a42bc..569ca49 100644
--- a/examples/mixin/index.html
+++ b/examples/mixin/index.html
@@ -1,9 +1,6 @@
<html>
<body>
<div id="example"></div>
- <script src="http://fb.me/react-0.9.0.js"></script>
- <script src="out/goog/base.js" type="text/javascript"></script>
<script src="main.js" type="text/javascript"></script>
- <script type="text/javascript">goog.require("examples.mixin");</script>
</body>
</html>
diff --git a/project.clj b/project.clj
index f159a70..9769630 100644
--- a/project.clj
+++ b/project.clj
@@ -6,7 +6,7 @@
:distribution :repo}
:dependencies [[org.clojure/clojure "1.5.1"]
- [org.clojure/clojurescript "0.0-2202"]
+ [org.clojure/clojurescript "0.0-2227"]
[com.keminglabs/cljx "0.3.1"]
[om "0.6.4"]
[prismatic/plumbing "0.3.2"]
@@ -28,7 +28,10 @@
:source-paths ["src" "target/generated/src" "examples/mixin/src"]
:compiler {:output-to "examples/mixin/main.js"
:output-dir "examples/mixin/out"
- :optimizations :none}}]}}}
+ :preamble ["react/react.min.js"]
+ :externs ["react/externs/react.js"]
+ :optimizations :advanced
+ :pseudo-names true}}]}}}
:lein-release {:deploy-via :shell
:shell ["lein" "deploy" "clojars"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment