Skip to content

Commit 52e4efe

Browse files
committed
Revert "formatters: when installing, display a warning related to issue 55"
This reverts commit 76a76f8.
1 parent c4a26e1 commit 52e4efe

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/lib/devtools/formatters.cljs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@
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? []
@@ -95,8 +89,6 @@
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

0 commit comments

Comments
 (0)