Skip to content

Commit 8951d20

Browse files
Merge pull request #35 from angular/master
Update upstream
2 parents e495597 + 464dde8 commit 8951d20

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

docs/content/guide/external-resources.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ You can find a larger list of AngularJS external libraries at [ngmodules.org](ht
139139
[CodeAcademy](http://www.codecademy.com/courses/javascript-advanced-en-2hJ3J/0/1),
140140
[CodeSchool](https://www.codeschool.com/courses/shaping-up-with-angular-js)
141141
* **Paid online:**
142-
[Pluralsight (3 courses)](http://www.pluralsight.com/training/Courses/Find?highlight=true&searchTerm=angularjs),
142+
[Pluralsight](https://www.pluralsight.com/search?q=angularjs),
143143
[Tuts+](https://tutsplus.com/course/easier-js-apps-with-angular/),
144144
[lynda.com](http://www.lynda.com/AngularJS-tutorials/Up-Running-AngularJS/133318-2.html),
145145
[WintellectNOW (4 lessons)](http://www.wintellectnow.com/Course/Detail/mastering-angularjs),

src/Angular.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,20 @@ function extend(dst) {
421421
* Unlike {@link angular.extend extend()}, `merge()` recursively descends into object properties of source
422422
* objects, performing a deep copy.
423423
*
424+
* @deprecated
425+
* sinceVersion="1.6.5"
426+
* This function is deprecated, but will not be removed in the 1.x lifecycle.
427+
* There are edge cases (see {@link angular.merge#known-issues known issues}) that are not
428+
* supported by this function. We suggest
429+
* using [lodash's merge()](https://lodash.com/docs/4.17.4#merge) instead.
430+
*
431+
* @knownIssue
432+
* This is a list of (known) object types that are not handled correctly by this function:
433+
* - [`Blob`](https://developer.mozilla.org/docs/Web/API/Blob)
434+
* - [`MediaStream`](https://developer.mozilla.org/docs/Web/API/MediaStream)
435+
* - [`CanvasGradient`](https://developer.mozilla.org/docs/Web/API/CanvasGradient)
436+
* - AngularJS {@link $rootScope.Scope scopes};
437+
*
424438
* @param {Object} dst Destination object.
425439
* @param {...Object} src Source object(s).
426440
* @returns {Object} Reference to `dst`.

test/ngMock/angular-mocksSpec.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -358,12 +358,12 @@ describe('ngMock', function() {
358358
$interval(function() { counterA++; });
359359
$interval(function() { counterB++; }, 0);
360360

361-
$interval.flush(1000);
362-
expect(counterA).toBe(1000);
363-
expect(counterB).toBe(1000);
364-
$interval.flush(1000);
365-
expect(counterA).toBe(2000);
366-
expect(counterB).toBe(2000);
361+
$interval.flush(100);
362+
expect(counterA).toBe(100);
363+
expect(counterB).toBe(100);
364+
$interval.flush(100);
365+
expect(counterA).toBe(200);
366+
expect(counterB).toBe(200);
367367
}));
368368

369369

0 commit comments

Comments
 (0)