Global js functions are called from js namespace for example (js/alert 
"hello"), so (js/sweetAlert "Test!") should work.

I think in development mode with figwheel, you don't need to care about some 
special build options and externs - it will be necessary only for production 
for compilation with advanced optimizations.

Do you have the js library included in your (SPA starter) html page 
(index.html/home.html) as mentioned at http://t4t5.github.io/sweetalert/:

<script src="dist/sweetalert.min.js"></script>
<link rel="stylesheet" type="text/css" href="dist/sweetalert.css">

?

It assumes that the sweetalert.min.js and css files are placed in 
resources/public/dist/....

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to