Skip to content

Commit

Permalink
added setter for document.location [assaf#90]
Browse files Browse the repository at this point in the history
  • Loading branch information
boblail committed Feb 26, 2011
1 parent ee32b86 commit fc3c577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zombie/history.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ class Location
#
# document.location is same as window.location
html.HTMLDocument.prototype.__defineGetter__ "location", -> @parentWindow.location
html.HTMLDocument.prototype.__defineSetter__ "location", (value)-> @parentWindow.location = value


exports.History = History

0 comments on commit fc3c577

Please sign in to comment.