in app, send location.href on init (fixes #352)

This commit is contained in:
rlx 2012-02-05 03:10:26 +00:00
parent 215013e7c8
commit 63a6bf2cb8

View file

@ -50,6 +50,9 @@ Ox.App = function(options) {
history: { history: {
length: history.length length: history.length
}, },
location: {
href: location.href
},
navigator: { navigator: {
cookieEnabled: navigator.cookieEnabled, cookieEnabled: navigator.cookieEnabled,
plugins: Ox.makeArray(navigator.plugins).map(function(plugin) { plugins: Ox.makeArray(navigator.plugins).map(function(plugin) {