Browse Source

fix: lint

Tienson Qin 3 months ago
parent
commit
cb65cb88a3
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/main/frontend/util.cljc

+ 0 - 4
src/main/frontend/util.cljc

@@ -167,10 +167,6 @@
                     (not (mobile-util/native-platform?))))
      (def web-platform? nfs?)
      (def plugin-platform? (or (and web-platform? (not common-config/PUBLISHING)) (electron?)))))
-#?(:cljs
-   (defn file-protocol?
-     []
-     (string/starts-with? js/window.location.href "file://")))
 
 #?(:cljs
    (def format common-util/format))