UNPKG

@atomist/clj-editors

Version:

We build a node module `@atomist/clj-editors` here. This allows us to construct clojure editors using `rewrite-cljs`. After adding this dependency, the node application will have access to javascript functions transpiled from clojurescript.

1 lines 16.5 kB
["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$RegExp",["^ "],"~$Error",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",["~$reverse","~$replace"]],"~:name","~$clojure.string","~:imports",["^ ","~$StringBuffer","~$goog.string.StringBuffer"],"~:requires",["^ ","~$gstring","~$goog.string","^A","^A","^=","^>"],"~:uses",null,"~:defs",["^ ","~$ends-with?",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/Users/slim/repo/clj-editors/out/clojure/string.cljs","~:line",252,"~:column",16,"~:end-line",252,"~:end-column",26,"~:tag","~$boolean","~:arglists",["~#list",["~$quote",["^O",[["~$s","~$substr"]]]]],"~:doc","True if s ends with substr."],"^:","~$clojure.string/ends-with?","~:variadic",false,"^G","out/clojure/string.cljs","^K",26,"~:method-params",["^O",[["~$s","^Q"]]],"~:protocol-impl",null,"~:arglists-meta",["^O",[null,null]],"^I",1,"^H",252,"~:ret-tag","^M","^J",252,"~:max-fixed-arity",2,"^L","^M","~:fn-var",true,"^N",["^O",["^P",["^O",[["~$s","^Q"]]]]],"^R","True if s ends with substr."],"~$seq-reverse",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",14,"^I",8,"^J",14,"^K",19,"~:private",true,"^N",["^O",["^P",["^O",[["~$coll"]]]]]],"^10",true,"^:","~$clojure.string/seq-reverse","^T",false,"^G","out/clojure/string.cljs","^K",19,"^U",["^O",[["^11"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",14,"^J",14,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["^11"]]]]]],"~$replace-with",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",36,"^I",8,"^J",36,"^K",20,"^10",true,"^N",["^O",["^P",["^O",[["~$f"]]]]]],"^10",true,"^:","~$clojure.string/replace-with","^T",false,"^G","out/clojure/string.cljs","^K",20,"^U",["^O",[["~$f"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",36,"^J",36,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$f"]]]]]],"~$capitalize",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",100,"^I",7,"^J",100,"^K",17,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Converts first character of the string to upper-case, all other\n characters to lower-case."],"^:","~$clojure.string/capitalize","^T",false,"^G","out/clojure/string.cljs","^K",17,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",100,"^J",100,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Converts first character of the string to upper-case, all other\n characters to lower-case."],"^8",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",21,"^I",7,"^J",21,"^K",14,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Returns s with its characters reversed."],"^:","~$clojure.string/reverse","^T",false,"^G","out/clojure/string.cljs","^K",14,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",21,"^J",21,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Returns s with its characters reversed."],"~$join",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",71,"^I",7,"^J",71,"^K",11,"^N",["^O",["^P",["^O",[["^11"],["~$separator","^11"]]]]],"^R","Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator.","~:top-fn",["^ ","^T",false,"^Y",2,"^U",["^O",[["^11"],["^19","^11"]]],"^N",["^O",[["^11"],["^19","^11"]]],"^W",["^O",[null,null]]]],"^:","~$clojure.string/join","^T",false,"^G","out/clojure/string.cljs","^K",11,"^1:",["^ ","^T",false,"^Y",2,"^U",["^O",[["^11"],["^19","^11"]]],"^N",["^O",[["^11"],["^19","^11"]]],"^W",["^O",[null,null]]],"^U",["^O",[["^11"],["^19","^11"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",71,"^J",71,"^Y",2,"^Z",true,"^N",["^O",[["^11"],["^19","^11"]]],"^R","Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator."],"~$replace-first",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",62,"^I",7,"^J",62,"^K",20,"^N",["^O",["^P",["^O",[["~$s","~$match","~$replacement"]]]]],"^R","Replaces the first instance of match with replacement in s.\n match/replacement can be:\n\n string / string\n pattern / (string or function of match)."],"^:","~$clojure.string/replace-first","^T",false,"^G","out/clojure/string.cljs","^K",20,"^U",["^O",[["~$s","^1=","^1>"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",62,"^J",62,"^Y",3,"^Z",true,"^N",["^O",["^P",["^O",[["~$s","^1=","^1>"]]]]],"^R","Replaces the first instance of match with replacement in s.\n match/replacement can be:\n\n string / string\n pattern / (string or function of match)."],"~$starts-with?",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",247,"^I",16,"^J",247,"^K",28,"^L","^M","^N",["^O",["^P",["^O",[["~$s","^Q"]]]]],"^R","True if s starts with substr."],"^:","~$clojure.string/starts-with?","^T",false,"^G","out/clojure/string.cljs","^K",28,"^U",["^O",[["~$s","^Q"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",247,"^X","^M","^J",247,"^Y",2,"^L","^M","^Z",true,"^N",["^O",["^P",["^O",[["~$s","^Q"]]]]],"^R","True if s starts with substr."],"~$escape",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",200,"^I",7,"^J",200,"^K",13,"^N",["^O",["^P",["^O",[["~$s","~$cmap"]]]]],"^R","Return a new string, using cmap to escape each character ch\n from s as follows:\n\n If (cmap ch) is nil, append ch to the new string.\n If (cmap ch) is non-nil, append (str (cmap ch)) instead."],"^:","~$clojure.string/escape","^T",false,"^G","out/clojure/string.cljs","^K",13,"^U",["^O",[["~$s","^1C"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",200,"^J",200,"^Y",2,"^Z",true,"^N",["^O",["^P",["^O",[["~$s","^1C"]]]]],"^R","Return a new string, using cmap to escape each character ch\n from s as follows:\n\n If (cmap ch) is nil, append ch to the new string.\n If (cmap ch) is non-nil, append (str (cmap ch)) instead."],"~$replace-all",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",27,"^I",8,"^J",27,"^K",19,"^10",true,"^N",["^O",["^P",["^O",[["~$s","~$re","^1>"]]]]]],"^10",true,"^:","~$clojure.string/replace-all","^T",false,"^G","out/clojure/string.cljs","^K",19,"^U",["^O",[["~$s","^1F","^1>"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",27,"^J",27,"^Y",3,"^Z",true,"^N",["^O",["^P",["^O",[["~$s","^1F","^1>"]]]]]],"~$discard-trailing-if-needed",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",122,"^I",8,"^J",122,"^K",34,"^10",true,"^N",["^O",["^P",["^O",[["~$limit","~$v"]]]]]],"^10",true,"^:","~$clojure.string/discard-trailing-if-needed","^T",false,"^G","out/clojure/string.cljs","^K",34,"^U",["^O",[["^1I","~$v"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",122,"^J",122,"^Y",2,"^Z",true,"^N",["^O",["^P",["^O",[["^1I","~$v"]]]]]],"~$last-index-of",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",233,"^I",7,"^J",233,"^K",20,"^N",["^O",["^P",["^O",[["~$s","~$value"],["~$s","^1L","~$from-index"]]]]],"^R","Return last index of value (string or char) in s, optionally\n searching backward from from-index or nil if not found.","^1:",["^ ","^T",false,"^Y",3,"^U",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^N",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^W",["^O",[null,null]]]],"^:","~$clojure.string/last-index-of","^T",false,"^G","out/clojure/string.cljs","^K",20,"^1:",["^ ","^T",false,"^Y",3,"^U",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^N",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^W",["^O",[null,null]]],"^U",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",233,"^J",233,"^Y",3,"^Z",true,"^N",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^R","Return last index of value (string or char) in s, optionally\n searching backward from from-index or nil if not found."],"~$pop-last-while-empty",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",115,"^I",8,"^J",115,"^K",28,"^10",true,"^N",["^O",["^P",["^O",[["~$v"]]]]]],"^10",true,"^:","~$clojure.string/pop-last-while-empty","^T",false,"^G","out/clojure/string.cljs","^K",28,"^U",["^O",[["~$v"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",115,"^J",115,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$v"]]]]]],"~$includes?",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",257,"^I",16,"^J",257,"^K",25,"^L","^M","^N",["^O",["^P",["^O",[["~$s","^Q"]]]]],"^R","True if s includes substr."],"^:","~$clojure.string/includes?","^T",false,"^G","out/clojure/string.cljs","^K",25,"^U",["^O",[["~$s","^Q"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",257,"^X","^M","^J",257,"^Y",2,"^L","^M","^Z",true,"^N",["^O",["^P",["^O",[["~$s","^Q"]]]]],"^R","True if s includes substr."],"^9",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",44,"^I",7,"^J",44,"^K",14,"^N",["^O",["^P",["^O",[["~$s","^1=","^1>"]]]]],"^R","Replaces all instance of match with replacement in s.\n match/replacement can be:\n\n string / string\n pattern / (string or function of match)."],"^:","~$clojure.string/replace","^T",false,"^G","out/clojure/string.cljs","^K",14,"^U",["^O",[["~$s","^1=","^1>"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",44,"^J",44,"^Y",3,"^Z",true,"^N",["^O",["^P",["^O",[["~$s","^1=","^1>"]]]]],"^R","Replaces all instance of match with replacement in s.\n match/replacement can be:\n\n string / string\n pattern / (string or function of match)."],"~$split-lines",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",162,"^I",7,"^J",162,"^K",18,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Splits s on \n or \r\n."],"^:","~$clojure.string/split-lines","^T",false,"^G","out/clojure/string.cljs","^K",18,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",162,"^J",162,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Splits s on \n or \r\n."],"~$lower-case",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",95,"^I",7,"^J",95,"^K",17,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Converts string to all lower-case."],"^:","~$clojure.string/lower-case","^T",false,"^G","out/clojure/string.cljs","^K",17,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",95,"^J",95,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Converts string to all lower-case."],"~$trim-newline",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",182,"^I",7,"^J",182,"^K",19,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Removes all trailing newline \\n or return \\r characters from\n string. Similar to Perl's chomp."],"^:","~$clojure.string/trim-newline","^T",false,"^G","out/clojure/string.cljs","^K",19,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",182,"^J",182,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Removes all trailing newline \\n or return \\r characters from\n string. Similar to Perl's chomp."],"~$upper-case",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",90,"^I",7,"^J",90,"^K",17,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Converts string to all upper-case."],"^:","~$clojure.string/upper-case","^T",false,"^G","out/clojure/string.cljs","^K",17,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",90,"^J",90,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Converts string to all upper-case."],"~$split",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",138,"^I",7,"^J",138,"^K",12,"^N",["^O",["^P",["^O",[["~$s","^1F"],["~$s","^1F","^1I"]]]]],"^R","Splits string on a regular expression. Optional argument limit is\n the maximum number of splits. Not lazy. Returns vector of the splits.","^1:",["^ ","^T",false,"^Y",3,"^U",["^O",[["~$s","^1F"],["~$s","^1F","^1I"]]],"^N",["^O",[["~$s","^1F"],["~$s","^1F","^1I"]]],"^W",["^O",[null,null]]]],"^:","~$clojure.string/split","^T",false,"^G","out/clojure/string.cljs","^K",12,"^1:",["^ ","^T",false,"^Y",3,"^U",["^O",[["~$s","^1F"],["~$s","^1F","^1I"]]],"^N",["^O",[["~$s","^1F"],["~$s","^1F","^1I"]]],"^W",["^O",[null,null]]],"^U",["^O",[["~$s","^1F"],["~$s","^1F","^1I"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",138,"^J",138,"^Y",3,"^Z",true,"^N",["^O",[["~$s","^1F"],["~$s","^1F","^1I"]]],"^R","Splits string on a regular expression. Optional argument limit is\n the maximum number of splits. Not lazy. Returns vector of the splits."],"~$trimr",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",177,"^I",7,"^J",177,"^K",12,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Removes whitespace from the right side of string."],"^:","~$clojure.string/trimr","^T",false,"^G","out/clojure/string.cljs","^K",12,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",177,"^J",177,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Removes whitespace from the right side of string."],"~$index-of",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",219,"^I",7,"^J",219,"^K",15,"^N",["^O",["^P",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]]]],"^R","Return index of value (string or char) in s, optionally searching\n forward from from-index or nil if not found.","^1:",["^ ","^T",false,"^Y",3,"^U",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^N",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^W",["^O",[null,null]]]],"^:","~$clojure.string/index-of","^T",false,"^G","out/clojure/string.cljs","^K",15,"^1:",["^ ","^T",false,"^Y",3,"^U",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^N",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^W",["^O",[null,null]]],"^U",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",219,"^J",219,"^Y",3,"^Z",true,"^N",["^O",[["~$s","^1L"],["~$s","^1L","^1M"]]],"^R","Return index of value (string or char) in s, optionally searching\n forward from from-index or nil if not found."],"~$trim",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",167,"^I",7,"^J",167,"^K",11,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Removes whitespace from both ends of string."],"^:","~$clojure.string/trim","^T",false,"^G","out/clojure/string.cljs","^K",11,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",167,"^J",167,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Removes whitespace from both ends of string."],"~$triml",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",172,"^I",7,"^J",172,"^K",12,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Removes whitespace from the left side of string."],"^:","~$clojure.string/triml","^T",false,"^G","out/clojure/string.cljs","^K",12,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",172,"^J",172,"^Y",1,"^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","Removes whitespace from the left side of string."],"~$blank?",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",195,"^I",16,"^J",195,"^K",22,"^L","^M","^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","True is s is nil, empty, or contains only whitespace."],"^:","~$clojure.string/blank?","^T",false,"^G","out/clojure/string.cljs","^K",22,"^U",["^O",[["~$s"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",195,"^X","^M","^J",195,"^Y",1,"^L","^M","^Z",true,"^N",["^O",["^P",["^O",[["~$s"]]]]],"^R","True is s is nil, empty, or contains only whitespace."],"~$re-surrogate-pair",["^ ","^:","~$clojure.string/re-surrogate-pair","^G","out/clojure/string.cljs","^H",18,"^I",1,"^J",18,"^K",33,"^10",true,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",18,"^I",16,"^J",18,"^K",33,"^10",true],"^L","~$js/RegExp"],"~$split-with-empty-regex",["^ ","^E",null,"^F",["^ ","^G","/Users/slim/repo/clj-editors/out/clojure/string.cljs","^H",128,"^I",8,"^J",128,"^K",30,"^10",true,"^N",["^O",["^P",["^O",[["~$s","^1I"]]]]]],"^10",true,"^:","~$clojure.string/split-with-empty-regex","^T",false,"^G","out/clojure/string.cljs","^K",30,"^U",["^O",[["~$s","^1I"]]],"^V",null,"^W",["^O",[null,null]],"^I",1,"^H",128,"^J",128,"^Y",2,"^Z",true,"^N",["^O",["^P",["^O",[["~$s","^1I"]]]]]]],"~:require-macros",null,"~:cljs.analyzer/constants",["^ ","~:seen",["^7",["~:else"]],"~:order",["^2D"]],"^R",null]