cljsjs jquery rewrite in my clojurescript app -


my program built such following line works under simple compilation (e.g. figwheel):

(-> (js/jquery "document") (.ready #(.tooltip (js/jquery "[data-toggle='tooltip']")))) 

i need work under advanced compilation i've installed , required cljsjs/jquery. however, i'm not sure how rewrite above code utilize cljsjs. know (js/jquery.) returns thing, can .init, i'm flying in dark here. what's equivalent cljsjs version of working code above?

what works js/jquery "document" in simple compilation can, after including cljsjs/jquery done js/$ "document" . tooltips need cljsjs/bootstrap, however, after new line is:

(-> (js/$ "document") (.ready #(.tooltip (js/$ "[data-toggle='tooltip']")))) 

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -