angular-gem 1.2.10 → 1.2.11
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.11/angular-animate.js +1486 -0
- data/vendor/assets/javascripts/1.2.11/angular-cookies.js +202 -0
- data/vendor/assets/javascripts/1.2.11/angular-loader.js +410 -0
- data/vendor/assets/javascripts/1.2.11/angular-mocks.js +2165 -0
- data/vendor/assets/javascripts/1.2.11/angular-resource.js +596 -0
- data/vendor/assets/javascripts/1.2.11/angular-route.js +921 -0
- data/vendor/assets/javascripts/1.2.11/angular-sanitize.js +625 -0
- data/vendor/assets/javascripts/1.2.11/angular-scenario.js +32763 -0
- data/vendor/assets/javascripts/1.2.11/angular-touch.js +563 -0
- data/vendor/assets/javascripts/1.2.11/angular.js +20757 -0
- data/vendor/assets/javascripts/angular-animate.js +2 -5
- 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 +3 -3
- data/vendor/assets/javascripts/angular-resource.js +1 -1
- data/vendor/assets/javascripts/angular-route.js +3 -3
- data/vendor/assets/javascripts/angular-sanitize.js +1 -1
- data/vendor/assets/javascripts/angular-scenario.js +55 -89
- data/vendor/assets/javascripts/angular-touch.js +1 -1
- data/vendor/assets/javascripts/angular.js +55 -89
- 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
|
*/
|
@@ -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) + '=' +
|
@@ -1834,11 +1834,11 @@ function setupModuleLoader(window) {
|
|
1834
1834
|
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
|
1835
1835
|
*/
|
1836
1836
|
var version = {
|
1837
|
-
full: '1.2.
|
1837
|
+
full: '1.2.9', // all of these placeholder strings will be replaced by grunt's
|
1838
1838
|
major: 1, // package task
|
1839
1839
|
minor: 2,
|
1840
|
-
dot:
|
1841
|
-
codeName: '
|
1840
|
+
dot: 9,
|
1841
|
+
codeName: 'enchanted-articulacy'
|
1842
1842
|
};
|
1843
1843
|
|
1844
1844
|
|
@@ -3280,9 +3280,11 @@ function annotate(fn) {
|
|
3280
3280
|
* @param {(Object|function())} provider If the provider is:
|
3281
3281
|
*
|
3282
3282
|
* - `Object`: then it should have a `$get` method. The `$get` method will be invoked using
|
3283
|
-
*
|
3284
|
-
*
|
3285
|
-
*
|
3283
|
+
* {@link AUTO.$injector#invoke $injector.invoke()} when an instance needs to be
|
3284
|
+
* created.
|
3285
|
+
* - `Constructor`: a new instance of the provider will be created using
|
3286
|
+
* {@link AUTO.$injector#instantiate $injector.instantiate()}, then treated as
|
3287
|
+
* `object`.
|
3286
3288
|
*
|
3287
3289
|
* @returns {Object} registered provider instance
|
3288
3290
|
|
@@ -7061,14 +7063,31 @@ function $HttpProvider() {
|
|
7061
7063
|
* XMLHttpRequest will transparently follow it, meaning that the error callback will not be
|
7062
7064
|
* called for such responses.
|
7063
7065
|
*
|
7066
|
+
* # Calling $http from outside AngularJS
|
7067
|
+
* The `$http` service will not actually send the request until the next `$digest()` is
|
7068
|
+
* executed. Normally this is not an issue, since almost all the time your call to `$http` will
|
7069
|
+
* be from within a `$apply()` block.
|
7070
|
+
* If you are calling `$http` from outside Angular, then you should wrap it in a call to
|
7071
|
+
* `$apply` to cause a $digest to occur and also to handle errors in the block correctly.
|
7072
|
+
*
|
7073
|
+
* ```
|
7074
|
+
* $scope.$apply(function() {
|
7075
|
+
* $http(...);
|
7076
|
+
* });
|
7077
|
+
* ```
|
7078
|
+
*
|
7064
7079
|
* # Writing Unit Tests that use $http
|
7065
|
-
* When unit testing
|
7066
|
-
*
|
7067
|
-
*
|
7080
|
+
* When unit testing you are mostly responsible for scheduling the `$digest` cycle. If you do
|
7081
|
+
* not trigger a `$digest` before calling `$httpBackend.flush()` then the request will not have
|
7082
|
+
* been made and `$httpBackend.expect(...)` expectations will fail. The solution is to run the
|
7083
|
+
* code that calls the `$http()` method inside a $apply block as explained in the previous
|
7084
|
+
* section.
|
7068
7085
|
*
|
7069
7086
|
* ```
|
7070
7087
|
* $httpBackend.expectGET(...);
|
7071
|
-
* $
|
7088
|
+
* $scope.$apply(function() {
|
7089
|
+
* $http.get(...);
|
7090
|
+
* });
|
7072
7091
|
* $httpBackend.flush();
|
7073
7092
|
* ```
|
7074
7093
|
*
|
@@ -8303,7 +8322,7 @@ function $IntervalProvider() {
|
|
8303
8322
|
* In tests you can use {@link ngMock.$interval#methods_flush `$interval.flush(millis)`} to
|
8304
8323
|
* move forward by `millis` milliseconds and trigger any functions scheduled to run in that
|
8305
8324
|
* time.
|
8306
|
-
*
|
8325
|
+
*
|
8307
8326
|
* <div class="alert alert-warning">
|
8308
8327
|
* **Note**: Intervals created by this service must be explicitly destroyed when you are finished
|
8309
8328
|
* with them. In particular they are not automatically destroyed when a controller's scope or a
|
@@ -8416,8 +8435,8 @@ function $IntervalProvider() {
|
|
8416
8435
|
promise = deferred.promise,
|
8417
8436
|
iteration = 0,
|
8418
8437
|
skipApply = (isDefined(invokeApply) && !invokeApply);
|
8419
|
-
|
8420
|
-
count = isDefined(count) ? count : 0
|
8438
|
+
|
8439
|
+
count = isDefined(count) ? count : 0,
|
8421
8440
|
|
8422
8441
|
promise.then(null, null, fn);
|
8423
8442
|
|
@@ -10117,7 +10136,7 @@ Parser.prototype = {
|
|
10117
10136
|
var getter = getterFn(field, this.options, this.text);
|
10118
10137
|
|
10119
10138
|
return extend(function(scope, locals, self) {
|
10120
|
-
return getter(self || object(scope, locals));
|
10139
|
+
return getter(self || object(scope, locals), locals);
|
10121
10140
|
}, {
|
10122
10141
|
assign: function(scope, value, locals) {
|
10123
10142
|
return setter(object(scope, locals), field, value, parser.text, parser.options);
|
@@ -10693,9 +10712,9 @@ function $ParseProvider() {
|
|
10693
10712
|
* asynchronous programming what `try`, `catch` and `throw` keywords are to synchronous programming.
|
10694
10713
|
*
|
10695
10714
|
* <pre>
|
10696
|
-
* // for the purpose of this example let's assume that variables `$q
|
10697
|
-
* //
|
10698
|
-
*
|
10715
|
+
* // for the purpose of this example let's assume that variables `$q` and `scope` are
|
10716
|
+
* // available in the current lexical scope (they could have been injected or passed in).
|
10717
|
+
*
|
10699
10718
|
* function asyncGreet(name) {
|
10700
10719
|
* var deferred = $q.defer();
|
10701
10720
|
*
|
@@ -12628,7 +12647,7 @@ function $SceDelegateProvider() {
|
|
12628
12647
|
*
|
12629
12648
|
* @description
|
12630
12649
|
* Returns an object that is trusted by angular for use in specified strict
|
12631
|
-
* contextual escaping contexts (such as ng-bind-
|
12650
|
+
* contextual escaping contexts (such as ng-html-bind-unsafe, ng-include, any src
|
12632
12651
|
* attribute interpolation, any dom event binding attribute interpolation
|
12633
12652
|
* such as for onclick, etc.) that uses the provided value.
|
12634
12653
|
* See {@link ng.$sce $sce} for enabling strict contextual escaping.
|
@@ -12855,8 +12874,8 @@ function $SceDelegateProvider() {
|
|
12855
12874
|
* It's important to remember that SCE only applies to interpolation expressions.
|
12856
12875
|
*
|
12857
12876
|
* If your expressions are constant literals, they're automatically trusted and you don't need to
|
12858
|
-
* call `$sce.trustAs` on them
|
12859
|
-
* `<div ng-bind-
|
12877
|
+
* call `$sce.trustAs` on them. (e.g.
|
12878
|
+
* `<div ng-html-bind-unsafe="'<b>implicitly trusted</b>'"></div>`) just works.
|
12860
12879
|
*
|
12861
12880
|
* Additionally, `a[href]` and `img[src]` automatically sanitize their URLs and do not pass them
|
12862
12881
|
* through {@link ng.$sce#methods_getTrusted $sce.getTrusted}. SCE doesn't play a role here.
|
@@ -12916,7 +12935,7 @@ function $SceDelegateProvider() {
|
|
12916
12935
|
* matched against the **entire** *normalized / absolute URL* of the resource being tested
|
12917
12936
|
* (even when the RegExp did not have the `^` and `$` codes.) In addition, any flags
|
12918
12937
|
* present on the RegExp (such as multiline, global, ignoreCase) are ignored.
|
12919
|
-
* - If you are generating your
|
12938
|
+
* - If you are generating your Javascript from some other templating engine (not
|
12920
12939
|
* recommended, e.g. in issue [#4006](https://github.com/angular/angular.js/issues/4006)),
|
12921
12940
|
* remember to escape your regular expression (and be aware that you might need more than
|
12922
12941
|
* one level of escaping depending on your templating engine and the way you interpolated
|
@@ -12933,7 +12952,7 @@ function $SceDelegateProvider() {
|
|
12933
12952
|
* ## Show me an example using SCE.
|
12934
12953
|
*
|
12935
12954
|
* @example
|
12936
|
-
<example module="mySceApp"
|
12955
|
+
<example module="mySceApp">
|
12937
12956
|
<file name="index.html">
|
12938
12957
|
<div ng-controller="myAppController as myCtrl">
|
12939
12958
|
<i ng-bind-html="myCtrl.explicitlyTrustedHtml" id="explicitlyTrustedHtml"></i><br><br>
|
@@ -13158,8 +13177,8 @@ function $SceProvider() {
|
|
13158
13177
|
*
|
13159
13178
|
* @description
|
13160
13179
|
* Delegates to {@link ng.$sceDelegate#methods_trustAs `$sceDelegate.trustAs`}. As such,
|
13161
|
-
* returns an
|
13162
|
-
* escaping contexts (such as ng-bind-
|
13180
|
+
* returns an objectthat is trusted by angular for use in specified strict contextual
|
13181
|
+
* escaping contexts (such as ng-html-bind-unsafe, ng-include, any src attribute
|
13163
13182
|
* interpolation, any dom event binding attribute interpolation such as for onclick, etc.)
|
13164
13183
|
* that uses the provided value. See * {@link ng.$sce $sce} for enabling strict contextual
|
13165
13184
|
* escaping.
|
@@ -14837,14 +14856,11 @@ var htmlAnchorDirective = valueFn({
|
|
14837
14856
|
element.append(document.createComment('IE fix'));
|
14838
14857
|
}
|
14839
14858
|
|
14840
|
-
if (!attr.href && !attr.
|
14859
|
+
if (!attr.href && !attr.name) {
|
14841
14860
|
return function(scope, element) {
|
14842
|
-
// SVGAElement does not use the href attribute, but rather the 'xlinkHref' attribute.
|
14843
|
-
var href = toString.call(element.prop('href')) === '[object SVGAnimatedString]' ?
|
14844
|
-
'xlink:href' : 'href';
|
14845
14861
|
element.on('click', function(event){
|
14846
14862
|
// if we have no href url, then don't navigate anywhere.
|
14847
|
-
if (!element.attr(href)) {
|
14863
|
+
if (!element.attr('href')) {
|
14848
14864
|
event.preventDefault();
|
14849
14865
|
}
|
14850
14866
|
});
|
@@ -15611,7 +15627,7 @@ var ngFormDirective = formDirectiveFactory(true);
|
|
15611
15627
|
*/
|
15612
15628
|
|
15613
15629
|
var URL_REGEXP = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/;
|
15614
|
-
var EMAIL_REGEXP = /^[
|
15630
|
+
var EMAIL_REGEXP = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}$/;
|
15615
15631
|
var NUMBER_REGEXP = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/;
|
15616
15632
|
|
15617
15633
|
var inputType = {
|
@@ -15911,8 +15927,6 @@ var inputType = {
|
|
15911
15927
|
* @param {string=} name Property name of the form under which the control is published.
|
15912
15928
|
* @param {string=} ngChange Angular expression to be executed when input changes due to user
|
15913
15929
|
* interaction with the input element.
|
15914
|
-
* @param {string} ngValue Angular expression which sets the value to which the expression should
|
15915
|
-
* be set when selected.
|
15916
15930
|
*
|
15917
15931
|
* @example
|
15918
15932
|
<doc:example>
|
@@ -15920,26 +15934,21 @@ var inputType = {
|
|
15920
15934
|
<script>
|
15921
15935
|
function Ctrl($scope) {
|
15922
15936
|
$scope.color = 'blue';
|
15923
|
-
$scope.specialValue = {
|
15924
|
-
"id": "12345",
|
15925
|
-
"value": "green"
|
15926
|
-
};
|
15927
15937
|
}
|
15928
15938
|
</script>
|
15929
15939
|
<form name="myForm" ng-controller="Ctrl">
|
15930
15940
|
<input type="radio" ng-model="color" value="red"> Red <br/>
|
15931
|
-
<input type="radio" ng-model="color"
|
15941
|
+
<input type="radio" ng-model="color" value="green"> Green <br/>
|
15932
15942
|
<input type="radio" ng-model="color" value="blue"> Blue <br/>
|
15933
|
-
<tt>color = {{color
|
15943
|
+
<tt>color = {{color}}</tt><br/>
|
15934
15944
|
</form>
|
15935
|
-
Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
|
15936
15945
|
</doc:source>
|
15937
15946
|
<doc:scenario>
|
15938
15947
|
it('should change state', function() {
|
15939
|
-
expect(binding('color')).toEqual('
|
15948
|
+
expect(binding('color')).toEqual('blue');
|
15940
15949
|
|
15941
15950
|
input('color').select('red');
|
15942
|
-
expect(binding('color')).toEqual('
|
15951
|
+
expect(binding('color')).toEqual('red');
|
15943
15952
|
});
|
15944
15953
|
</doc:scenario>
|
15945
15954
|
</doc:example>
|
@@ -16797,10 +16806,7 @@ var ngModelDirective = function() {
|
|
16797
16806
|
* @name ng.directive:ngChange
|
16798
16807
|
*
|
16799
16808
|
* @description
|
16800
|
-
* Evaluate
|
16801
|
-
* The expression is evaluated immediately, unlike the JavaScript onchange event
|
16802
|
-
* which only triggers at the end of a change (usually, when the user leaves the
|
16803
|
-
* form element or presses the return key).
|
16809
|
+
* Evaluate given expression when user changes the input.
|
16804
16810
|
* The expression is not evaluated when the value change is coming from the model.
|
16805
16811
|
*
|
16806
16812
|
* Note, this directive requires `ngModel` to be present.
|
@@ -17793,7 +17799,6 @@ var ngControllerDirective = [function() {
|
|
17793
17799
|
* an element is clicked.
|
17794
17800
|
*
|
17795
17801
|
* @element ANY
|
17796
|
-
* @priority 0
|
17797
17802
|
* @param {expression} ngClick {@link guide/expression Expression} to evaluate upon
|
17798
17803
|
* click. (Event object is available as `$event`)
|
17799
17804
|
*
|
@@ -17850,7 +17855,6 @@ forEach(
|
|
17850
17855
|
* The `ngDblclick` directive allows you to specify custom behavior on a dblclick event.
|
17851
17856
|
*
|
17852
17857
|
* @element ANY
|
17853
|
-
* @priority 0
|
17854
17858
|
* @param {expression} ngDblclick {@link guide/expression Expression} to evaluate upon
|
17855
17859
|
* a dblclick. (The Event object is available as `$event`)
|
17856
17860
|
*
|
@@ -17874,7 +17878,6 @@ forEach(
|
|
17874
17878
|
* The ngMousedown directive allows you to specify custom behavior on mousedown event.
|
17875
17879
|
*
|
17876
17880
|
* @element ANY
|
17877
|
-
* @priority 0
|
17878
17881
|
* @param {expression} ngMousedown {@link guide/expression Expression} to evaluate upon
|
17879
17882
|
* mousedown. (Event object is available as `$event`)
|
17880
17883
|
*
|
@@ -17898,7 +17901,6 @@ forEach(
|
|
17898
17901
|
* Specify custom behavior on mouseup event.
|
17899
17902
|
*
|
17900
17903
|
* @element ANY
|
17901
|
-
* @priority 0
|
17902
17904
|
* @param {expression} ngMouseup {@link guide/expression Expression} to evaluate upon
|
17903
17905
|
* mouseup. (Event object is available as `$event`)
|
17904
17906
|
*
|
@@ -17921,7 +17923,6 @@ forEach(
|
|
17921
17923
|
* Specify custom behavior on mouseover event.
|
17922
17924
|
*
|
17923
17925
|
* @element ANY
|
17924
|
-
* @priority 0
|
17925
17926
|
* @param {expression} ngMouseover {@link guide/expression Expression} to evaluate upon
|
17926
17927
|
* mouseover. (Event object is available as `$event`)
|
17927
17928
|
*
|
@@ -17945,7 +17946,6 @@ forEach(
|
|
17945
17946
|
* Specify custom behavior on mouseenter event.
|
17946
17947
|
*
|
17947
17948
|
* @element ANY
|
17948
|
-
* @priority 0
|
17949
17949
|
* @param {expression} ngMouseenter {@link guide/expression Expression} to evaluate upon
|
17950
17950
|
* mouseenter. (Event object is available as `$event`)
|
17951
17951
|
*
|
@@ -17969,7 +17969,6 @@ forEach(
|
|
17969
17969
|
* Specify custom behavior on mouseleave event.
|
17970
17970
|
*
|
17971
17971
|
* @element ANY
|
17972
|
-
* @priority 0
|
17973
17972
|
* @param {expression} ngMouseleave {@link guide/expression Expression} to evaluate upon
|
17974
17973
|
* mouseleave. (Event object is available as `$event`)
|
17975
17974
|
*
|
@@ -17993,7 +17992,6 @@ forEach(
|
|
17993
17992
|
* Specify custom behavior on mousemove event.
|
17994
17993
|
*
|
17995
17994
|
* @element ANY
|
17996
|
-
* @priority 0
|
17997
17995
|
* @param {expression} ngMousemove {@link guide/expression Expression} to evaluate upon
|
17998
17996
|
* mousemove. (Event object is available as `$event`)
|
17999
17997
|
*
|
@@ -18017,7 +18015,6 @@ forEach(
|
|
18017
18015
|
* Specify custom behavior on keydown event.
|
18018
18016
|
*
|
18019
18017
|
* @element ANY
|
18020
|
-
* @priority 0
|
18021
18018
|
* @param {expression} ngKeydown {@link guide/expression Expression} to evaluate upon
|
18022
18019
|
* keydown. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)
|
18023
18020
|
*
|
@@ -18039,7 +18036,6 @@ forEach(
|
|
18039
18036
|
* Specify custom behavior on keyup event.
|
18040
18037
|
*
|
18041
18038
|
* @element ANY
|
18042
|
-
* @priority 0
|
18043
18039
|
* @param {expression} ngKeyup {@link guide/expression Expression} to evaluate upon
|
18044
18040
|
* keyup. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)
|
18045
18041
|
*
|
@@ -18086,7 +18082,6 @@ forEach(
|
|
18086
18082
|
* attribute**.
|
18087
18083
|
*
|
18088
18084
|
* @element form
|
18089
|
-
* @priority 0
|
18090
18085
|
* @param {expression} ngSubmit {@link guide/expression Expression} to eval. (Event object is available as `$event`)
|
18091
18086
|
*
|
18092
18087
|
* @example
|
@@ -18136,7 +18131,6 @@ forEach(
|
|
18136
18131
|
* Specify custom behavior on focus event.
|
18137
18132
|
*
|
18138
18133
|
* @element window, input, select, textarea, a
|
18139
|
-
* @priority 0
|
18140
18134
|
* @param {expression} ngFocus {@link guide/expression Expression} to evaluate upon
|
18141
18135
|
* focus. (Event object is available as `$event`)
|
18142
18136
|
*
|
@@ -18152,7 +18146,6 @@ forEach(
|
|
18152
18146
|
* Specify custom behavior on blur event.
|
18153
18147
|
*
|
18154
18148
|
* @element window, input, select, textarea, a
|
18155
|
-
* @priority 0
|
18156
18149
|
* @param {expression} ngBlur {@link guide/expression Expression} to evaluate upon
|
18157
18150
|
* blur. (Event object is available as `$event`)
|
18158
18151
|
*
|
@@ -18168,7 +18161,6 @@ forEach(
|
|
18168
18161
|
* Specify custom behavior on copy event.
|
18169
18162
|
*
|
18170
18163
|
* @element window, input, select, textarea, a
|
18171
|
-
* @priority 0
|
18172
18164
|
* @param {expression} ngCopy {@link guide/expression Expression} to evaluate upon
|
18173
18165
|
* copy. (Event object is available as `$event`)
|
18174
18166
|
*
|
@@ -18189,7 +18181,6 @@ forEach(
|
|
18189
18181
|
* Specify custom behavior on cut event.
|
18190
18182
|
*
|
18191
18183
|
* @element window, input, select, textarea, a
|
18192
|
-
* @priority 0
|
18193
18184
|
* @param {expression} ngCut {@link guide/expression Expression} to evaluate upon
|
18194
18185
|
* cut. (Event object is available as `$event`)
|
18195
18186
|
*
|
@@ -18210,7 +18201,6 @@ forEach(
|
|
18210
18201
|
* Specify custom behavior on paste event.
|
18211
18202
|
*
|
18212
18203
|
* @element window, input, select, textarea, a
|
18213
|
-
* @priority 0
|
18214
18204
|
* @param {expression} ngPaste {@link guide/expression Expression} to evaluate upon
|
18215
18205
|
* paste. (Event object is available as `$event`)
|
18216
18206
|
*
|
@@ -18594,13 +18584,6 @@ var ngIncludeFillContentDirective = ['$compile',
|
|
18594
18584
|
* should use {@link guide/controller controllers} rather than `ngInit`
|
18595
18585
|
* to initialize values on a scope.
|
18596
18586
|
* </div>
|
18597
|
-
* <div class="alert alert-warning">
|
18598
|
-
* **Note**: If you have assignment in `ngInit` along with {@link api/ng.$filter `$filter`}, make
|
18599
|
-
* sure you have parenthesis for correct precedence:
|
18600
|
-
* <pre class="prettyprint">
|
18601
|
-
* <div ng-init="test1 = (data | orderBy:'name')"></div>
|
18602
|
-
* </pre>
|
18603
|
-
* </div>
|
18604
18587
|
*
|
18605
18588
|
* @priority 450
|
18606
18589
|
*
|
@@ -19336,11 +19319,6 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) {
|
|
19336
19319
|
*
|
19337
19320
|
* Just remember to include the important flag so the CSS override will function.
|
19338
19321
|
*
|
19339
|
-
* <div class="alert alert-warning">
|
19340
|
-
* **Note:** Here is a list of values that ngShow will consider as a falsy value (case insensitive):<br />
|
19341
|
-
* "f" / "0" / "false" / "no" / "n" / "[]"
|
19342
|
-
* </div>
|
19343
|
-
*
|
19344
19322
|
* ## A note about animations with ngShow
|
19345
19323
|
*
|
19346
19324
|
* Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression
|
@@ -19489,11 +19467,6 @@ var ngShowDirective = ['$animate', function($animate) {
|
|
19489
19467
|
* </pre>
|
19490
19468
|
*
|
19491
19469
|
* Just remember to include the important flag so the CSS override will function.
|
19492
|
-
*
|
19493
|
-
* <div class="alert alert-warning">
|
19494
|
-
* **Note:** Here is a list of values that ngHide will consider as a falsy value (case insensitive):<br />
|
19495
|
-
* "f" / "0" / "false" / "no" / "n" / "[]"
|
19496
|
-
* </div>
|
19497
19470
|
*
|
19498
19471
|
* ## A note about animations with ngHide
|
19499
19472
|
*
|
@@ -19965,21 +19938,14 @@ var ngOptionsMinErr = minErr('ngOptions');
|
|
19965
19938
|
* represented by the selected option will be bound to the model identified by the `ngModel`
|
19966
19939
|
* directive.
|
19967
19940
|
*
|
19968
|
-
* <div class="alert alert-warning">
|
19969
|
-
* **Note:** `ngModel` compares by reference, not value. This is important when binding to an
|
19970
|
-
* array of objects. See an example {@link http://jsfiddle.net/qWzTb/ in this jsfiddle}.
|
19971
|
-
* </div>
|
19972
|
-
*
|
19973
19941
|
* Optionally, a single hard-coded `<option>` element, with the value set to an empty string, can
|
19974
19942
|
* be nested into the `<select>` element. This element will then represent the `null` or "not selected"
|
19975
19943
|
* option. See example below for demonstration.
|
19976
19944
|
*
|
19977
|
-
*
|
19978
|
-
* **Note:** `ngOptions` provides iterator facility for `<option>` element which should be used instead
|
19945
|
+
* Note: `ngOptions` provides iterator facility for `<option>` element which should be used instead
|
19979
19946
|
* of {@link ng.directive:ngRepeat ngRepeat} when you want the
|
19980
19947
|
* `select` model to be bound to a non-string value. This is because an option element can only
|
19981
19948
|
* be bound to string values at present.
|
19982
|
-
* </div>
|
19983
19949
|
*
|
19984
19950
|
* @param {string} ngModel Assignable angular expression to data-bind to.
|
19985
19951
|
* @param {string=} name Property name of the form under which the control is published.
|
@@ -20383,7 +20349,7 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) {
|
|
20383
20349
|
|
20384
20350
|
// We now build up the list of options we need (we merge later)
|
20385
20351
|
for (index = 0; length = keys.length, index < length; index++) {
|
20386
|
-
|
20352
|
+
|
20387
20353
|
key = index;
|
20388
20354
|
if (keyName) {
|
20389
20355
|
key = keys[index];
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Vuerings
|
@@ -786,6 +786,16 @@ files:
|
|
786
786
|
- vendor/assets/javascripts/1.2.10/angular-scenario.js
|
787
787
|
- vendor/assets/javascripts/1.2.10/angular-touch.js
|
788
788
|
- vendor/assets/javascripts/1.2.10/angular.js
|
789
|
+
- vendor/assets/javascripts/1.2.11/angular-animate.js
|
790
|
+
- vendor/assets/javascripts/1.2.11/angular-cookies.js
|
791
|
+
- vendor/assets/javascripts/1.2.11/angular-loader.js
|
792
|
+
- vendor/assets/javascripts/1.2.11/angular-mocks.js
|
793
|
+
- vendor/assets/javascripts/1.2.11/angular-resource.js
|
794
|
+
- vendor/assets/javascripts/1.2.11/angular-route.js
|
795
|
+
- vendor/assets/javascripts/1.2.11/angular-sanitize.js
|
796
|
+
- vendor/assets/javascripts/1.2.11/angular-scenario.js
|
797
|
+
- vendor/assets/javascripts/1.2.11/angular-touch.js
|
798
|
+
- vendor/assets/javascripts/1.2.11/angular.js
|
789
799
|
- vendor/assets/javascripts/1.2.2/angular-animate.js
|
790
800
|
- vendor/assets/javascripts/1.2.2/angular-cookies.js
|
791
801
|
- vendor/assets/javascripts/1.2.2/angular-loader.js
|