Skip to content

firefox decode slash #11

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

Merged
merged 2 commits into from
Apr 18, 2015
Merged

Conversation

cryogenian
Copy link
Member

fixes #10

var currentHash = document.location.hash;
handler("")(currentHash)();
var getHash = function() {return document.location.href.split('#')[1] || '';};
window['__oldHash'] = "";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think it might be better to keep this as a private local variable instead? Could define hashChanged as something like:

var hashChanged = (function () {
  var oldHash = "";
  return function (handler) {
    ...
  };
}());

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed

@cryogenian
Copy link
Member Author

@garyb acceptable?

@garyb
Copy link
Member

garyb commented Apr 17, 2015

👍

@cryogenian
Copy link
Member Author

So, will I merge it?

jdegoes added a commit that referenced this pull request Apr 18, 2015
@jdegoes jdegoes merged commit 1e7cf56 into purescript-contrib:master Apr 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Firefox uri problem
3 participants