I wrote a jasmine spec but failed to test it with local mag.js sources.
I modified specRunnder.html as
<!-- script src="//rawgit.com/magnumjs/mag.js/master/mag.min.js"></script -->
<script src="../src/fastdom.js"></script>
<script src="../src/mag.js"></script>
<script src="../src/fill.js"></script>
<script src="../src/render.js"></script>
<script src="../src/module.js"></script>
<script src="../src/utils.js"></script>
<script src="../src/mag.addons.0.2.js"></script>
<script src="../src/mag.comps.js"></script>
then I got most strange error at the line
var flag, promise = mag.module("lister", mod)
// TypeError: promise.then is not a function
I wonder whether the minified js is same as those files.
Well, could you let me know how to test, or maybe the process to minify?
I wrote a jasmine spec but failed to test it with local mag.js sources.
I modified specRunnder.html as
then I got most strange error at the line
I wonder whether the minified js is same as those files.
Well, could you let me know how to test, or maybe the process to minify?