File tree Expand file tree Collapse file tree 3 files changed +21
-7
lines changed Expand file tree Collapse file tree 3 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ You can find a larger list of AngularJS external libraries at [ngmodules.org](ht
139
139
[CodeAcademy](http://www.codecademy.com/courses/javascript-advanced-en-2hJ3J/0/1),
140
140
[CodeSchool](https://www.codeschool.com/courses/shaping-up-with-angular-js)
141
141
* **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),
143
143
[Tuts+](https://tutsplus.com/course/easier-js-apps-with-angular/),
144
144
[lynda.com](http://www.lynda.com/AngularJS-tutorials/Up-Running-AngularJS/133318-2.html),
145
145
[WintellectNOW (4 lessons)](http://www.wintellectnow.com/Course/Detail/mastering-angularjs),
Original file line number Diff line number Diff line change @@ -421,6 +421,20 @@ function extend(dst) {
421
421
* Unlike {@link angular.extend extend()}, `merge()` recursively descends into object properties of source
422
422
* objects, performing a deep copy.
423
423
*
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
+ *
424
438
* @param {Object } dst Destination object.
425
439
* @param {...Object } src Source object(s).
426
440
* @returns {Object } Reference to `dst`.
Original file line number Diff line number Diff line change @@ -358,12 +358,12 @@ describe('ngMock', function() {
358
358
$interval ( function ( ) { counterA ++ ; } ) ;
359
359
$interval ( function ( ) { counterB ++ ; } , 0 ) ;
360
360
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 ) ;
367
367
} ) ) ;
368
368
369
369
You can’t perform that action at this time.
0 commit comments