Sha256: 0811a9e1d935107e544127140436e3ce3d79791fb8a39bb170de0b7fb3f7785d

Contents?: true

Size: 441 Bytes

Versions: 20

Compression:

Stored size: 441 Bytes

Contents

module Browser
  class History
    def back; end
    def forward; end
    def go(a); end

    def length
      0
    end
    alias :size :length

    def push_state(state, title = '', url = nil); end
    def replace_state(state, title = '', url = nil); end
    def scroll_restoration; end
    def scroll_restoration=(s); end

    def state
      {}
    end
  end
end

Isomorfeus.browser_history = Browser::History.new

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
isomorfeus-preact-10.9.0 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.8.2 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.8.1 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.8.0 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.7.3 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.7.2 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.7.1 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.7.0 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.62 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.61 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.60 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.59 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.58 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.57 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.56 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.55 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.54 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.53 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.52 lib/isomorfeus/preact/ssr/history.rb
isomorfeus-preact-10.6.51 lib/isomorfeus/preact/ssr/history.rb