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
| ; we cannot use cljs.core/merge because that would confuse advanced mode compilation | |
| ; if you look at cljs.core/merge you will see that it relies on protocol checks and this is too dymamic to be elided | |
| (defn simple-merge [m1 m2] | |
| (loop [m m1 | |
| ks (keys m2)] | |
| (if (empty? ks) | |
| m | |
| (recur (assoc m (first ks) (get m2 (first ks))) (rest ks))))) | |
| (def default-config defaults/prefs) |
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
| stdout TypeError: this.$late1$.$select_STAR_$ is not a function | |
| command: (select-subreps suggest-box-item-rep? result28455) | |
| form: | |
| ((find-suggest-box-element) | |
| (build-rep) | |
| (select-subreps suggest-box-item-rep?) | |
| (map print-suggest-box-item) | |
| (print-list)) | |
| error: | |
| TypeError: this.$late1$.$select_STAR_$ is not a function |
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
| planck 00:30:26 | |
| cljs.user=> (def my-fn (fn [] (js/RegExp. "^prefix\\s+" "gi"))) | |
| #'cljs.user/my-fn | |
| cljs.user=> (.toString my-fn) | |
| "function cljs$user$my_fn(){\nreturn (new RegExp(\"^prefix\\\\s+\",\"gi\"));\n}" | |
| cljs.user=> |
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
| // ... | |
| while (true) { | |
| if ((i56549 < len56548)) { | |
| var mode56551 = (path56547[i56549]); | |
| var key56552 = (path56547[(i56549 + (1))]); | |
| var next_obj56553 = oops.core.get_key_dynamically.call(null, obj56550, key56552, mode56551); | |
| var G__56555 = mode56551; | |
| switch (G__56555) { | |
| case (0): | |
| var G__56557 = (i56549 + (2)); |
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
| TypeError: this.$late1$.$select_STAR_$ is not a function | |
| at $com$rpl$specter$t_com$0rpl$0specter38788$$.undefined.$com$rpl$specter$t_com$0rpl$0specter38788$$.$com$rpl$specter$protocols$RichNavigator$select_STAR_$arity$4$ (chrome-extension://epkhgbbmecfbomdhhgjnlidlmdgiapfp/devtools/front_end/inspector.js:***) | |
| at $com$rpl$specter$impl$exec_select_STAR_$$ (chrome-extension://epkhgbbmecfbomdhhgjnlidlmdgiapfp/devtools/front_end/inspector.js:***) | |
| at $com$rpl$specter$impl$t_com$0rpl$0specter$0impl26607$$.$cell$$6$$.undefined.$com$rpl$specter$impl$t_com$0rpl$0specter$0impl26607$$.$com$rpl$specter$protocols$RichNavigator$select_STAR_$arity$4$ (chrome-extension://epkhgbbmecfbomdhhgjnlidlmdgiapfp/devtools/front_end/inspector.js:***) | |
| at $com$rpl$specter$impl$exec_select_STAR_$$ (chrome-extension://epkhgbbmecfbomdhhgjnlidlmdgiapfp/devtools/front_end/inspector.js:***) | |
| at $com$rpl$specter$impl$t_com$0rpl$0specter$0impl2 |
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
| // Compiled by ClojureScript 1.9.227 {:static-fns true, :optimize-constants true, :elide-asserts true} | |
| goog.provide('oops.arena.basic_oget'); | |
| goog.require('cljs.core'); | |
| goog.require('oops.core'); | |
| goog.require('oops.tools'); | |
| /** @preserve ###---> compiled main namespace starts here <---###*/var obj19575_19576 = ({"key": "val"}); | |
| (obj19575_19576["key"]); | |
| var obj19577_19578 = ({"key": "val"}); | |
| (obj19577_19578["xxx"]); |
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
| lein repl 16:23:39 | |
| nREPL server started on port 8230 on host 127.0.0.1 - nrepl://127.0.0.1:8230 | |
| REPL-y 0.3.7, nREPL 0.2.12 | |
| Clojure 1.8.0 | |
| Java HotSpot(TM) 64-Bit Server VM 1.8.0_60-b27 | |
| Docs: (doc function-name-here) | |
| (find-doc "part-of-name-here") | |
| Source: (source function-name-here) | |
| Javadoc: (javadoc java-object-or-class-here) | |
| Exit: Control+D or (exit) or (quit) |
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 zones.test | |
| (:require [zones.core :as zones :include-macros true])) | |
| (println "before:" (zones/get v)) | |
| (zones/binding [v "I'm a dynamically bound value in the default zone"] | |
| (println "inside:" (zones/get v)) | |
| (js/setTimeout (zones/bound-fn [] (println "in async call:" (zones/get v))) 500)) | |
| (println "after:" (zones/get v)) |
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 zones.tests.core | |
| (:refer-clojure :exclude [binding get set]) | |
| (:require [zones.core :refer [default-zone]]) | |
| (:require-macros [zones.core :refer [binding bound-fn*]])) | |
| ; -- helpers ---------------------------------------------------------------------------------------------------------------- | |
| (defn default-zone-str [] | |
| (pr-str default-zone)) |
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 devtools-sample.chrome-issue-611738) | |
| (defmacro m [] | |
| `(let [generated# "value2"])) |