Sha256: 14c9c753d3a3cc5798988b1786c1ab95a1f81a6998807e7d8994ffaa0ce2d79d

Contents?: true

Size: 538 Bytes

Versions: 22

Compression:

Stored size: 538 Bytes

Contents

module React
  class Router
    class History
      include Native

      def self.current
        new(`History`)
      end

      def initialize(native)
        @native = native
      end

      def to_n
        @native
      end

      alias_native :create_browser_history, :createBrowserHistory
      alias_native :create_hash_history, :createHashHistory
      alias_native :create_location, :createLocation
      alias_native :create_memory_history, :createMemoryHistory
      alias_native :create_path, :createPath
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
hyper-router-1.0.alpha1.5 lib/react/router/history.rb
hyper-router-1.0.alpha1.4 lib/react/router/history.rb
hyper-router-0.99.6 lib/react/router/history.rb
hyper-router-1.0.alpha1.3 lib/react/router/history.rb
hyper-router-0.99.5 lib/react/router/history.rb
hyper-router-0.99.4 lib/react/router/history.rb
hyper-router-1.0.alpha1.2 lib/react/router/history.rb
hyper-router-1.0.alpha1.1 lib/react/router/history.rb
hyper-router-1.0.alpha1 lib/react/router/history.rb
hyper-router-0.99.3 lib/react/router/history.rb
hyper-router-0.99.2 lib/react/router/history.rb
hyper-router-0.99.1 lib/react/router/history.rb
hyper-router-4.2.6.lap28 lib/react/router/history.rb
hyper-router-4.2.6.lap27 lib/react/router/history.rb
hyper-router-4.2.6.lap26 lib/react/router/history.rb
hyper-router-4.2.6.lap25 lib/react/router/history.rb
hyper-router-4.2.6.lap24 lib/react/router/history.rb
hyper-router-4.2.6.lap23 lib/react/router/history.rb
hyper-router-4.2.6.lap22 lib/react/router/history.rb
hyper-router-4.1.1 lib/react/router/history.rb