scroll to top on route

This commit is contained in:
Leo Horie 2014-06-18 06:46:50 -04:00
parent 4aad8619c5
commit 81f3367be9
2 changed files with 5 additions and 3 deletions

View file

@ -70,6 +70,7 @@ mock.window = new function() {
this.childNodes.splice(index, 1)
child.parentNode = null
}
window.scrollTo = function() {}
window.performance = new function () {
var timestamp = 50
this.$elapse = function(amount) {timestamp += amount}