prototype: Fix a failing test in base.html in Safari 2.
This commit is contained in:
parent
dbdeee63c2
commit
ffa744e4aa
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Fix a failing test in base.html in Safari 2. [Tobie Langel]
|
||||
|
||||
* Fix Element#positionedOffset and Element#getOffsetParent for static elements on IE. [Thomas Fuchs]
|
||||
|
||||
* Make sure event handlers and their wrappers are removed from the cache by Event.stopObserving. [sam, Severin Heiniger]
|
||||
|
|
|
@ -14,7 +14,6 @@ var Class = {
|
|||
if (Object.isFunction(parent)) {
|
||||
Class.extending = true;
|
||||
method.prototype = new parent();
|
||||
method.prototype.constructor = method;
|
||||
|
||||
parent.subclasses.push(method);
|
||||
|
||||
|
@ -22,6 +21,7 @@ var Class = {
|
|||
}
|
||||
|
||||
if (methods) Class.extend(method, methods);
|
||||
method.prototype.constructor = method;
|
||||
|
||||
return method;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue