New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V4: Uncaught ReferenceError #1047
Comments
Some extra information : The problem is visible on the "Dashboard" example. Using the same template for my website, is this any "patch" I can use to resolve this issue ? |
Thank you for the quick answer. |
I have tried to compile the documentation with the latest commit of I'm closing it for now, feel free to open it again if you still reproduce the problem. |
It works like a charm, thank you ! |
Yea! 👍 |
Right now i stuck from morning in app development I am pointing my application to can you share link where js is working where the above issue is not produced. |
In not sure the dist file are updated |
can you help to to build from your source to build material-design.iife.min.js so that our development do not affect |
Are you using the v3 or the v4 version? The link you provided is for the v3. Or better, the file name is of the v4, but the URL points to the V3 branch.. Where did you get that URL? |
we are using v4 . In v4 documentation http://rosskevin.github.io/bootstrap-material-design/getting-started/introduction/ even documentaion pages are also getting same above error. |
Ok then it's a problem with the build we had before this PR was closed. I don't know how @rosskevin published the v4 source on the above URL but probably we need to update it somehow. I think it's better to not rely on the CDN until the V4 release is out and our CDN are properly configured. Download the source with any of the supported package managers and compile it by yourself. |
Bootstrap Material Design - branch v4-dev - build 2016.08.03 12.07pm (Belgian Time) |
@llhoir thanks for sharing link |
The latest dist commit is broken based on unresolved Bootstrap sources. @FezVrasta if it builds as is I can publish again. |
Yes right now the build is working 👍 |
I ran |
@rosskevin may you give me write access to the repo so I can update it by myself when needed? |
done, most of my setup docs are here http://rosskevin.github.io/bootstrap-material-design/getting-started/building/ |
I have also fixed the CDN URLs of this page: |
All distributables are pushed here: Pointing others to a gh-pages is a bad idea I think. |
general issue => also occurs official website :
http://rosskevin.github.io/bootstrap-material-design/examples/dashboard/
Test Case
http://codepen.io/rosskevin/pen/eJMMVB
Summary
Execution error :
More specifically (using bootstrap-material-design.iife.js in place of bootstrap-material-design.iife.min.js )
polyfill.js:1Uncaught ReferenceError: require is not defined e @ polyfill.js:1 (anonymous function) @ polyfill.js:1 createCommonjsModule @ bootstrap-material-design.iife.js:12 (anonymous function) @ bootstrap-material-design.iife.js:94 (anonymous function) @ bootstrapMaterialDesign.js:205
Expected result
Script is not working ...
Additional Information
This problem happens since today.
The text was updated successfully, but these errors were encountered: