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

path 0.0 #20

Open
dreanmer opened this issue Mar 5, 2014 · 3 comments
Open

path 0.0 #20

dreanmer opened this issue Mar 5, 2014 · 3 comments

Comments

@dreanmer
Copy link

dreanmer commented Mar 5, 2014

if the path is 0.0 your item.data('path') will return 0 instead of 0.0 change to item.attr('data-path') solves the problem.

if you want a try:

[{"name":"html","type":"find","filter":".image-additional a"},{"name":"each","filters":[{"name":"html","type":"href"}]}]

@DavidDurman
Copy link
Owner

Ah, right. Good one. Could you make a pull request?

@dreanmer
Copy link
Author

dreanmer commented Mar 5, 2014

sorry i really busy to do this, i realy thank you for the script, but the
bug solution is simple as

[cmd+r]
item.data('path')
[tab]
item.attr('data-path')

cheers

[]'s

2014-03-05 5:48 GMT-03:00 David Durman [email protected]:

Ah, right. Good one. Could you make a pull request?

Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-36721048
.

@versling
Copy link

There are places where $(this).data('path') are used. Those need to be replaced as well.

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

No branches or pull requests

3 participants