This file contains 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 rao.rum | |
(:require [rum.core :as rum])) | |
(defn wiree | |
"Mixin that creates a dispatch, `d!`, that triggers a state transition and updates the component. | |
On startup (will-mount): | |
0. It adds an atom rao/local from the value of `initial-state`. | |
This file contains 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
cljs.user=> (cljs.test/run-tests 'sc-repo.core) | |
Testing sc-repo.core | |
Ran 1 tests containing 1 assertions. | |
0 failures, 0 errors. | |
nil | |
cljs.user=> (in-ns 'sc-repo.core) | |
nil | |
sc-repo.core=> (cljs.test/run-tests 'sc-repo.core) |
This file contains 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
#!/bin/sh | |
require_clean_work_tree () { | |
# Update the index | |
git update-index -q --ignore-submodules --refresh | |
err=0 | |
# Disallow unstaged changes in the working tree | |
if ! git diff-files --quiet --ignore-submodules -- | |
then | |
echo >&2 "cannot $1: you have unstaged changes." |
This file contains 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
module Dropdown where | |
import List exposing (..) | |
import Html exposing (..) | |
import Html.Attributes exposing (style) | |
import Html.Events exposing (onClick, onBlur) | |
-- MODEL |
This file contains 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
;; Works | |
(ns seq-error.core) | |
(defrecord SomeRecord [_]) |
This file contains 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 component.maps | |
(:require [google.maps]) | |
(defn map-opts [] | |
"Default initial map options." | |
{:zoom 3 | |
:mapTypeId google.maps.MapTypeId.ROADMAP | |
:center (google.maps.LatLng. 59, 18) | |
:mapTypeControl false | |
:styles [{:stylers [{:visibility "on"}]}]}) |
This file contains 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
Possibly confusing dependencies found: | |
[s3-wagon-private "1.1.2"] -> [org.springframework.build.aws/org.springframework.build.aws.maven "3.0.0.RELEASE"] -> [commons-httpclient "3.1"] -> [commons-logging "1.0.4"] | |
overrides | |
[s3-wagon-private "1.1.2"] -> [org.springframework.build.aws/org.springframework.build.aws.maven "3.0.0.RELEASE"] -> [net.java.dev.jets3t/jets3t "0.7.2"] -> [commons-logging "1.1.1"] | |
Consider using these exclusions: | |
[s3-wagon-private "1.1.2" :exclusions [commons-logging]] | |
[s3-wagon-private "1.1.2"] -> [org.springframework.build.aws/org.springframework.build.aws.maven "3.0.0.RELEASE"] -> [commons-httpclient "3.1"] -> [commons-codec "1.2"] | |
overrides |
This file contains 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
;; 1 - The var associated to a def, (def my-var ...) - L1142 | |
(DefExpr. :def env form var-name | |
;; TODO: check if this map should be a VarExpr - Sebastian | |
(assoc (analyze (-> env (dissoc :locals) | |
(assoc :context :expr) | |
(assoc :def-var true)) | |
sym) | |
:op :var) | |
doc (:jsdoc sym-meta) init-expr |
This file contains 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
Possibly confusing dependencies found: | |
[org.clojars.dwwoelfel/stefon "0.5.0-3198d1b33637d6bd79c7415b01cff843891ebfd4" :exclusions [org.clojure/clojurescript org.clojure/clojure]] -> [ring/ring-core "1.2.0"] | |
overrides | |
[ring "1.2.2" :exclusions [org.clojure/clojurescript org.clojure/clojure]] -> [ring/ring-jetty-adapter "1.2.2"] -> [ring/ring-servlet "1.2.2"] -> [ring/ring-core "1.2.2"] | |
and | |
[ring "1.2.2" :exclusions [org.clojure/clojurescript org.clojure/clojure]] -> [ring/ring-servlet "1.2.2"] -> [ring/ring-core "1.2.2"] | |
and | |
[ring "1.2.2" :exclusions [org.clojure/clojurescript org.clojure/clojure]] -> [ring/ring-jetty-adapter "1.2.2"] -> [ring/ring-core "1.2.2"] | |
and | |
[ring "1.2.2" :exclusions [org.clojure/clojurescript org.clojure/clojure]] -> [ring/ring-devel "1.2.2"] -> [ring/ring-core "1.2.2"] |
This file contains 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
carlos@leiningen: git status | |
# On branch ft-reader-conditionals | |
nothing to commit, working directory clean | |
carlos@leiningen: cd leiningen-core/ | |
carlos@leiningen-core: lein bootstrap | |
Retrieving bultitude/bultitude/0.2.7/bultitude-0.2.7.pom from clojars | |
Retrieving bultitude/bultitude/0.2.7/bultitude-0.2.7.jar from clojars | |
Created /home/carlos/OpenSource/cljc-test/leiningen/leiningen-core/target/leiningen-core-2.5.2-SNAPSHOT.jar | |
Wrote /home/carlos/OpenSource/cljc-test/leiningen/leiningen-core/pom.xml | |
Installed jar and pom into local repo. |
NewerOlder