-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
@@ -137,7 +137,7 @@ You can find a larger list of Angular external libraries at [ngmodules.org](http | |||
[CodeAcademy](http://www.codecademy.com/courses/javascript-advanced-en-2hJ3J/0/1), | |||
[CodeSchool](https://www.codeschool.com/courses/shaping-up-with-angular-js) | |||
* **Paid online:** | |||
[Pluralsite (3 courses)](http://www.pluralsight.com/training/Courses/Find?highlight=true&searchTerm=angularjs), | |||
[Pluralsight (3 courses)](http://www.pluralsight.com/training/Courses/Find?highlight=true&searchTerm=angularjs), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't imagine someone with a domain of FooX calling themselves FooY...
@@ -39,7 +39,7 @@ if (flag === '--login') { | |||
} | |||
|
|||
function help() { | |||
console.log('Synopsys'); | |||
console.log('Synopsis'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a functional change to the documentation system. If you need such changes split out, I can, but ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. I don't think this file is used anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my reference, this led to #15325
@@ -357,7 +357,7 @@ describe('Binder', function() { | |||
}); | |||
}); | |||
|
|||
it('ShoulIgnoreVbNonBindable', inject(function($rootScope, $compile) { | |||
it('ShouldIgnoreVbNonBindable', inject(function($rootScope, $compile) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a minor change to the testsuite's categorization system. It's unlikely that it would break anything, although historical data about failures would be disconnected.
@@ -192,7 +192,7 @@ describe('injector', function() { | |||
|
|||
|
|||
it('should create $inject', function() { | |||
var extraParans = angular.noop; | |||
var extraParams = angular.noop; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It took me a long time to try to decide if this should be extraParams
or extraParens
, the initial commit was not remotely helpful.
@@ -11935,13 +11935,13 @@ describe('$compile', function() { | |||
testReplaceElementCleanup({}); | |||
}); | |||
it('should clean data of elements removed for directive templateUrl', function() { | |||
testReplaceElementCleanup({asyncTmeplate: true}); | |||
testReplaceElementCleanup({asyncTemplate: true}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a change to the functionality of the test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Since the tests pass, the intended behavior has not been broken sometime in the past.
@@ -383,7 +383,7 @@ describe('select', function() { | |||
scope.robot = ''; | |||
compile('<select ng-model="robot">' + | |||
'<option ng-repeat="opt in dynamicOptions" value="{{opt.val}}">{{opt.display}}</option>' + | |||
'</selec>'); | |||
'</select>'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a genuine bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume the browser will close this broken tag by itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will.
@@ -2113,7 +2113,7 @@ describe('q', function() { | |||
}); | |||
|
|||
|
|||
it('should log exceptions throw in a progressack and stop propagation, but shoud NOT reject ' + | |||
it('should log exceptions thrown in a progressback and stop propagation, but should NOT reject ' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the only instance of progressack
, I assumed it was a typo for progressback
. I could be wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
progressBack was intended, but progressCallback is probably clearer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I correct all of the instances? That would be much clearer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, upon trying a basic pair of commits to for this (see below), it became apparent that src/ng/q.js
uses errback
and progressBack
as the names of the functions. I don't feel comfortable changing either name in a cleanup PR like this one, so I'm going to settle on progressBack
and leave errback
for now.
If someone wants to replace errback
and progressBack
with errorCallback
and progressCallback
respectively, they can do that in a subsequent PR.
@@ -12,7 +12,7 @@ angular.scenario.testing.MockAngular.prototype.reset = function() { | |||
}; | |||
|
|||
angular.scenario.testing.MockAngular.prototype.poll = function() { | |||
this.log.push('$brower.poll()'); | |||
this.log.push('$browser.poll()'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be a significant change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just the string, so it should be good.
I signed it! |
CLAs look good, thanks! |
1 similar comment
CLAs look good, thanks! |
Hi @jsoref thanks for the PR. Except for one small suggestion, the changes are good. |
2a3b563
to
4b01319
Compare
Sorry if I was not clear, but what I want is this:
test(*)
|
I don't understand https://travis-ci.org/angular/angular.js/jobs/171341229 at all. I've temporarily dropped the code changes to see if that makes Travis happy. @Narretz: Ok, I'll re-roll the split. What you're asking for is reasonable. |
* select * synopsis * params * template
The Travis failure is unrelated to your changes. It just couldn't connect to Saucelabs. |
* a * allows * angularytics * animate * architecting * asynchronously * attribute * back * browser * callback * component * delimited * dependencies * dynamically * empty * encoded * explicitly * expression * fails * guarantees * hierarchy * highlight * identifiers * immediately * infinite * initialized * inputting * instance * interprets * linking * location * misformed * numerically * occurring * overridden * overwritten * parameters * Pluralsight * precedence * primitive * properly * prototypically * representation * response * separately * separator * should * specifying * supported * template * thrown * transclude * transclusion * transitions * trigger * useful
2b8cd51
to
c948506
Compare
@Narretz, re: saucelabs, is it possible to make the error easier for humans to interpret? The output is: The command "./scripts/travis/before_build.sh" failed and exited with 5 during . But nothing clearly hints at what a >> build/angular-animate.js minified into build/angular-animate.min.js
build/angular.js:4719: WARNING - Throw expression is not a minErr instance.
throw err;
^
build/angular.js:8278: WARNING - Throw expression is not a minErr instance.
throw errors;
^
build/angular.js:12322: WARNING - Throw expression is not a minErr instance.
throw e;
^
build/angular.js:13942: WARNING - Throw expression is not a minErr instance.
throw e;
^
build/angular.js:17985: WARNING - Throw expression is not a minErr instance.
throw e;
^
0 error(s), 5 warning(s) Which is why I attempted to "fix" the "error" the way I did -- even though I knew that my changes shouldn't cause any problems (since I was merely rearranging which commits had which changes, and a previous build had already passed with the same set of total changes). |
You are right, the errors are difficult to interpret without prior knowledge. I'm not sure if we could try to interpret these errors in our test script. Maybe we could also adds docs for contributors about this. |
I'd encourage you to add handling to the test script. There's a limit to how much documentation someone is going to read. If you do add any documentation outside the test script, then the test script needs to have code which does "if error, spit out url pointing to docs about errors". Consider the case of someone browsing PRs (as I did to see the other one), they aren't actively contributing and have no particular reason to read the contributing docs on the offhand chance that they might talk about errors involving Travis. |
Thanks @jsoref |
I understand that you want the commit to eventually have
style
as the type, I'm happy to roll up this series as a single commit w/ that as the main line.For now, I'm more interested in feedback on the content of my commits.