lib/browser/history.rb in isomorfeus-preact-10.6.50 vs lib/browser/history.rb in isomorfeus-preact-10.6.51
- old
+ new
@@ -5,9 +5,10 @@
alias_native :back
alias_native :forward
alias_native :go
native_reader :length
+ alias :size :length
def push_state(state, title = '', url = `null`)
`#@native.pushState(#{state.to_n}, #{title}, #{url})`
end