Advertisement
Guest User

Untitled

a guest
Apr 25th, 2020
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---- Compiler Warning on src/cljs/bigboard/core.cljs line:380 column:4 ----
  2.  
  3. Cannot infer target type in expression (. this -refs)
  4.  
  5. 376 {:ref "main" :width "100%"}]])
  6. 377
  7. 378 (defn home-did-mount [this]
  8. 379 (.DataTable
  9. 380 (-> this .-refs .-main js/$)
  10. ^--- Cannot infer target type in expression (. this -refs)
  11. 381 (clj->js
  12. 382 {:columns columns
  13. 383 :data data
  14. 384 :responsive true})))
  15.  
  16. ---- Compiler Warning : Please see src/cljs/bigboard/core.cljs ----
  17.  
  18. ---- Compiler Warning on src/cljs/bigboard/core.cljs line:380 column:4 ----
  19.  
  20. Cannot infer target type in expression (. (.-refs this) -main)
  21.  
  22. 376 {:ref "main" :width "100%"}]])
  23. 377
  24. 378 (defn home-did-mount [this]
  25. 379 (.DataTable
  26. 380 (-> this .-refs .-main js/$)
  27. ^--- Cannot infer target type in expression (. (.-refs this) -main)
  28. 381 (clj->js
  29. 382 {:columns columns
  30. 383 :data data
  31. 384 :responsive true})))
  32.  
  33. ---- Compiler Warning : Please see src/cljs/bigboard/core.cljs ----
  34.  
  35. ---- Compiler Warning on src/cljs/bigboard/core.cljs line:379 column:3 ----
  36.  
  37. Adding extern to Object for property DataTable due to ambiguous expression (. (-> this .-refs .-main js/$) DataTable (clj->js {:columns columns, :data data, :responsive true}))
  38.  
  39. 375 [:table.ui.celled.table
  40. 376 {:ref "main" :width "100%"}]])
  41. 377
  42. 378 (defn home-did-mount [this]
  43. 379 (.DataTable
  44. ^--- Adding extern to Object for property DataTable due to ambiguous expression (. (-> this .-refs .-main js/$) DataTable (clj->js {:columns columns, :data data, :responsive true}))
  45. 380 (-> this .-refs .-main js/$)
  46. 381 (clj->js
  47. 382 {:columns columns
  48. 383 :data data
  49. 384 :responsive true})))
  50.  
  51. ---- Compiler Warning : Please see src/cljs/bigboard/core.cljs ----
  52.  
  53. ---- Compiler Warning on src/cljs/bigboard/core.cljs line:389 column:5 ----
  54.  
  55. Adding extern to Object for property find due to ambiguous expression (. (js/$ ".dataTables_wrapper") find "table")
  56.  
  57. 386 (defn home-will-unmount [this]
  58. 387 (.destroy
  59. 388 (.DataTable
  60. 389 (.find
  61. ^--- Adding extern to Object for property find due to ambiguous expression (. (js/$ ".dataTables_wrapper") find "table")
  62. 390 (js/$ ".dataTables_wrapper")
  63. 391 "table"))
  64. 392 true))
  65. 393
  66. 394 (defn home []
  67.  
  68. ---- Compiler Warning : Please see src/cljs/bigboard/core.cljs ----
  69.  
  70. ---- Compiler Warning on src/cljs/bigboard/core.cljs line:388 column:4 ----
  71.  
  72. Adding extern to Object for property DataTable due to ambiguous expression (. (.find (js/$ ".dataTables_wrapper") "table") DataTable)
  73.  
  74. 384 :responsive true})))
  75. 385
  76. 386 (defn home-will-unmount [this]
  77. 387 (.destroy
  78. 388 (.DataTable
  79. ^--- Adding extern to Object for property DataTable due to ambiguous expression (. (.find (js/$ ".dataTables_wrapper") "table") DataTable)
  80. 389 (.find
  81. 390 (js/$ ".dataTables_wrapper")
  82. 391 "table"))
  83. 392 true))
  84.  
  85. ---- Compiler Warning : Please see src/cljs/bigboard/core.cljs ----
  86.  
  87. ---- Compiler Warning on src/cljs/bigboard/core.cljs line:387 column:3 ----
  88.  
  89. Adding extern to Object for property destroy due to ambiguous expression (. (.DataTable (.find (js/$ ".dataTables_wrapper") "table")) destroy true)
  90.  
  91. 383 :data data
  92. 384 :responsive true})))
  93. 385
  94. 386 (defn home-will-unmount [this]
  95. 387 (.destroy
  96. ^--- Adding extern to Object for property destroy due to ambiguous expression (. (.DataTable (.find (js/$ ".dataTables_wrapper") "table")) destroy true)
  97. 388 (.DataTable
  98. 389 (.find
  99. 390 (js/$ ".dataTables_wrapper")
  100. 391 "table"))
  101. 392 true))
  102.  
  103. ---- Compiler Warning : Please see src/cljs/bigboard/core.cljs ----
  104.  
  105. ---- Compiler Warning on src/cljs/bigboard/core.cljs line:427 column:49 ----
  106.  
  107. Cannot infer target type in expression (. event -token)
  108.  
  109. 423 (doto (History.)
  110. 424 (events/listen
  111. 425 HistoryEventType/NAVIGATE
  112. 426 (fn [event]
  113. 427 (swap! session assoc :page (match-route (.-token event)))))
  114. ^--- Cannot infer target type in expression (. event -token)
  115. 428 (.setEnabled true)))
  116. 429
  117. 430 ;; -------------------------
  118. 431 ;; Initialize app
  119.  
  120. ---- Compiler Warning : Please see src/cljs/bigboard/core.cljs ----
  121.  
  122. S
Advertisement
RAW Paste Data Copied
Advertisement