angular-gem 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/angular-gem/version.rb +1 -1
- data/vendor/assets/javascripts/1.2.9/angular-animate.js +1483 -0
- data/vendor/assets/javascripts/1.2.9/angular-cookies.js +202 -0
- data/vendor/assets/javascripts/1.2.9/angular-loader.js +410 -0
- data/vendor/assets/javascripts/1.2.9/angular-mocks.js +2165 -0
- data/vendor/assets/javascripts/1.2.9/angular-resource.js +594 -0
- data/vendor/assets/javascripts/1.2.9/angular-route.js +920 -0
- data/vendor/assets/javascripts/1.2.9/angular-sanitize.js +622 -0
- data/vendor/assets/javascripts/1.2.9/angular-scenario.js +32566 -0
- data/vendor/assets/javascripts/1.2.9/angular-touch.js +563 -0
- data/vendor/assets/javascripts/1.2.9/angular.js +20560 -0
- data/vendor/assets/javascripts/angular-animate.js +136 -33
- data/vendor/assets/javascripts/angular-cookies.js +1 -1
- data/vendor/assets/javascripts/angular-loader.js +2 -2
- data/vendor/assets/javascripts/angular-mocks.js +31 -2
- data/vendor/assets/javascripts/angular-resource.js +1 -1
- data/vendor/assets/javascripts/angular-route.js +10 -1
- data/vendor/assets/javascripts/angular-sanitize.js +1 -1
- data/vendor/assets/javascripts/angular-scenario.js +29 -23
- data/vendor/assets/javascripts/angular-touch.js +1 -1
- data/vendor/assets/javascripts/angular.js +29 -23
- metadata +11 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license AngularJS v1.2.
|
2
|
+
* @license AngularJS v1.2.9
|
3
3
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -669,6 +669,15 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
|
|
669
669
|
*
|
670
670
|
* @scope
|
671
671
|
* @priority 400
|
672
|
+
* @param {string=} onload Expression to evaluate whenever the view updates.
|
673
|
+
*
|
674
|
+
* @param {string=} autoscroll Whether `ngView` should call {@link ng.$anchorScroll
|
675
|
+
* $anchorScroll} to scroll the viewport after the view is updated.
|
676
|
+
*
|
677
|
+
* - If the attribute is not set, disable scrolling.
|
678
|
+
* - If the attribute is set without value, enable scrolling.
|
679
|
+
* - Otherwise enable scrolling only if the `autoscroll` attribute value evaluated
|
680
|
+
* as an expression yields a truthy value.
|
672
681
|
* @example
|
673
682
|
<example module="ngViewExample" deps="angular-route.js" animations="true">
|
674
683
|
<file name="index.html">
|
@@ -9790,7 +9790,7 @@ if ( typeof module === "object" && module && typeof module.exports === "object"
|
|
9790
9790
|
})( window );
|
9791
9791
|
|
9792
9792
|
/**
|
9793
|
-
* @license AngularJS v1.2.
|
9793
|
+
* @license AngularJS v1.2.9
|
9794
9794
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
9795
9795
|
* License: MIT
|
9796
9796
|
*/
|
@@ -9860,7 +9860,7 @@ function minErr(module) {
|
|
9860
9860
|
return match;
|
9861
9861
|
});
|
9862
9862
|
|
9863
|
-
message = message + '\nhttp://errors.angularjs.org/1.2.
|
9863
|
+
message = message + '\nhttp://errors.angularjs.org/1.2.9/' +
|
9864
9864
|
(module ? module + '/' : '') + code;
|
9865
9865
|
for (i = 2; i < arguments.length; i++) {
|
9866
9866
|
message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
|
@@ -10063,7 +10063,8 @@ function isArrayLike(obj) {
|
|
10063
10063
|
* is the value of an object property or an array element and `key` is the object property key or
|
10064
10064
|
* array element index. Specifying a `context` for the function is optional.
|
10065
10065
|
*
|
10066
|
-
*
|
10066
|
+
* It is worth nothing that `.forEach` does not iterate over inherited properties because it filters
|
10067
|
+
* using the `hasOwnProperty` method.
|
10067
10068
|
*
|
10068
10069
|
<pre>
|
10069
10070
|
var values = {name: 'misko', gender: 'male'};
|
@@ -11625,11 +11626,11 @@ function setupModuleLoader(window) {
|
|
11625
11626
|
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
|
11626
11627
|
*/
|
11627
11628
|
var version = {
|
11628
|
-
full: '1.2.
|
11629
|
+
full: '1.2.9', // all of these placeholder strings will be replaced by grunt's
|
11629
11630
|
major: 1, // package task
|
11630
11631
|
minor: 2,
|
11631
|
-
dot:
|
11632
|
-
codeName: '
|
11632
|
+
dot: 9,
|
11633
|
+
codeName: 'enchanted-articulacy'
|
11633
11634
|
};
|
11634
11635
|
|
11635
11636
|
|
@@ -13191,7 +13192,7 @@ function annotate(fn) {
|
|
13191
13192
|
* constructor function that will be used to instantiate the service instance.
|
13192
13193
|
*
|
13193
13194
|
* You should use {@link AUTO.$provide#methods_service $provide.service(class)} if you define your service
|
13194
|
-
* as a type/class.
|
13195
|
+
* as a type/class.
|
13195
13196
|
*
|
13196
13197
|
* @param {string} name The name of the instance.
|
13197
13198
|
* @param {Function} constructor A class (constructor function) that will be instantiated.
|
@@ -13199,20 +13200,25 @@ function annotate(fn) {
|
|
13199
13200
|
*
|
13200
13201
|
* @example
|
13201
13202
|
* Here is an example of registering a service using
|
13202
|
-
* {@link AUTO.$provide#methods_service $provide.service(class)}
|
13203
|
+
* {@link AUTO.$provide#methods_service $provide.service(class)}.
|
13203
13204
|
* <pre>
|
13204
|
-
*
|
13205
|
-
*
|
13206
|
-
*
|
13207
|
-
*
|
13208
|
-
*
|
13209
|
-
*
|
13205
|
+
* $provide.service('ping', ['$http', function($http) {
|
13206
|
+
* var Ping = function() {
|
13207
|
+
* this.$http = $http;
|
13208
|
+
* };
|
13209
|
+
*
|
13210
|
+
* Ping.prototype.send = function() {
|
13211
|
+
* return this.$http.get('/ping');
|
13212
|
+
* };
|
13213
|
+
*
|
13214
|
+
* return Ping;
|
13215
|
+
* }]);
|
13210
13216
|
* </pre>
|
13211
13217
|
* You would then inject and use this service like this:
|
13212
13218
|
* <pre>
|
13213
|
-
* someModule.controller
|
13214
|
-
* ping.send()
|
13215
|
-
* ]
|
13219
|
+
* someModule.controller('Ctrl', ['ping', function(ping) {
|
13220
|
+
* ping.send();
|
13221
|
+
* }]);
|
13216
13222
|
* </pre>
|
13217
13223
|
*/
|
13218
13224
|
|
@@ -16737,9 +16743,9 @@ function $HttpProvider() {
|
|
16737
16743
|
common: {
|
16738
16744
|
'Accept': 'application/json, text/plain, */*'
|
16739
16745
|
},
|
16740
|
-
post: CONTENT_TYPE_APPLICATION_JSON,
|
16741
|
-
put: CONTENT_TYPE_APPLICATION_JSON,
|
16742
|
-
patch: CONTENT_TYPE_APPLICATION_JSON
|
16746
|
+
post: copy(CONTENT_TYPE_APPLICATION_JSON),
|
16747
|
+
put: copy(CONTENT_TYPE_APPLICATION_JSON),
|
16748
|
+
patch: copy(CONTENT_TYPE_APPLICATION_JSON)
|
16743
16749
|
},
|
16744
16750
|
|
16745
16751
|
xsrfCookieName: 'XSRF-TOKEN',
|
@@ -16950,7 +16956,7 @@ function $HttpProvider() {
|
|
16950
16956
|
* to `push` or `unshift` a new transformation function into the transformation chain. You can
|
16951
16957
|
* also decide to completely override any default transformations by assigning your
|
16952
16958
|
* transformation functions to these properties directly without the array wrapper. These defaults
|
16953
|
-
* are again available on the $http factory at run-time, which may be useful if you have run-time
|
16959
|
+
* are again available on the $http factory at run-time, which may be useful if you have run-time
|
16954
16960
|
* services you wish to be involved in your transformations.
|
16955
16961
|
*
|
16956
16962
|
* Similarly, to locally override the request/response transforms, augment the
|
@@ -21628,7 +21634,7 @@ function $RootScopeProvider(){
|
|
21628
21634
|
|
21629
21635
|
// `break traverseScopesLoop;` takes us to here
|
21630
21636
|
|
21631
|
-
if(dirty && !(ttl--)) {
|
21637
|
+
if((dirty || asyncQueue.length) && !(ttl--)) {
|
21632
21638
|
clearPhase();
|
21633
21639
|
throw $rootScopeMinErr('infdig',
|
21634
21640
|
'{0} $digest() iterations reached. Aborting!\n' +
|
@@ -22479,7 +22485,7 @@ function $SceDelegateProvider() {
|
|
22479
22485
|
*
|
22480
22486
|
* @param {*} value The result of a prior {@link ng.$sceDelegate#methods_trustAs `$sceDelegate.trustAs`}
|
22481
22487
|
* call or anything else.
|
22482
|
-
* @returns {*} The value
|
22488
|
+
* @returns {*} The `value` that was originally provided to {@link ng.$sceDelegate#methods_trustAs
|
22483
22489
|
* `$sceDelegate.trustAs`} if `value` is the result of such a call. Otherwise, returns
|
22484
22490
|
* `value` unchanged.
|
22485
22491
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license AngularJS v1.2.
|
2
|
+
* @license AngularJS v1.2.9
|
3
3
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -68,7 +68,7 @@ function minErr(module) {
|
|
68
68
|
return match;
|
69
69
|
});
|
70
70
|
|
71
|
-
message = message + '\nhttp://errors.angularjs.org/1.2.
|
71
|
+
message = message + '\nhttp://errors.angularjs.org/1.2.9/' +
|
72
72
|
(module ? module + '/' : '') + code;
|
73
73
|
for (i = 2; i < arguments.length; i++) {
|
74
74
|
message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
|
@@ -271,7 +271,8 @@ function isArrayLike(obj) {
|
|
271
271
|
* is the value of an object property or an array element and `key` is the object property key or
|
272
272
|
* array element index. Specifying a `context` for the function is optional.
|
273
273
|
*
|
274
|
-
*
|
274
|
+
* It is worth nothing that `.forEach` does not iterate over inherited properties because it filters
|
275
|
+
* using the `hasOwnProperty` method.
|
275
276
|
*
|
276
277
|
<pre>
|
277
278
|
var values = {name: 'misko', gender: 'male'};
|
@@ -1833,11 +1834,11 @@ function setupModuleLoader(window) {
|
|
1833
1834
|
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
|
1834
1835
|
*/
|
1835
1836
|
var version = {
|
1836
|
-
full: '1.2.
|
1837
|
+
full: '1.2.9', // all of these placeholder strings will be replaced by grunt's
|
1837
1838
|
major: 1, // package task
|
1838
1839
|
minor: 2,
|
1839
|
-
dot:
|
1840
|
-
codeName: '
|
1840
|
+
dot: 9,
|
1841
|
+
codeName: 'enchanted-articulacy'
|
1841
1842
|
};
|
1842
1843
|
|
1843
1844
|
|
@@ -3399,7 +3400,7 @@ function annotate(fn) {
|
|
3399
3400
|
* constructor function that will be used to instantiate the service instance.
|
3400
3401
|
*
|
3401
3402
|
* You should use {@link AUTO.$provide#methods_service $provide.service(class)} if you define your service
|
3402
|
-
* as a type/class.
|
3403
|
+
* as a type/class.
|
3403
3404
|
*
|
3404
3405
|
* @param {string} name The name of the instance.
|
3405
3406
|
* @param {Function} constructor A class (constructor function) that will be instantiated.
|
@@ -3407,20 +3408,25 @@ function annotate(fn) {
|
|
3407
3408
|
*
|
3408
3409
|
* @example
|
3409
3410
|
* Here is an example of registering a service using
|
3410
|
-
* {@link AUTO.$provide#methods_service $provide.service(class)}
|
3411
|
+
* {@link AUTO.$provide#methods_service $provide.service(class)}.
|
3411
3412
|
* <pre>
|
3412
|
-
*
|
3413
|
-
*
|
3414
|
-
*
|
3415
|
-
*
|
3416
|
-
*
|
3417
|
-
*
|
3413
|
+
* $provide.service('ping', ['$http', function($http) {
|
3414
|
+
* var Ping = function() {
|
3415
|
+
* this.$http = $http;
|
3416
|
+
* };
|
3417
|
+
*
|
3418
|
+
* Ping.prototype.send = function() {
|
3419
|
+
* return this.$http.get('/ping');
|
3420
|
+
* };
|
3421
|
+
*
|
3422
|
+
* return Ping;
|
3423
|
+
* }]);
|
3418
3424
|
* </pre>
|
3419
3425
|
* You would then inject and use this service like this:
|
3420
3426
|
* <pre>
|
3421
|
-
* someModule.controller
|
3422
|
-
* ping.send()
|
3423
|
-
* ]
|
3427
|
+
* someModule.controller('Ctrl', ['ping', function(ping) {
|
3428
|
+
* ping.send();
|
3429
|
+
* }]);
|
3424
3430
|
* </pre>
|
3425
3431
|
*/
|
3426
3432
|
|
@@ -6945,9 +6951,9 @@ function $HttpProvider() {
|
|
6945
6951
|
common: {
|
6946
6952
|
'Accept': 'application/json, text/plain, */*'
|
6947
6953
|
},
|
6948
|
-
post: CONTENT_TYPE_APPLICATION_JSON,
|
6949
|
-
put: CONTENT_TYPE_APPLICATION_JSON,
|
6950
|
-
patch: CONTENT_TYPE_APPLICATION_JSON
|
6954
|
+
post: copy(CONTENT_TYPE_APPLICATION_JSON),
|
6955
|
+
put: copy(CONTENT_TYPE_APPLICATION_JSON),
|
6956
|
+
patch: copy(CONTENT_TYPE_APPLICATION_JSON)
|
6951
6957
|
},
|
6952
6958
|
|
6953
6959
|
xsrfCookieName: 'XSRF-TOKEN',
|
@@ -7158,7 +7164,7 @@ function $HttpProvider() {
|
|
7158
7164
|
* to `push` or `unshift` a new transformation function into the transformation chain. You can
|
7159
7165
|
* also decide to completely override any default transformations by assigning your
|
7160
7166
|
* transformation functions to these properties directly without the array wrapper. These defaults
|
7161
|
-
* are again available on the $http factory at run-time, which may be useful if you have run-time
|
7167
|
+
* are again available on the $http factory at run-time, which may be useful if you have run-time
|
7162
7168
|
* services you wish to be involved in your transformations.
|
7163
7169
|
*
|
7164
7170
|
* Similarly, to locally override the request/response transforms, augment the
|
@@ -11836,7 +11842,7 @@ function $RootScopeProvider(){
|
|
11836
11842
|
|
11837
11843
|
// `break traverseScopesLoop;` takes us to here
|
11838
11844
|
|
11839
|
-
if(dirty && !(ttl--)) {
|
11845
|
+
if((dirty || asyncQueue.length) && !(ttl--)) {
|
11840
11846
|
clearPhase();
|
11841
11847
|
throw $rootScopeMinErr('infdig',
|
11842
11848
|
'{0} $digest() iterations reached. Aborting!\n' +
|
@@ -12687,7 +12693,7 @@ function $SceDelegateProvider() {
|
|
12687
12693
|
*
|
12688
12694
|
* @param {*} value The result of a prior {@link ng.$sceDelegate#methods_trustAs `$sceDelegate.trustAs`}
|
12689
12695
|
* call or anything else.
|
12690
|
-
* @returns {*} The value
|
12696
|
+
* @returns {*} The `value` that was originally provided to {@link ng.$sceDelegate#methods_trustAs
|
12691
12697
|
* `$sceDelegate.trustAs`} if `value` is the result of such a call. Otherwise, returns
|
12692
12698
|
* `value` unchanged.
|
12693
12699
|
*/
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular-gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -822,6 +822,16 @@ files:
|
|
822
822
|
- vendor/assets/javascripts/1.2.8/angular-scenario.js
|
823
823
|
- vendor/assets/javascripts/1.2.8/angular-touch.js
|
824
824
|
- vendor/assets/javascripts/1.2.8/angular.js
|
825
|
+
- vendor/assets/javascripts/1.2.9/angular-animate.js
|
826
|
+
- vendor/assets/javascripts/1.2.9/angular-cookies.js
|
827
|
+
- vendor/assets/javascripts/1.2.9/angular-loader.js
|
828
|
+
- vendor/assets/javascripts/1.2.9/angular-mocks.js
|
829
|
+
- vendor/assets/javascripts/1.2.9/angular-resource.js
|
830
|
+
- vendor/assets/javascripts/1.2.9/angular-route.js
|
831
|
+
- vendor/assets/javascripts/1.2.9/angular-sanitize.js
|
832
|
+
- vendor/assets/javascripts/1.2.9/angular-scenario.js
|
833
|
+
- vendor/assets/javascripts/1.2.9/angular-touch.js
|
834
|
+
- vendor/assets/javascripts/1.2.9/angular.js
|
825
835
|
- vendor/assets/javascripts/angular-animate.js
|
826
836
|
- vendor/assets/javascripts/angular-cookies.js
|
827
837
|
- vendor/assets/javascripts/angular-loader.js
|