diff --git a/assets/scripts/travis.coffee b/assets/scripts/travis.coffee index 63ddb0f4..9efd3be2 100644 --- a/assets/scripts/travis.coffee +++ b/assets/scripts/travis.coffee @@ -6,18 +6,6 @@ require 'app' window.ENV ||= {} window.ENV.RAISE_ON_DEPRECATION = true -if window.history.state == undefined - window.history.state = {} - oldPushState = window.history.pushState - window.history.pushState = (state, title, href) -> - window.history.state = state - oldPushState.apply this, arguments - - oldReplaceState = window.history.replaceState - window.history.replaceState = (state, title, href) -> - window.history.state = state - oldReplaceState.apply this, arguments - # TODO: how can I put it in Travis namespace and use immediately? Storage = Em.Object.extend init: ->