Skip to content

Commit

Permalink
remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
smparkes committed Nov 24, 2009
1 parent 9f1124d commit 6194ed7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/html/element.js
Expand Up @@ -60,7 +60,6 @@ __extend__(HTMLElement.prototype, {
return __recursivelyGatherText__(this);
},
set innerText(newText){
this.innerHTML = "<div>"+newText+"</div>";
while(this.firstChild != null){
this.removeChild( this.firstChild );
}
Expand Down
6 changes: 2 additions & 4 deletions src/window/window.js
Expand Up @@ -135,10 +135,10 @@ __extend__($w,{
get status(){return $status;},
set status(_status){$status = _status;},
get top(){return $top || $window;},
get window(){return $window;},
get window(){return $window;} /*,
toString : function(){
return '[object Window]';
}
} FIX SMP */
});

$w.open = function(url, name, features, replace){
Expand Down Expand Up @@ -264,5 +264,3 @@ function __setArray__( target, array ) {
target.length = 0;
Array.prototype.push.apply( target, array );
};


0 comments on commit 6194ed7

Please sign in to comment.