Skip to content

Commit

Permalink
docs(*): change Angular to AngularJS
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored and gkalpak committed Aug 11, 2017
1 parent c9691a2 commit 5b31b37
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:yBpEi4).
-->

**Angular version:** 1.x.y
**AngularJS version:** 1.x.y
<!-- Check whether this is still an issue in the most recent stable or in the snapshot AngularJS version (https://code.angularjs.org/snapshot/) -->

**Browser:** [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Expand Down
24 changes: 12 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@


## Bug Fixes
- **Angular:**
- **AngularJS:**
- do not auto-bootstrap if the `src` exists but is empty
([3536e8](https://github.com/angular/angular.js/commit/3536e83d8a085b02bd6dcec8324800b7e6c734e4))
- do not auto bootstrap if the currentScript has been clobbered
Expand Down Expand Up @@ -702,7 +702,7 @@ consolidating all the changes shown in the previous 1.6.0 release candidates.**

Previously, `$compileProvider.preAssignBindingsEnabled` was set to true by default. This means
bindings were pre-assigned on component/directive controller instances (which made them available
inside the constructors). In Angular 1.5+ the place to put the initialization logic relying on
inside the constructors). In AngularJS 1.5+ the place to put the initialization logic relying on
bindings being present is the controller's `$onInit` method.

To migrate follow the example below:
Expand Down Expand Up @@ -1902,7 +1902,7 @@ validation), you can overwrite the built-in `step` validator with a custom direc
# 1.5.9 timeturning-lockdown (2016-11-24)

This is an interim release primarily to publish some security fixes, in particular a modification to
ensure that Angular 1 can pass the linter checks for Mozilla add-ons.
ensure that AngularJS can pass the linter checks for Mozilla add-ons.

## Security Fixes
- **bootstrap:**
Expand Down Expand Up @@ -1990,7 +1990,7 @@ ensure that Angular 1 can pass the linter checks for Mozilla add-ons.

Previously, `$compileProvider.preAssignBindingsEnabled` was
set to true by default. This means bindings were pre-assigned in component
constructors. In Angular 1.5+ the place to put the initialization logic
constructors. In AngularJS 1.5+ the place to put the initialization logic
relying on bindings being present is the controller `$onInit` method.

To migrate follow the example below:
Expand Down Expand Up @@ -5116,12 +5116,12 @@ before the $parsers are applied. Previously, the modelValue

This fixes issues where `input[date]` and `input[number]` cannot
be validated because the viewValue string is parsed into
`Date` and `Number` respectively (starting with Angular 1.3).
`Date` and `Number` respectively (starting with AngularJS 1.3).
It also brings the directives in line with HTML5 constraint
validation, which validates against the input value.

This change is unlikely to cause applications to fail, because even
in Angular 1.2, the value that was validated by pattern could have
in AngularJS 1.2, the value that was validated by pattern could have
been manipulated by the $parsers, as all validation was done
inside this pipeline.

Expand Down Expand Up @@ -5232,12 +5232,12 @@ before the $parsers are applied. Previously, the modelValue

This fixes issues where `input[date]` and `input[number]` cannot
be validated because the viewValue string is parsed into
`Date` and `Number` respectively (starting with Angular 1.3).
`Date` and `Number` respectively (starting with AngularJS 1.3).
It also brings the directives in line with HTML5 constraint
validation, which validates against the input value.

This change is unlikely to cause applications to fail, because even
in Angular 1.2, the value that was validated by pattern could have
in AngularJS 1.2, the value that was validated by pattern could have
been manipulated by the $parsers, as all validation was done
inside this pipeline.

Expand Down Expand Up @@ -5451,7 +5451,7 @@ describe('$q.when', function() {
it('should not need a call to $timeout.flush() to resolve already resolved promises',
inject(function($q, $timeout) {
$q.when('foo');
// In Angular 1.4.3 a call to `$timeout.flush();` was needed
// In AngularJS 1.4.3 a call to `$timeout.flush();` was needed
$timeout.verifyNoPendingTasks();
}));

Expand Down Expand Up @@ -6927,7 +6927,7 @@ it is now implemented in the ngOptions directive itself.
the `select` directive will now use strict comparison of the `ngModel` scope value against `option`
values to determine which option is selected. This means `Number` scope values will not be matched
against numeric option strings.
In Angular 1.3.x, setting `scope.x = 200` would select the `option` with the value 200 in the following `select`:
In AngularJS 1.3.x, setting `scope.x = 200` would select the `option` with the value 200 in the following `select`:

```
<select ng-model="x">
Expand All @@ -6936,7 +6936,7 @@ In Angular 1.3.x, setting `scope.x = 200` would select the `option` with the val
</select>
```

In Angular 1.4.x, the 'unknown option' will be selected.
In AngularJS 1.4.x, the 'unknown option' will be selected.
To remedy this, you can simply initialize the model as a string: `scope.x = '200'`, or if you want to
keep the model as a `Number`, you can do the conversion via `$formatters` and `$parsers` on `ngModel`:

Expand Down Expand Up @@ -15510,7 +15510,7 @@ with the `$route` service

### Breaking changes
- we now support ISO 8601 extended format datetime strings (YYYY-MM-DDTHH:mm:ss.SSSZ) as defined
in EcmaScript 5 throughout angular. This means that the following apis switched from
in EcmaScript 5 throughout AngularJS. This means that the following apis switched from
YYYY-MM-DDTHH:mm:ssZ to YYYY-MM-DDTHH:mm:ss.SSSZ (note the added millis) when representing dates:
- angular.Date.toString
- angular.String.fromDate
Expand Down
4 changes: 2 additions & 2 deletions docs/content/guide/migration.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -1685,12 +1685,12 @@ before the $parsers are applied. Previously, the `$modelValue`

This fixes issues where `input[date]` and `input[number]` cannot
be validated because the `$viewValue` string is parsed into
`Date` and `Number` respectively (starting with Angular 1.3).
`Date` and `Number` respectively (starting with AngularJS 1.3).
It also brings the directives in line with HTML5 constraint
validation, which validates against the input value.

This change is unlikely to cause applications to fail, because even
in Angular 1.2, the value that was validated by pattern could have
in AngularJS 1.2, the value that was validated by pattern could have
been manipulated by the $parsers, as all validation was done
inside this pipeline.

Expand Down
4 changes: 2 additions & 2 deletions test/ngRoute/directive/ngViewSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ describe('ngView', function() {
it('should use inline content route changes', function() {
module(function($routeProvider) {
$routeProvider.when('/foo', {template: '<div>{{1+3}}</div>'});
$routeProvider.when('/bar', {template: 'angular is da best'});
$routeProvider.when('/bar', {template: 'AngularJS is da best'});
$routeProvider.when('/blank', {template: ''});
});

Expand All @@ -204,7 +204,7 @@ describe('ngView', function() {

$location.path('/bar');
$rootScope.$digest();
expect(element.text()).toEqual('angular is da best');
expect(element.text()).toEqual('AngularJS is da best');

$location.path('/blank');
$rootScope.$digest();
Expand Down

0 comments on commit 5b31b37

Please sign in to comment.