Add goog.string/format #118
Also add empty goog.string.format for Cljs compatibility
This commit is contained in:
parent
c039781058
commit
573233a420
1 changed files with 4 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
(:require [cljs.reader :refer [read-string]]
|
(:require [cljs.reader :refer [read-string]]
|
||||||
[goog.object :as gobject]
|
[goog.object :as gobject]
|
||||||
[goog.string :as gstring]
|
[goog.string :as gstring]
|
||||||
|
[goog.string.format]
|
||||||
[sci.core :as sci]
|
[sci.core :as sci]
|
||||||
[sci.ctx-store :as store]
|
[sci.ctx-store :as store]
|
||||||
[sci.impl.unrestrict]
|
[sci.impl.unrestrict]
|
||||||
|
|
@ -46,7 +47,9 @@
|
||||||
'abs (sci/copy-var abs cljns)}
|
'abs (sci/copy-var abs cljns)}
|
||||||
'goog.object {'set gobject/set
|
'goog.object {'set gobject/set
|
||||||
'get gobject/get}
|
'get gobject/get}
|
||||||
'goog.string {'htmlEscape gstring/htmlEscape}
|
'goog.string {'format gstring/format
|
||||||
|
'htmlEscape gstring/htmlEscape}
|
||||||
|
'goog.string.format {} ;; For cljs compatibility
|
||||||
'sci.core {'stacktrace sci/stacktrace
|
'sci.core {'stacktrace sci/stacktrace
|
||||||
'format-stacktrace sci/format-stacktrace}})
|
'format-stacktrace sci/format-stacktrace}})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue