Compare commits

...

4 commits

Author SHA1 Message Date
Nathan Marz
04357f90bc update doc gen 2016-06-09 09:24:18 -04:00
Nathan Marz
6b26362b31 0.11.2 2016-06-09 08:51:11 -04:00
Nathan Marz
954190a511 add in transients namespace 2016-06-09 08:47:46 -04:00
Nathan Marz
1eadde445f fix cljs warnings 2016-06-09 08:47:30 -04:00
6 changed files with 17 additions and 8 deletions

View file

@ -1 +1 @@
0.11.1
0.11.2

View file

@ -16,7 +16,7 @@
com.rpl.specter.macros
com.rpl.specter.zipper
com.rpl.specter.protocols
com.rpl.specter.transient]
com.rpl.specter.transients]
:source-uri
{#"target/classes" "https://github.com/nathanmarz/specter/tree/{version}/src/clj/{classpath}x#L{line}"
#".*" "https://github.com/nathanmarz/specter/tree/{version}/src/clj/{classpath}#L{line}"
@ -46,4 +46,5 @@
:aliases {"cleantest" ["do" "clean,"
"cljx" "once,"
"test"]
"deploy" ["do" "clean," "cljx" "once," "deploy" "clojars"]})
"deploy" ["do" "clean," "cljx" "once," "deploy" "clojars"]}
)

View file

@ -4,7 +4,15 @@
(cljs.build.api/build "target/classes/com/rpl"
{:output-to "out/main.js"
:verbose true})
:verbose true
:warning-handlers [(fn [warning-type env extra]
(when (warning-type cljs.analyzer/*cljs-warnings*)
(when-let [s (cljs.analyzer/error-message warning-type extra)]
(binding [*out* *err*]
(println "WARNING:" (cljs.analyzer/message env s))
(println "Failed to build because of warning!")
)
(System/exit 1))))]})
(cljs.repl/repl (cljs.repl.node/repl-env)
:watch "target/classes/com/rpl"

View file

@ -1,7 +1,7 @@
(ns com.rpl.specter.benchmarks
(:use [com.rpl.specter]
[com.rpl.specter macros]
[com.rpl.specter.transient]
[com.rpl.specter.transients]
[com.rpl.specter.impl :only [benchmark]])
(:require [clojure.walk :as walk]))

View file

@ -1,4 +1,4 @@
(ns com.rpl.specter.transient
(ns com.rpl.specter.transients
#+cljs
(:require-macros [com.rpl.specter.macros
:refer
@ -23,7 +23,7 @@
(def END!
"Navigates to an empty (persistent) vector at the end of a transient vector."
(i/comp-paths* [(i/->TransientEndNavigator)]))
(i/comp-paths* (i/->TransientEndNavigator)))
(defn- t-get-first
[tv]

View file

@ -25,7 +25,7 @@
#+cljs [cljs.test.check.generators :as gen]
#+cljs [cljs.test.check.properties :as prop :include-macros true]
[com.rpl.specter :as s]
[com.rpl.specter.transient :as t]
[com.rpl.specter.transients :as t]
[clojure.set :as set]))
;;TODO: