New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url variable in the "page:fail" event #16

Closed
incubus opened this Issue May 26, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@incubus
Contributor

incubus commented May 26, 2013

Hi!

I'm always getting a value of undefined for url variable with this code.

$(document).off('page:fail').on(
'page:fail'
(event, $target, status, url, error) ->
console.log("Wiselinks status: '#{status}'")
console.log("Wiselinks url: '#{url}'")
)

Here is console log:

Wiselinks status: 'error'
Wiselinks url: 'undefined'

@incubus

This comment has been minimized.

Contributor

incubus commented May 26, 2013

Same problem with 'page:done' event.

@incubus incubus referenced this issue May 26, 2013

Merged

Fix typo #17

@incubus incubus closed this May 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment