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:

    <script src=“lib/onsenui/js/onsenui.js”></script>

  • Onsen UI

    @Thanh-Hai-Lai-Ho Hi!

    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 remove ons.bootstrap() because that function only makes sense for AngularJS.

  • Yeah, thank a lot !!!
    anythings ok…
    And NOW
    "Error: node is undefined

    return logFn.apply(console, args);"


Log in to reply