Advertisement
Guest User

Untitled

a guest
Apr 25th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn refs [^js component]
  2.   (.-refs component))
  3.  
  4. (defn get-table [^js refs]
  5.   (.-main refs))
  6.  
  7. (defn home-did-mount [^js this]
  8.   (.DataTable
  9.    (-> this refs get-table js/$)
  10.    (clj->js
  11.     {:columns columns
  12.      :data data
  13.      :responsive true})))
  14.  
  15.  
  16. ---
  17. Figwheel: Compile Warning - Adding extern to Object for property refs due to ambiguous expression (. component -refs)
  18. Figwheel: Compile Warning - Adding extern to Object for property main due to ambiguous expression (. refs -main)
  19. 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