What steps will reproduce the problem?
1. base2.DOM.bind(document)
2.
3.
What is the expected output? What do you see instead?
var aa = document.querySelector('script'); should be extended, but it isn't,
becouse querySelector ain't overriden.
What version of the product are you using? On what operating system?
1.1 (alpha). W7x64
Please provide any additional information below.
var Binding = Interface.extend(null, {... should contain extend method
var Binding = Interface.extend(null, {
extend: function(_interface, _static) {
if (_static && _static.bind != Function.bind) {
var bind = _static.bind;
delete _static.bind;
}
var binding = this.base(_interface, _static);
binding.bind = this.bind;
if (bind) extend(binding, "bind", bind);
return binding;
},
bind: function(object) {
// Add methods
return extend(object, this.prototype);
}
}); should be the working verision.
Original issue reported on code.google.com by daniel.t...@gmail.com on 24 Oct 2011 at 6:50
Original issue reported on code.google.com by
daniel.t...@gmail.com
on 24 Oct 2011 at 6:50