ons.bootstrap is not a function when I using onsenui.js v2.0.0-beta
-
Dir Fran Diox !!!
Now, I have a problem with onsenui.js version. and when i call 1 modal : "ReferenceError: modal is not defined"
But,when I using onsenui.js version 1.3.15, any things is good.
I have learned and follow api:
https://onsen.io/2/reference/ons-modal.html<script src=“lib/onsenui/js/onsenui.js”></script>
<script>
ons.bootstrap();
</script>
-
Are you planing to use AngularJS in your application? If that’s the case you should add AngularJS library and
angular-onsenui.js
extension. Otherwise, you need to removeons.bootstrap()
because that function only makes sense for AngularJS.
-
Yeah, thank a lot !!!
anythings ok…
And NOW
"Error: node is undefinedreturn logFn.apply(console, args);"
Lol…