File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 8181 new-formatters-js (if (empty? new-formatters) nil (into-array new-formatters))]
8282 (set-formatters-safe! new-formatters-js)))
8383
84- (defn display-formatters-removal-warning! []
85- (let [console (context/get-console )]
86- (.warn console (str " Custom formatters are likely to be removed from future Chrome. "
87- " Enabling them is no longer sticky since Chrome 84. "
88- " Please follow the issue here: https://github.com/binaryage/cljs-devtools/issues/55" ))))
89-
9084; -- installation -----------------------------------------------------------------------------------------------------------
9185
9286(defn installed? []
9589(defn install! []
9690 (when-not *installed*
9791 (set! *installed* true )
98- (if-not (prefs/pref :dont-display-formatters-removal-warning )
99- (display-formatters-removal-warning! ))
10092 (install-our-formatter! (build-cljs-formatter ))
10193 true ))
10294
You can’t perform that action at this time.
0 commit comments