Saturday, 28 September 2013

Bootstrap datepicker not working after build in Durandal 2.0

Bootstrap datepicker not working after build in Durandal 2.0

After building main-built.js with 'weyland build' my durandal application
fails with 'object doesn't support property or method 'datepicker''. If I
run the app with <script src="lib/require/require.js"
data-main="app/main"> everything is just fine, but if I run from
main-built.js the application stops working after navigating to a page
with bootstrap datepicker.
Can someone help me on this one?

No comments:

Post a Comment