Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Fixes issue #838. This patch makes it possible to use loadDiv both with ... #840

Merged
merged 1 commit into from
Mar 26, 2015

Conversation

landabaso
Copy link
Contributor

This patch makes it possible to use loadDiv both with pushState routers and with internal AF router fixing issue #838.

loadDiv will now remove parameters (delimited in AF by a slash) only when those parameters come after a hash character. This way it is still possible to keep current AF functionality but still make it possible to be used with pushStateRouters simply calling loadDiv("path/subpath", ...)

For example: app.com/#panelid/option1/option2 will become -> app.com/#panelid
But: app.com/path/path2/path3 will still be -> app.com/path/path2/path3

I tested kitchen sink and loadDiv still correctly wipes the "/foo/bar/something" part when loading appframework-master/#afuidemo/foo/bar/something

…th with pushState routers and with internal AF router. loadDiv will now only remove parameters (delimited in AF by a slash) only when those parameters come after a hash character.
imaffett pushed a commit that referenced this pull request Mar 26, 2015
Fixes issue #838. This patch makes it possible to use loadDiv both with ...
@imaffett imaffett merged commit 8c4d65c into intel:master Mar 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants