Displaying 2 results from an estimated 2 matches for "numinalab".
Did you mean:
numinalabs
2005 Aug 10
0
questions about extend
...omevar = somevar;
}
}
var SubClass = Class.create();
SubClass.prototype = (new SuperClass()).extend({
initialize: function(somevar, anothervar){
super.initialize(somevar); //extend super class'' function here
this.anothervar = anothervar;
}
});
--
Ryan P. Miller
ryan@numinalabs.com
2005 Aug 10
2
extend question
...prototype = {
initialize: function(){
this.varA = '''';
this.varB = '''';
}
}
SubClass = Class.create();
SubClass.prototype = (new SuperClass()).extend({
initialize: function(somevar) {
this.somevar = somevar;
}
});
--
Ryan P. Miller
ryan@numinalabs.com