chemerisuk / better-dom

Live extension playground
http://chemerisuk.github.io/better-dom/
MIT License
545 stars 35 forks source link

RequireJS error #14

Closed ghost closed 10 years ago

ghost commented 10 years ago

When better-dom.js gets loaded with RequireJS, it throws the following errors:

Uncaught TypeError: undefined is not a function – line 329
Uncaught TypeError: Object #<$Node> has no method 'ready' – line 176

What can we do about this?

chemerisuk commented 10 years ago

There was a dependency bug in DOM.ready. I pushed 1-line fix, but you'll need to wait for the next release. For now just include an additional <script> element with better-dom.js that will be removed when a new version will be published.

ghost commented 10 years ago

Great, thanks!

chemerisuk commented 10 years ago

So 1.7.3 is out with the simplified fix for the bug.

ghost commented 10 years ago

Thank you!