Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

added ng-jq functionality to be able to force jqLite instead of jQuery if present. #10430

Conversation

mboudreau
Copy link
Contributor

made it very similar to csp() function as it should be global since angular.element is as well. Added some unit tests around the jq() function, but still missing scenario testing which I need some direction on to complete. This is a first attempt and hoping @mzgol can help out more to finish the contribution to the angular.js codebase.

@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

var active = !!(document.querySelector('[ng-csp]') ||
document.querySelector('[data-ng-csp]'));

if (!active) {
Copy link
Member

Choose a reason for hiding this comment

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

Use 2 spaces instead of tabs for indentation.

This applies to most of the changes.

@googlebot
Copy link

CLAs look good, thanks!

@mboudreau
Copy link
Contributor Author

@mzgol I fixed the styling to the best of my ability. Can I suggest that there's some kind of automatic 'styler' that can be added to the grunt build to make this easier?

Thanks for all your help.

@mboudreau
Copy link
Contributor Author

Build issue seems to be related to the e2e testing with saucelabs:

The command "./lib/sauce/sauce_connect_setup.sh" failed and exited with 6 during .

@mgol
Copy link
Member

mgol commented Dec 25, 2014

@mboudreau It seems the Angular CI setup was a little unstable when you were reporting this PR. Would you mind rebasing it over current master so that we get the Travis run on the current setup? Thanks!

@mboudreau
Copy link
Contributor Author

Will do.

On Thu, Dec 25, 2014, 12:08 PM Michał Gołębiowski notifications@github.com
wrote:

@mboudreau https://github.com/mboudreau It seems the Angular CI setup
was a little unstable when you were reporting this PR. Would you mind
rebasing it over current master so that we get the Travis run on the
current setup? Thanks!


Reply to this email directly or view it on GitHub
#10430 (comment).

@mboudreau
Copy link
Contributor Author

@mzgol Created a new pull request, so please go ahead and abandon this one: #10750

@mboudreau mboudreau closed this Jan 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants