David Nolen <[email protected]> writes:

> There is a dist folder in that project which supplies JavaScript you can
> include in the usual way.

Hm, so I don't know what "the usual way" is.  I tried loading it in an
HTML file like so:

<html>
    <body>
        <div id="content"></div>
        <script src="out/goog/base.js" type="text/javascript"></script>
        <script src="reactabular.js" type="text/javascript"></script>
        <script src="../../target/table/main.js" 
type="text/javascript"></script>
        <script 
type="text/javascript">goog.require("examples.table.core");</script>
    </body>
</html>

That gives me:

TypeError: _ is undefined

... for this bit of code at the very beginning:

var _ = __webpack_require__(2);
        
var merge = _.merge;
            ^

Am I missing some "webpack scaffolding" (or boilerplate)?

-- 
Regards,
Mike

-- 
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