Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart #68

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
bb8a40c
move macros.clj to src/clj
magomimmo Nov 6, 2013
811985f
upgrade clj to 1.5.1, cljs to 0.0-1847, cljsbuild to 0.3.2, remove un…
magomimmo Nov 6, 2013
0ebd401
remove blank line from the topo
magomimmo Nov 6, 2013
6f96219
remove not existent dispatch-event fn
magomimmo Nov 6, 2013
d801e9b
add clojurescript.test and move testing stuff into the dev profile
magomimmo Nov 6, 2013
864e290
remove dev profile
magomimmo Nov 6, 2013
bf2c1fc
add dev profile
magomimmo Nov 6, 2013
ce4cad7
move test to temp
magomimmo Nov 6, 2013
f31cd07
move from vector to map, added :source-paths
magomimmo Nov 6, 2013
771a149
name builds
magomimmo Nov 6, 2013
1707a23
add test-commands, dev-resources, remove :ouput-dir and modify :outpu…
magomimmo Nov 6, 2013
93cce00
comment test implemented with clojurescript.test
magomimmo Nov 6, 2013
c13555d
add unit tests
magomimmo Nov 6, 2013
7af6126
add more unit tests
magomimmo Nov 6, 2013
687331a
update rules
magomimmo Nov 6, 2013
dc14db9
update cljs to r1978 and cljsbuild to 1.0.0-alpha1
magomimmo Nov 6, 2013
dfe37f7
update edge unit tests
magomimmo Nov 6, 2013
18d5b5e
update cljs to r2014
magomimmo Nov 7, 2013
c6153fb
comment other tests already implemented with clojurescript.test lib
magomimmo Nov 7, 2013
14ae284
completed xpath standard tests
magomimmo Nov 7, 2013
6822cb3
comment prepend! test
magomimmo Nov 7, 2013
f5739d9
add prepend! unit test
magomimmo Nov 7, 2013
528fac2
update cljs.test to 0.2.0
magomimmo Nov 7, 2013
52a516b
comment few more tests
magomimmo Nov 7, 2013
f830565
add more unit tests
magomimmo Nov 7, 2013
3b13f9d
comment other 3 tests
magomimmo Nov 7, 2013
221f720
add other unit tests
magomimmo Nov 7, 2013
3fd5ceb
comment builds and tests to speedup round trip
magomimmo Nov 7, 2013
80f0eb6
commented out :none build and test to speedup lifecycle until the uni…
magomimmo Nov 8, 2013
7dfb5f5
update cljs to r2030
magomimmo Nov 9, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ public/build_no_opt
public/test_*.js
public/domina.js
domina-tests
.lein-repl-history
lib
out
dev-resources/public/js/*.js
*.jar
.repl
pom.xml
.lein-plugins
.lein-failures
/target
target
*.*~
\#*#
.#*
Expand Down
35 changes: 35 additions & 0 deletions profiles.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{:dev {:test-paths ["test/cljs"]
:dependencies [[hiccups "0.2.0"]]
:plugins [[com.cemerick/clojurescript.test "0.2.0"]]
:cljsbuild {:builds {#_:none
#_{:source-paths ["src/cljs" "test/cljs"]
:compiler {:libs ["goog/dom/query.js"]
:pretty-print true
:optimizations :none
:output-to "dev-resources/public/js/none.js"}}
:whitespace
{:source-paths ["src/cljs" "test/cljs"]
:compiler {:libs ["goog/dom/query.js"]
:optimizations :whitespace
:pretty-print true
:output-to "dev-resources/public/js/whitespace.js"}}
#_:simple
#_{:source-paths ["src/cljs" "test/cljs"]
:compiler {:libs ["goog/dom/query.js"]
:optimizations :simple
:pretty-print true
:output-to "dev-resources/public/js/simple.js"}}
#_:advanced
#_{:source-paths ["src/cljs" "test/cljs"]
:compiler {:libs ["goog/dom/query.js"]
:optimizations :advanced
:pretty-print true
:output-to "dev-resources/public/js/advanced.js"}}}
:test-commands {"whitespace"
["phantomjs" :runner "dev-resources/public/js/whitespace.js"]

#_"simple"
#_["phantomjs" :runner "dev-resources/public/js/simple.js"]

#_"advanced"
#_["phantomjs" :runner "dev-resources/public/js/advanced.js"]}}}}
48 changes: 7 additions & 41 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,47 +1,13 @@
(defproject domina "1.0.3-SNAPSHOT"
:description "A DOM manipulation library for ClojureScript inspired by JQuery"
:source-paths ["src/cljs"]
:dependencies [[org.clojure/clojure "1.4.0"]]
:plugins [[lein-cljsbuild "0.3.0"]
[lein-clojars "0.9.1"]]
:source-paths ["src/clj" "src/cljs"]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2030"]]
:plugins [[lein-cljsbuild "1.0.0-alpha1"]]
:hooks [leiningen.cljsbuild]
:cljsbuild {:builds [{:jar true
:cljsbuild {:builds {:deploy
{:source-paths ["src/cljs"]
:compiler {:libs ["goog/dom/query.js"]
:pretty-print true
:output-dir ".cljsbuild/domina"
:output-to "public/domina.js"}}
{:source-paths ["test/cljs"]
:compiler {:libs ["goog/dom/query.js"]
:pretty-print true
:optimizations :none
:output-dir "public/build_no_opt"
:output-to "public/test_no_opt.js"}}
{:source-paths ["test/cljs"]
:compiler {:libs ["goog/dom/query.js"]
:optimizations :whitespace
:pretty-print true
:output-dir ".cljsbuild/whitespace"
:output-to "public/test_whitespace.js"}}
{:source-paths ["test/cljs"]
:compiler {:libs ["goog/dom/query.js"]
:optimizations :simple
:pretty-print true
:output-dir ".cljsbuild/simple"
:output-to "public/test_simple.js"}}
{:source-paths ["test/cljs"]
:compiler {:libs ["goog/dom/query.js"]
:optimizations :advanced
:pretty-print true
:output-dir ".cljsbuild/advanced"
:output-to "public/test_advanced.js"}}]}
:repositories {"sonatype-staging"
"https://oss.sonatype.org/content/groups/staging/"})

(comment
(do
(require '[cljs.repl :as repl])
(require '[cljs.repl.browser :as browser])
(def env (browser/repl-env))
(repl/repl env))

)
:output-to "public/domina.js"}}}})
File renamed without changes.
1 change: 0 additions & 1 deletion src/cljs/domina/events.cljs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

(ns domina.events
(:require [domina :as domina]
[goog.object :as gobj]
Expand Down
Loading