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

Commit 1fbbb01

Browse files
committed
Merge remote-tracking branch 'upstream/master' into promise-update
2 parents 02c88f9 + 131410b commit 1fbbb01

31 files changed

+272
-2089
lines changed

CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
- **$rootScope:** prevent infinite $digest by checking if asyncQueue is empty when decrementing ttl
2121
([2cd09c9f](https://github.com/angular/angular.js/commit/2cd09c9f0e7766bcd191662841b7b1ffc3b6dc3f),
2222
[#2622](https://github.com/angular/angular.js/issues/2622))
23-
- **$route:** update current route upon $route instantiation
24-
([2b344dbd](https://github.com/angular/angular.js/commit/2b344dbd20777fb1283b3a5bcf35a6ae8d09469d),
25-
[#4957](https://github.com/angular/angular.js/issues/4957))
2623

2724

2825
## Features

README.closure.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Using AngularJS with the Closure Compiler
2+
=========================================
3+
4+
The Closure Compiler project contains externs definitions for AngularJS
5+
JavaScript in its `contrib/externs` directory.
6+
7+
The definitions contain externs for use with the Closure compiler (aka
8+
JSCompiler). Passing these files to the --externs parameter of a compiler
9+
pass allows using type annotations for AngularJS objects. For example,
10+
Angular's $scope objects can be annotated as:
11+
```js
12+
/** @type {angular.Scope} */
13+
var scope = $scope;
14+
```
15+
16+
This allows JSCompiler to type check accesses to scope, give warnings about
17+
missing methods or incorrect arguments, and also prevents renaming of property
18+
accesses with advanced compilation.
19+
20+
The externs are incomplete and maintained on an as-needed basis, but strive to
21+
be correct. Externs for individual modules should be added in separate files.
22+
23+
See https://developers.google.com/closure/compiler/

closure/README.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)