We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffbdf90 commit 154b19aCopy full SHA for 154b19a
src/main/cljs/cljs/core.cljs
@@ -74,14 +74,16 @@
74
Strings which should be printed." :dynamic true}
75
*print-fn* nil)
76
77
+(declare boolean)
78
+
79
(defn ^{:doc "Arranges to have tap functions executed via the supplied f, a
80
function of no arguments. Returns true if successful, false otherwise." :dynamic true}
81
*exec-tap-fn*
82
[f]
83
(and
- (exists? js/setTimeout)
- (js/setTimeout f 0)
84
- true))
+ (exists? js/setTimeout)
85
+ ;; See CLJS-3274 - workaround for recent WebKit releases
86
+ (boolean (js/setTimeout f 0))))
87
88
(defonce
89
^{:doc "Each runtime environment provides a different way to print error output.
0 commit comments