File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 66 [cljs.pprint :as pprint]
77 [js-literal-ns :as js-literal]
88 [keyword-ns :as kw]
9- [clojure.set :as set])
9+ [clojure.set :as set]
10+ [" react" :as react]
11+ [" underscore$default" :as underscore]
12+ [" react-UNUSED" :as react-unused]
13+ [" underscore-UNUSEd$default" :as underscore-unused])
1014 (:require-macros [cljs.test :refer [testing]]
1115 [cljs.analyzer.macros :as am]
1216 cljs.analyzer.api)
1822 (set/intersection #{1 2 } #{1 })
1923 (split-lines " ok" ))
2024
25+ (defn use-string-requires
26+ " Uses string requires as found in the ns declaration.
27+
28+ Does not use the stuff marked as UNUSED, which therefore should be removed."
29+ []
30+ (react/foo underscore/bar))
31+
2132(deftest tt
2233 (testing " whatever"
2334 (is (= 1 1 ))))
Original file line number Diff line number Diff line change 11(ns cljsns
2- (:require [cljs.pprint :as pprint]
2+ (:require [" react" :as react]
3+ [" underscore$default" :as underscore]
4+ [cljs.pprint :as pprint]
35 [cljs.test :refer-macros [deftest is]]
46 [cljsjs.js-yaml]
57 [clojure.set :as set]
You can’t perform that action at this time.
0 commit comments