We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the pubsub.io.js script is used on a page together with mootools, several errors are thrown.
Test page: http://pastebin.com/MDH01bu1
The text was updated successfully, but these errors were encountered:
Issue solved - needs discussion.
Line 385-401 must be changed to:
Object.ps_create = Object.ps_create || function (proto) { var C = function() {}; C.prototype = proto; return new C(); }; exports.extend = function(proto, fn) { var C = function() { proto.call(this); fn.apply(this, arguments); }; C.prototype = Object.ps_create(proto.prototype); return C; };
(or similar)
Mootools also defines Object.create, and something conflicts in this process. The above fix works
Sorry, something went wrong.
Fixed code formatting in above code example
Hey guys, do you have any input on this issue?
No branches or pull requests
When the pubsub.io.js script is used on a page together with mootools, several errors are thrown.
Test page: http://pastebin.com/MDH01bu1
The text was updated successfully, but these errors were encountered: