prototype: Fix a failing test in base.html in Safari 2.

This commit is contained in:
Sam Stephenson 2007-08-11 01:36:20 +00:00
parent dbdeee63c2
commit ffa744e4aa
2 changed files with 3 additions and 1 deletions

View File

@ -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]

View File

@ -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;
},