1
- /*! angular-meteor v1.3.11 */
1
+ /*! angular-meteor v1.3.12 */
2
2
( function webpackUniversalModuleDefinition ( root , factory ) {
3
3
if ( typeof exports === 'object' && typeof module === 'object' )
4
4
module . exports = factory ( require ( "underscore" ) , require ( "jsondiffpatch" ) ) ;
@@ -53,7 +53,7 @@ return /******/ (function(modules) { // webpackBootstrap
53
53
/************************************************************************/
54
54
/******/ ( [
55
55
/* 0 */
56
- /***/ function ( module , exports , __webpack_require__ ) {
56
+ /***/ ( function ( module , exports , __webpack_require__ ) {
57
57
58
58
'use strict' ;
59
59
@@ -141,9 +141,9 @@ return /******/ (function(modules) { // webpackBootstrap
141
141
} ] ) ;
142
142
module . exports = exports [ 'default' ] ;
143
143
144
- /***/ } ,
144
+ /***/ } ) ,
145
145
/* 1 */
146
- /***/ function ( module , exports , __webpack_require__ ) {
146
+ /***/ ( function ( module , exports , __webpack_require__ ) {
147
147
148
148
'use strict' ;
149
149
@@ -336,9 +336,9 @@ return /******/ (function(modules) { // webpackBootstrap
336
336
module . value ( 'getUpdates' , getUpdates ) ;
337
337
} ) ( ) ;
338
338
339
- /***/ } ,
339
+ /***/ } ) ,
340
340
/* 2 */
341
- /***/ function ( module , exports , __webpack_require__ ) {
341
+ /***/ ( function ( module , exports , __webpack_require__ ) {
342
342
343
343
'use strict' ;
344
344
@@ -361,15 +361,15 @@ return /******/ (function(modules) { // webpackBootstrap
361
361
exports . default = _underscore2 . default || Package . underscore . _ ;
362
362
module . exports = exports [ 'default' ] ;
363
363
364
- /***/ } ,
364
+ /***/ } ) ,
365
365
/* 3 */
366
- /***/ function ( module , exports ) {
366
+ /***/ ( function ( module , exports ) {
367
367
368
368
module . exports = __WEBPACK_EXTERNAL_MODULE_3__ ;
369
369
370
- /***/ } ,
370
+ /***/ } ) ,
371
371
/* 4 */
372
- /***/ function ( module , exports , __webpack_require__ ) {
372
+ /***/ ( function ( module , exports , __webpack_require__ ) {
373
373
374
374
'use strict' ;
375
375
@@ -569,19 +569,19 @@ return /******/ (function(modules) { // webpackBootstrap
569
569
return diffArray ;
570
570
} ] ) ;
571
571
572
- /***/ } ,
572
+ /***/ } ) ,
573
573
/* 5 */
574
- /***/ function ( module , exports ) {
574
+ /***/ ( function ( module , exports ) {
575
575
576
576
'use strict' ;
577
577
578
578
angular . module ( 'angular-meteor.settings' , [ ] ) . constant ( '$angularMeteorSettings' , {
579
579
suppressWarnings : true
580
580
} ) ;
581
581
582
- /***/ } ,
582
+ /***/ } ) ,
583
583
/* 6 */
584
- /***/ function ( module , exports ) {
584
+ /***/ ( function ( module , exports ) {
585
585
586
586
'use strict' ;
587
587
@@ -602,9 +602,9 @@ return /******/ (function(modules) { // webpackBootstrap
602
602
} ) ;
603
603
} ] ) ;
604
604
605
- /***/ } ,
605
+ /***/ } ) ,
606
606
/* 7 */
607
- /***/ function ( module , exports , __webpack_require__ ) {
607
+ /***/ ( function ( module , exports , __webpack_require__ ) {
608
608
609
609
'use strict' ;
610
610
@@ -710,9 +710,9 @@ return /******/ (function(modules) { // webpackBootstrap
710
710
} ;
711
711
} ] ) ;
712
712
713
- /***/ } ,
713
+ /***/ } ) ,
714
714
/* 8 */
715
- /***/ function ( module , exports ) {
715
+ /***/ ( function ( module , exports ) {
716
716
717
717
/*global
718
718
angular, Meteor
@@ -786,9 +786,9 @@ return /******/ (function(modules) { // webpackBootstrap
786
786
} ;
787
787
} ] ) ;
788
788
789
- /***/ } ,
789
+ /***/ } ) ,
790
790
/* 9 */
791
- /***/ function ( module , exports , __webpack_require__ ) {
791
+ /***/ ( function ( module , exports , __webpack_require__ ) {
792
792
793
793
'use strict' ;
794
794
@@ -1169,9 +1169,9 @@ return /******/ (function(modules) { // webpackBootstrap
1169
1169
scopeProto . $meteorCollectionFS = $meteorStopper ( $meteorCollectionFS ) ;
1170
1170
} ] ) ;
1171
1171
1172
- /***/ } ,
1172
+ /***/ } ) ,
1173
1173
/* 10 */
1174
- /***/ function ( module , exports , __webpack_require__ ) {
1174
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1175
1175
1176
1176
'use strict' ;
1177
1177
@@ -1367,9 +1367,9 @@ return /******/ (function(modules) { // webpackBootstrap
1367
1367
scopeProto . $meteorObject = $meteorStopper ( $meteorObject ) ;
1368
1368
} ] ) ;
1369
1369
1370
- /***/ } ,
1370
+ /***/ } ) ,
1371
1371
/* 11 */
1372
- /***/ function ( module , exports , __webpack_require__ ) {
1372
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1373
1373
1374
1374
'use strict' ;
1375
1375
@@ -1461,9 +1461,9 @@ return /******/ (function(modules) { // webpackBootstrap
1461
1461
} ) ;
1462
1462
} ] ) ;
1463
1463
1464
- /***/ } ,
1464
+ /***/ } ) ,
1465
1465
/* 12 */
1466
- /***/ function ( module , exports , __webpack_require__ ) {
1466
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1467
1467
1468
1468
'use strict' ;
1469
1469
@@ -1491,9 +1491,9 @@ return /******/ (function(modules) { // webpackBootstrap
1491
1491
} ;
1492
1492
} ] ) ;
1493
1493
1494
- /***/ } ,
1494
+ /***/ } ) ,
1495
1495
/* 13 */
1496
- /***/ function ( module , exports ) {
1496
+ /***/ ( function ( module , exports ) {
1497
1497
1498
1498
/*global
1499
1499
angular, Session
@@ -1525,9 +1525,9 @@ return /******/ (function(modules) { // webpackBootstrap
1525
1525
} ;
1526
1526
} ] ) ;
1527
1527
1528
- /***/ } ,
1528
+ /***/ } ) ,
1529
1529
/* 14 */
1530
- /***/ function ( module , exports ) {
1530
+ /***/ ( function ( module , exports ) {
1531
1531
1532
1532
/*global
1533
1533
angular, Package
@@ -1555,9 +1555,9 @@ return /******/ (function(modules) { // webpackBootstrap
1555
1555
} ;
1556
1556
} ] ) ;
1557
1557
1558
- /***/ } ,
1558
+ /***/ } ) ,
1559
1559
/* 15 */
1560
- /***/ function ( module , exports ) {
1560
+ /***/ ( function ( module , exports ) {
1561
1561
1562
1562
/*global
1563
1563
angular
@@ -1594,9 +1594,9 @@ return /******/ (function(modules) { // webpackBootstrap
1594
1594
return $meteorStopper ;
1595
1595
} ] ) ;
1596
1596
1597
- /***/ } ,
1597
+ /***/ } ) ,
1598
1598
/* 16 */
1599
- /***/ function ( module , exports , __webpack_require__ ) {
1599
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1600
1600
1601
1601
'use strict' ;
1602
1602
@@ -1675,9 +1675,9 @@ return /******/ (function(modules) { // webpackBootstrap
1675
1675
}
1676
1676
} ] ) ;
1677
1677
1678
- /***/ } ,
1678
+ /***/ } ) ,
1679
1679
/* 17 */
1680
- /***/ function ( module , exports , __webpack_require__ ) {
1680
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1681
1681
1682
1682
'use strict' ;
1683
1683
@@ -1812,9 +1812,9 @@ return /******/ (function(modules) { // webpackBootstrap
1812
1812
} ) ;
1813
1813
} ) ;
1814
1814
1815
- /***/ } ,
1815
+ /***/ } ) ,
1816
1816
/* 18 */
1817
- /***/ function ( module , exports , __webpack_require__ ) {
1817
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1818
1818
1819
1819
'use strict' ;
1820
1820
@@ -1844,9 +1844,9 @@ return /******/ (function(modules) { // webpackBootstrap
1844
1844
} ;
1845
1845
} ] ) ;
1846
1846
1847
- /***/ } ,
1847
+ /***/ } ) ,
1848
1848
/* 19 */
1849
- /***/ function ( module , exports , __webpack_require__ ) {
1849
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1850
1850
1851
1851
'use strict' ;
1852
1852
@@ -1999,9 +1999,18 @@ return /******/ (function(modules) { // webpackBootstrap
1999
1999
2000
2000
// Digests scope only if there is no phase at the moment
2001
2001
$$Core . $$throttledDigest = function ( ) {
2002
+ var _this = this ;
2003
+
2002
2004
var isDigestable = ! this . $$destroyed && ! this . $$phase && ! this . $root . $$phase ;
2003
2005
2004
- if ( isDigestable ) this . $digest ( ) ;
2006
+ if ( isDigestable ) {
2007
+ // If a digest cycle in one autorun triggers another autorun,
2008
+ // we want to run this second autorun in a non-reactive manner.
2009
+ // thus preventing inner autoruns from being dependent on their parents.
2010
+ Tracker . nonreactive ( function ( ) {
2011
+ return _this . $digest ( ) ;
2012
+ } ) ;
2013
+ }
2005
2014
} ;
2006
2015
2007
2016
// Creates a promise only that the digestion cycle will be called at its fulfillment
@@ -2025,9 +2034,9 @@ return /******/ (function(modules) { // webpackBootstrap
2025
2034
return $$Core ;
2026
2035
} ] ) ;
2027
2036
2028
- /***/ } ,
2037
+ /***/ } ) ,
2029
2038
/* 20 */
2030
- /***/ function ( module , exports , __webpack_require__ ) {
2039
+ /***/ ( function ( module , exports , __webpack_require__ ) {
2031
2040
2032
2041
'use strict' ;
2033
2042
@@ -2138,9 +2147,9 @@ return /******/ (function(modules) { // webpackBootstrap
2138
2147
} ;
2139
2148
} ] ) ;
2140
2149
2141
- /***/ } ,
2150
+ /***/ } ) ,
2142
2151
/* 21 */
2143
- /***/ function ( module , exports , __webpack_require__ ) {
2152
+ /***/ ( function ( module , exports , __webpack_require__ ) {
2144
2153
2145
2154
'use strict' ;
2146
2155
@@ -2455,15 +2464,15 @@ return /******/ (function(modules) { // webpackBootstrap
2455
2464
return $$Reactive ;
2456
2465
} ] ) ;
2457
2466
2458
- /***/ } ,
2467
+ /***/ } ) ,
2459
2468
/* 22 */
2460
- /***/ function ( module , exports ) {
2469
+ /***/ ( function ( module , exports ) {
2461
2470
2462
2471
module . exports = __WEBPACK_EXTERNAL_MODULE_22__ ;
2463
2472
2464
- /***/ } ,
2473
+ /***/ } ) ,
2465
2474
/* 23 */
2466
- /***/ function ( module , exports ) {
2475
+ /***/ ( function ( module , exports ) {
2467
2476
2468
2477
'use strict' ;
2469
2478
@@ -2478,7 +2487,7 @@ return /******/ (function(modules) { // webpackBootstrap
2478
2487
angular . module ( name , [ ] ) ;
2479
2488
}
2480
2489
2481
- /***/ }
2490
+ /***/ } )
2482
2491
/******/ ] )
2483
2492
} ) ;
2484
2493
;
0 commit comments