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
Implement more of the jQuery API #21
Comments
Emily Ekberg |
Fairly low-hanging fruit if someone else wants to take this. Just look at the existing bridges and add more like them. |
@uppfinnarn |
@ppcano Yes, please. Though it'll have to wait until the new JS runner is merged, which will make this all even easier to do. |
val() is not implemented in goquery. attr() is as well as attrOr(). I suggest implementing at least attr(). |
Implement attr() grafana#21 NO tests included since the new JS implementation will lead to refactoring this implementation. The attr() implementation is needed to implement the sample scripts.
@ragnarlonn I'd like to finish this task; is the bounty still available ? |
@denim2x Yes, the bounty is still available. No one else has started working on this issue afaik, so go for it! |
@denim2x To clarify, this issue should be implemented in terms of the js2 runner (https://github.com/loadimpact/k6/tree/master/js2). So extending what's in https://github.com/loadimpact/k6/blob/master/js2/modules/k6/html/html.go more or less. Edit: and running k6 with the js2 runner is done by executing |
@robingustafsson Thanks |
@robingustafsson question: What is the expected behavior of
|
Could you elaborate? |
|
Ah, I see. Just leave it out then - I believe the |
|
I'd say yes, we want to get as close to the original jQuery API as possible; |
@denim2x Hi Cristian, are you making any progress? Is anything still unclear? |
Hello. On bountysource they changed status to stopped working on it so it seemed like it'd be ok for me to step in... I've made a fork and a start in feature/jquery branch. Have only added Html() and a basic implementation of Val() so far. Would you like a PR with what I've got now? |
@mitnuh Yeah, I think a PR is probably good. If @liclac can take a look at it now and give feedback it might save you some time spent changing things later. |
Feature/jquery Extend jquery api for #21
Hi. Sorry to bother you but is it ok to close this issue? The PR has been merged but the bounty can't be claimed until the related issue is closed. Thank you. |
@mitnuh Yes, I'll close the issue. Thank you for your hard work! |
Thank you! |
Manipulation API
Traversal API
Misc API
Imported from https://trello.com/c/1XvRjs9A/89-implement-more-of-the-jquery-api
The text was updated successfully, but these errors were encountered: