angular-gem 1.2.25 → 1.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/angular-gem/version.rb +1 -1
- data/vendor/assets/javascripts/1.2.26/angular-animate.js +1689 -0
- data/vendor/assets/javascripts/1.2.26/angular-cookies.js +206 -0
- data/vendor/assets/javascripts/1.2.26/angular-loader.js +415 -0
- data/vendor/assets/javascripts/1.2.26/angular-mocks.js +2177 -0
- data/vendor/assets/javascripts/1.2.26/angular-resource.js +627 -0
- data/vendor/assets/javascripts/1.2.26/angular-route.js +921 -0
- data/vendor/assets/javascripts/1.2.26/angular-sanitize.js +647 -0
- data/vendor/assets/javascripts/1.2.26/angular-scenario.js +34030 -0
- data/vendor/assets/javascripts/1.2.26/angular-touch.js +584 -0
- data/vendor/assets/javascripts/1.2.26/angular.js +22030 -0
- data/vendor/assets/javascripts/angular-animate.js +1 -1
- 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 +1 -1
- data/vendor/assets/javascripts/angular-resource.js +1 -1
- data/vendor/assets/javascripts/angular-route.js +1 -4
- data/vendor/assets/javascripts/angular-sanitize.js +1 -1
- data/vendor/assets/javascripts/angular-scenario.js +30 -24
- data/vendor/assets/javascripts/angular-touch.js +1 -1
- data/vendor/assets/javascripts/angular.js +30 -24
- metadata +12 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license AngularJS v1.2.
|
2
|
+
* @license AngularJS v1.2.26
|
3
3
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -69,7 +69,7 @@ function minErr(module) {
|
|
69
69
|
return match;
|
70
70
|
});
|
71
71
|
|
72
|
-
message = message + '\nhttp://errors.angularjs.org/1.2.
|
72
|
+
message = message + '\nhttp://errors.angularjs.org/1.2.26/' +
|
73
73
|
(module ? module + '/' : '') + code;
|
74
74
|
for (i = 2; i < arguments.length; i++) {
|
75
75
|
message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license AngularJS v1.2.
|
2
|
+
* @license AngularJS v1.2.26
|
3
3
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -270,9 +270,6 @@ function $RouteProvider(){
|
|
270
270
|
* This example shows how changing the URL hash causes the `$route` to match a route against the
|
271
271
|
* URL, and the `ngView` pulls in the partial.
|
272
272
|
*
|
273
|
-
* Note that this example is using {@link ng.directive:script inlined templates}
|
274
|
-
* to get it working on jsfiddle as well.
|
275
|
-
*
|
276
273
|
* <example name="$route-service" module="ngRouteExample"
|
277
274
|
* deps="angular-route.js" fixBase="true">
|
278
275
|
* <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.26
|
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.26/' +
|
9864
9864
|
(module ? module + '/' : '') + code;
|
9865
9865
|
for (i = 2; i < arguments.length; i++) {
|
9866
9866
|
message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
|
@@ -10209,7 +10209,7 @@ function setHashKey(obj, h) {
|
|
10209
10209
|
* @kind function
|
10210
10210
|
*
|
10211
10211
|
* @description
|
10212
|
-
* Extends the destination object `dst` by copying
|
10212
|
+
* Extends the destination object `dst` by copying own enumerable properties from the `src` object(s)
|
10213
10213
|
* to `dst`. You can specify multiple `src` objects.
|
10214
10214
|
*
|
10215
10215
|
* @param {Object} dst Destination object.
|
@@ -11779,11 +11779,11 @@ function setupModuleLoader(window) {
|
|
11779
11779
|
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
|
11780
11780
|
*/
|
11781
11781
|
var version = {
|
11782
|
-
full: '1.2.
|
11782
|
+
full: '1.2.26', // all of these placeholder strings will be replaced by grunt's
|
11783
11783
|
major: 1, // package task
|
11784
11784
|
minor: 2,
|
11785
|
-
dot:
|
11786
|
-
codeName: '
|
11785
|
+
dot: 26,
|
11786
|
+
codeName: 'captivating-disinterest'
|
11787
11787
|
};
|
11788
11788
|
|
11789
11789
|
|
@@ -15321,7 +15321,7 @@ function $TemplateCacheProvider() {
|
|
15321
15321
|
* }
|
15322
15322
|
* ```
|
15323
15323
|
*
|
15324
|
-
*
|
15324
|
+
* ## Example
|
15325
15325
|
*
|
15326
15326
|
* <div class="alert alert-warning">
|
15327
15327
|
* **Note**: Typically directives are registered with `module.directive`. The example below is
|
@@ -17829,12 +17829,13 @@ function $HttpProvider() {
|
|
17829
17829
|
expect(data.getText()).toMatch(/Hello, \$http!/);
|
17830
17830
|
});
|
17831
17831
|
|
17832
|
-
|
17833
|
-
|
17834
|
-
|
17835
|
-
|
17836
|
-
|
17837
|
-
|
17832
|
+
// Commented out due to flakes. See https://github.com/angular/angular.js/issues/9185
|
17833
|
+
// it('should make a JSONP request to angularjs.org', function() {
|
17834
|
+
// sampleJsonpBtn.click();
|
17835
|
+
// fetchBtn.click();
|
17836
|
+
// expect(status.getText()).toMatch('200');
|
17837
|
+
// expect(data.getText()).toMatch(/Super Hero!/);
|
17838
|
+
// });
|
17838
17839
|
|
17839
17840
|
it('should make JSONP request to invalid URL and invoke the error handler',
|
17840
17841
|
function() {
|
@@ -25177,9 +25178,9 @@ var uppercaseFilter = valueFn(uppercase);
|
|
25177
25178
|
}]);
|
25178
25179
|
</script>
|
25179
25180
|
<div ng-controller="ExampleController">
|
25180
|
-
Limit {{numbers}} to: <input type="
|
25181
|
+
Limit {{numbers}} to: <input type="number" step="1" ng-model="numLimit">
|
25181
25182
|
<p>Output numbers: {{ numbers | limitTo:numLimit }}</p>
|
25182
|
-
Limit {{letters}} to: <input type="
|
25183
|
+
Limit {{letters}} to: <input type="number" step="1" ng-model="letterLimit">
|
25183
25184
|
<p>Output letters: {{ letters | limitTo:letterLimit }}</p>
|
25184
25185
|
</div>
|
25185
25186
|
</file>
|
@@ -25196,14 +25197,15 @@ var uppercaseFilter = valueFn(uppercase);
|
|
25196
25197
|
expect(limitedLetters.getText()).toEqual('Output letters: abc');
|
25197
25198
|
});
|
25198
25199
|
|
25199
|
-
|
25200
|
-
|
25201
|
-
|
25202
|
-
|
25203
|
-
|
25204
|
-
|
25205
|
-
|
25206
|
-
|
25200
|
+
// There is a bug in safari and protractor that doesn't like the minus key
|
25201
|
+
// it('should update the output when -3 is entered', function() {
|
25202
|
+
// numLimitInput.clear();
|
25203
|
+
// numLimitInput.sendKeys('-3');
|
25204
|
+
// letterLimitInput.clear();
|
25205
|
+
// letterLimitInput.sendKeys('-3');
|
25206
|
+
// expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]');
|
25207
|
+
// expect(limitedLetters.getText()).toEqual('Output letters: ghi');
|
25208
|
+
// });
|
25207
25209
|
|
25208
25210
|
it('should not exceed the maximum size of input array', function() {
|
25209
25211
|
numLimitInput.clear();
|
@@ -28605,6 +28607,7 @@ var ngCloakDirective = ngDirective({
|
|
28605
28607
|
*
|
28606
28608
|
* @element ANY
|
28607
28609
|
* @scope
|
28610
|
+
* @priority 500
|
28608
28611
|
* @param {expression} ngController Name of a globally accessible constructor function or an
|
28609
28612
|
* {@link guide/expression expression} that on the current scope evaluates to a
|
28610
28613
|
* constructor function. The controller instance can be published into a scope property
|
@@ -31717,6 +31720,7 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) {
|
|
31717
31720
|
id: option.id,
|
31718
31721
|
selected: option.selected
|
31719
31722
|
});
|
31723
|
+
selectCtrl.addOption(option.label, element);
|
31720
31724
|
if (lastElement) {
|
31721
31725
|
lastElement.after(element);
|
31722
31726
|
} else {
|
@@ -31728,7 +31732,9 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) {
|
|
31728
31732
|
// remove any excessive OPTIONs in a group
|
31729
31733
|
index++; // increment since the existingOptions[0] is parent element not OPTION
|
31730
31734
|
while(existingOptions.length > index) {
|
31731
|
-
existingOptions.pop()
|
31735
|
+
option = existingOptions.pop();
|
31736
|
+
selectCtrl.removeOption(option.label);
|
31737
|
+
option.element.remove();
|
31732
31738
|
}
|
31733
31739
|
}
|
31734
31740
|
// remove any excessive OPTGROUPs from select
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license AngularJS v1.2.
|
2
|
+
* @license AngularJS v1.2.26
|
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.26/' +
|
72
72
|
(module ? module + '/' : '') + code;
|
73
73
|
for (i = 2; i < arguments.length; i++) {
|
74
74
|
message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
|
@@ -417,7 +417,7 @@ function setHashKey(obj, h) {
|
|
417
417
|
* @kind function
|
418
418
|
*
|
419
419
|
* @description
|
420
|
-
* Extends the destination object `dst` by copying
|
420
|
+
* Extends the destination object `dst` by copying own enumerable properties from the `src` object(s)
|
421
421
|
* to `dst`. You can specify multiple `src` objects.
|
422
422
|
*
|
423
423
|
* @param {Object} dst Destination object.
|
@@ -1987,11 +1987,11 @@ function setupModuleLoader(window) {
|
|
1987
1987
|
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
|
1988
1988
|
*/
|
1989
1989
|
var version = {
|
1990
|
-
full: '1.2.
|
1990
|
+
full: '1.2.26', // all of these placeholder strings will be replaced by grunt's
|
1991
1991
|
major: 1, // package task
|
1992
1992
|
minor: 2,
|
1993
|
-
dot:
|
1994
|
-
codeName: '
|
1993
|
+
dot: 26,
|
1994
|
+
codeName: 'captivating-disinterest'
|
1995
1995
|
};
|
1996
1996
|
|
1997
1997
|
|
@@ -5529,7 +5529,7 @@ function $TemplateCacheProvider() {
|
|
5529
5529
|
* }
|
5530
5530
|
* ```
|
5531
5531
|
*
|
5532
|
-
*
|
5532
|
+
* ## Example
|
5533
5533
|
*
|
5534
5534
|
* <div class="alert alert-warning">
|
5535
5535
|
* **Note**: Typically directives are registered with `module.directive`. The example below is
|
@@ -8037,12 +8037,13 @@ function $HttpProvider() {
|
|
8037
8037
|
expect(data.getText()).toMatch(/Hello, \$http!/);
|
8038
8038
|
});
|
8039
8039
|
|
8040
|
-
|
8041
|
-
|
8042
|
-
|
8043
|
-
|
8044
|
-
|
8045
|
-
|
8040
|
+
// Commented out due to flakes. See https://github.com/angular/angular.js/issues/9185
|
8041
|
+
// it('should make a JSONP request to angularjs.org', function() {
|
8042
|
+
// sampleJsonpBtn.click();
|
8043
|
+
// fetchBtn.click();
|
8044
|
+
// expect(status.getText()).toMatch('200');
|
8045
|
+
// expect(data.getText()).toMatch(/Super Hero!/);
|
8046
|
+
// });
|
8046
8047
|
|
8047
8048
|
it('should make JSONP request to invalid URL and invoke the error handler',
|
8048
8049
|
function() {
|
@@ -15385,9 +15386,9 @@ var uppercaseFilter = valueFn(uppercase);
|
|
15385
15386
|
}]);
|
15386
15387
|
</script>
|
15387
15388
|
<div ng-controller="ExampleController">
|
15388
|
-
Limit {{numbers}} to: <input type="
|
15389
|
+
Limit {{numbers}} to: <input type="number" step="1" ng-model="numLimit">
|
15389
15390
|
<p>Output numbers: {{ numbers | limitTo:numLimit }}</p>
|
15390
|
-
Limit {{letters}} to: <input type="
|
15391
|
+
Limit {{letters}} to: <input type="number" step="1" ng-model="letterLimit">
|
15391
15392
|
<p>Output letters: {{ letters | limitTo:letterLimit }}</p>
|
15392
15393
|
</div>
|
15393
15394
|
</file>
|
@@ -15404,14 +15405,15 @@ var uppercaseFilter = valueFn(uppercase);
|
|
15404
15405
|
expect(limitedLetters.getText()).toEqual('Output letters: abc');
|
15405
15406
|
});
|
15406
15407
|
|
15407
|
-
|
15408
|
-
|
15409
|
-
|
15410
|
-
|
15411
|
-
|
15412
|
-
|
15413
|
-
|
15414
|
-
|
15408
|
+
// There is a bug in safari and protractor that doesn't like the minus key
|
15409
|
+
// it('should update the output when -3 is entered', function() {
|
15410
|
+
// numLimitInput.clear();
|
15411
|
+
// numLimitInput.sendKeys('-3');
|
15412
|
+
// letterLimitInput.clear();
|
15413
|
+
// letterLimitInput.sendKeys('-3');
|
15414
|
+
// expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]');
|
15415
|
+
// expect(limitedLetters.getText()).toEqual('Output letters: ghi');
|
15416
|
+
// });
|
15415
15417
|
|
15416
15418
|
it('should not exceed the maximum size of input array', function() {
|
15417
15419
|
numLimitInput.clear();
|
@@ -18813,6 +18815,7 @@ var ngCloakDirective = ngDirective({
|
|
18813
18815
|
*
|
18814
18816
|
* @element ANY
|
18815
18817
|
* @scope
|
18818
|
+
* @priority 500
|
18816
18819
|
* @param {expression} ngController Name of a globally accessible constructor function or an
|
18817
18820
|
* {@link guide/expression expression} that on the current scope evaluates to a
|
18818
18821
|
* constructor function. The controller instance can be published into a scope property
|
@@ -21925,6 +21928,7 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) {
|
|
21925
21928
|
id: option.id,
|
21926
21929
|
selected: option.selected
|
21927
21930
|
});
|
21931
|
+
selectCtrl.addOption(option.label, element);
|
21928
21932
|
if (lastElement) {
|
21929
21933
|
lastElement.after(element);
|
21930
21934
|
} else {
|
@@ -21936,7 +21940,9 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) {
|
|
21936
21940
|
// remove any excessive OPTIONs in a group
|
21937
21941
|
index++; // increment since the existingOptions[0] is parent element not OPTION
|
21938
21942
|
while(existingOptions.length > index) {
|
21939
|
-
existingOptions.pop()
|
21943
|
+
option = existingOptions.pop();
|
21944
|
+
selectCtrl.removeOption(option.label);
|
21945
|
+
option.element.remove();
|
21940
21946
|
}
|
21941
21947
|
}
|
21942
21948
|
// remove any excessive OPTGROUPs from select
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Vuerings
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -928,6 +928,16 @@ files:
|
|
928
928
|
- vendor/assets/javascripts/1.2.25/angular-scenario.js
|
929
929
|
- vendor/assets/javascripts/1.2.25/angular-touch.js
|
930
930
|
- vendor/assets/javascripts/1.2.25/angular.js
|
931
|
+
- vendor/assets/javascripts/1.2.26/angular-animate.js
|
932
|
+
- vendor/assets/javascripts/1.2.26/angular-cookies.js
|
933
|
+
- vendor/assets/javascripts/1.2.26/angular-loader.js
|
934
|
+
- vendor/assets/javascripts/1.2.26/angular-mocks.js
|
935
|
+
- vendor/assets/javascripts/1.2.26/angular-resource.js
|
936
|
+
- vendor/assets/javascripts/1.2.26/angular-route.js
|
937
|
+
- vendor/assets/javascripts/1.2.26/angular-sanitize.js
|
938
|
+
- vendor/assets/javascripts/1.2.26/angular-scenario.js
|
939
|
+
- vendor/assets/javascripts/1.2.26/angular-touch.js
|
940
|
+
- vendor/assets/javascripts/1.2.26/angular.js
|
931
941
|
- vendor/assets/javascripts/1.2.3/angular-animate.js
|
932
942
|
- vendor/assets/javascripts/1.2.3/angular-cookies.js
|
933
943
|
- vendor/assets/javascripts/1.2.3/angular-loader.js
|