Skip to content
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

simplify plugin run() arguments #58

Closed
sheppard opened this issue Dec 1, 2015 · 0 comments
Closed

simplify plugin run() arguments #58

sheppard opened this issue Dec 1, 2015 · 0 comments

Comments

@sheppard
Copy link
Member

sheppard commented Dec 1, 2015

Current:

myplugin.run = function(page, mode, itemid, url, parentInfo) {

Change to:

myplugin.run = function($page, routeInfo) {

Where $page is $.mobile.activePage and routeInfo contains a copy of router.info with all of the other information.

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

No branches or pull requests

1 participant