Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn refs [^js component]
- (.-refs component))
- (defn get-table [^js refs]
- (.-main refs))
- (defn home-did-mount [^js this]
- (.DataTable
- (-> this refs get-table js/$)
- (clj->js
- {:columns columns
- :data data
- :responsive true})))
- ---
- Figwheel: Compile Warning - Adding extern to Object for property refs due to ambiguous expression (. component -refs)
- Figwheel: Compile Warning - Adding extern to Object for property main due to ambiguous expression (. refs -main)
- Figwheel: Compile Warning - Adding extern to Object for property DataTable due to ambiguous expression (. (-> this refs get-table js/$) DataTable (clj->js {:columns columns, :data data, :responsive true}))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement