Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit 49932a26dc37d21787d86a9ca7d0cca11f432f27 0 parents
David Nolen authored
10 .gitignore
@@ -0,0 +1,10 @@
+/target
+/lib
+/classes
+/checkouts
+pom.xml
+*.jar
+*.class
+.lein-deps-sum
+.lein-failures
+.lein-plugins
3,565 .lein-cljsbuild-compiler-0/cljs/core.cljs
3,565 additions, 0 deletions not shown
12,144 .lein-cljsbuild-compiler-0/cljs/core.js
12,144 additions, 0 deletions not shown
25 .lein-cljsbuild-compiler-0/cljs_demo/core.js
@@ -0,0 +1,25 @@
+goog.provide('cljs_demo.core');
+goog.require('cljs.core');
+/**
+* I don't do a whole lot.
+* @param {...*} var_args
+*/
+cljs_demo.core._main = (function() {
+var _main__delegate = function (args){
+return cljs.core.println.call(null,"Hello, World!");
+};
+var _main = function (var_args){
+var args = null;
+if (goog.isDef(var_args)) {
+ args = cljs.core.array_seq(Array.prototype.slice.call(arguments, 0),0);
+}
+return _main__delegate.call(this, args);
+};
+_main.cljs$lang$maxFixedArity = 0;
+_main.cljs$lang$applyTo = (function (arglist__3075){
+var args = cljs.core.seq( arglist__3075 );;
+return _main__delegate.call(this, args);
+});
+return _main;
+})()
+;
15 README.md
@@ -0,0 +1,15 @@
+# cljs-demo
+
+I'm an app. Or maybe I'm a library? I haven't decided yet.
+
+The choice is up to you!
+
+## Usage
+
+FIXME
+
+## License
+
+Copyright © 2012 FIXME
+
+Distributed under the Eclipse Public License, the same as Clojure.
12,186 main.js
12,186 additions, 0 deletions not shown
7 project.clj
@@ -0,0 +1,7 @@
+(defproject cljs-demo "0.1.0-SNAPSHOT"
+ :description "ClojureScripting!"
+ :dependencies [[org.clojure/clojure "1.4.0-beta3"]]
+ :cljsbuild {:builds [{:source-path "src"
+ :compiler {:output-to "main.js"
+ :optimizations :whitespace
+ :pretty-print true}}]})
10 project.clj~
@@ -0,0 +1,10 @@
+(defproject cljs-demo "0.1.0-SNAPSHOT"
+ :description "FIXME: write description"
+ :url "http://example.com/FIXME"
+ :license {:name "Eclipse Public License"
+ :url "http://www.eclipse.org/legal/epl-v10.html"}
+ :dependencies [[org.clojure/clojure "1.4.0-beta3"]]
+ :cljsbuild {:builds [{:source-path "src"
+ :compiler {:output-to "main.js"
+ :optimizations :whitespace
+ :pretty-print true}}]})
1  src/cljs_demo/core.cljs
@@ -0,0 +1 @@
+(ns cljs-demo.core)
6 src/cljs_demo/core.cljs~
@@ -0,0 +1,6 @@
+(ns cljs-demo.core)
+
+(defn -main
+ "I don't do a whole lot."
+ [& args]
+ (println "Hello, World!"))
7 test/cljs_demo/core_test.clj
@@ -0,0 +1,7 @@
+(ns cljs-demo.core-test
+ (:use clojure.test
+ cljs-demo.core))
+
+(deftest a-test
+ (testing "FIXME, I fail."
+ (is (= 0 1))))
Please sign in to comment.
Something went wrong with that request. Please try again.