Created
November 5, 2013 10:22
-
-
Save smiler/7316919 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns breakout.core | |
| (:require [clojure.browser.repl :as repl])) | |
| (repl/connect "http://localhost:9000/repl") | |
| (. js/console (log "Hello world!")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <script src="out/goog/base.js" type="text/javascript"></script> | |
| <script src="breakout.js" type="text/javascript"></script> | |
| <script type="text/javascript">goog.require("breakout.core");</script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defproject breakout "0.1.0-SNAPSHOT" | |
| :description "FIXME: write this!" | |
| :url "http://example.com/FIXME" | |
| :dependencies [[org.clojure/clojure "1.5.1"] | |
| [org.clojure/clojurescript "0.0-1978"]] | |
| :plugins [[lein-cljsbuild "0.3.4"]] | |
| :source-paths ["src"] | |
| :cljsbuild { | |
| :builds [{:id "breakout" | |
| :source-paths ["src"] | |
| :compiler { | |
| :output-to "breakout.js" | |
| :output-dir "out" | |
| :optimizations :none | |
| :source-map true}}]}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment