Add angular-mocks, set angular version to 1.2.14

This commit is contained in:
Rashid Khan 2014-03-03 15:27:04 -07:00
parent e51e86aeb9
commit f61de59617
14 changed files with 2252 additions and 24 deletions

View file

@ -22,11 +22,12 @@
"dependencies": {
"requirejs": "~2.1.10",
"elasticsearch": "*",
"angular": "~1.2.15",
"angular": "~1.2.14",
"lodash": "~2.4.1",
"d3": "~3.4.1",
"angular-route": "~1.2.15",
"angular-route": "~1.2.14",
"gridster": "~0.5.0",
"angular-mocks": "~1.2.14",
"font-awesome": "~4.0.3",
"requirejs-text": "~2.0.10",
"async": "~0.2.10",

View file

@ -0,0 +1,18 @@
{
"name": "angular-mocks",
"version": "1.2.15-build.2365+sha.d07101d",
"main": "./angular-mocks.js",
"dependencies": {
"angular": "1.2.15-build.2365+sha.d07101d"
},
"homepage": "https://github.com/angular/bower-angular-mocks",
"_release": "1.2.15-build.2365+sha.d07101d",
"_resolution": {
"type": "version",
"tag": "v1.2.15-build.2365+sha.d07101d",
"commit": "1958c29e6e2e368adfce6c3923e9f39b6a9ef5b3"
},
"_source": "git://github.com/angular/bower-angular-mocks.git",
"_target": "~1.2.14",
"_originalSource": "angular-mocks"
}

View file

@ -0,0 +1,42 @@
# bower-angular-mocks
This repo is for distribution on `bower`. The source for this module is in the
[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngMock).
Please file issues and pull requests against that repo.
## Install
Install with `bower`:
```shell
bower install angular-mocks
```
## Documentation
Documentation is available on the
[AngularJS docs site](http://docs.angularjs.org/guide/dev_guide.unit-testing).
## License
The MIT License
Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,8 @@
{
"name": "angular-mocks",
"version": "1.2.15-build.2365+sha.d07101d",
"main": "./angular-mocks.js",
"dependencies": {
"angular": "1.2.15-build.2365+sha.d07101d"
}
}

View file

@ -1,18 +1,18 @@
{
"name": "angular-route",
"version": "1.2.15-build.2364+sha.7c34e1f",
"version": "1.2.15-build.2365+sha.d07101d",
"main": "./angular-route.js",
"dependencies": {
"angular": "1.2.15-build.2364+sha.7c34e1f"
"angular": "1.2.15-build.2365+sha.d07101d"
},
"homepage": "https://github.com/angular/bower-angular-route",
"_release": "1.2.15-build.2364+sha.7c34e1f",
"_release": "1.2.15-build.2365+sha.d07101d",
"_resolution": {
"type": "version",
"tag": "v1.2.15-build.2364+sha.7c34e1f",
"commit": "cdb04bc387315ee35502d9b0b416ee21b6771812"
"tag": "v1.2.15-build.2365+sha.d07101d",
"commit": "1a0136259f55788de38db0c95198abc8844a042f"
},
"_source": "git://github.com/angular/bower-angular-route.git",
"_target": "~1.2.15",
"_target": "~1.2.14",
"_originalSource": "angular-route"
}

View file

@ -1,5 +1,5 @@
/**
* @license AngularJS v1.2.15-build.2364+sha.7c34e1f
* @license AngularJS v1.2.15-build.2365+sha.d07101d
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/

View file

@ -1,5 +1,5 @@
/*
AngularJS v1.2.15-build.2364+sha.7c34e1f
AngularJS v1.2.15-build.2365+sha.d07101d
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/

View file

@ -1,8 +1,8 @@
{
"name": "angular-route",
"version": "1.2.15-build.2364+sha.7c34e1f",
"version": "1.2.15-build.2365+sha.d07101d",
"main": "./angular-route.js",
"dependencies": {
"angular": "1.2.15-build.2364+sha.7c34e1f"
"angular": "1.2.15-build.2365+sha.d07101d"
}
}

View file

@ -1,16 +1,16 @@
{
"name": "angular",
"version": "1.2.15-build.2364+sha.7c34e1f",
"version": "1.2.15-build.2365+sha.d07101d",
"main": "./angular.js",
"dependencies": {},
"homepage": "https://github.com/angular/bower-angular",
"_release": "1.2.15-build.2364+sha.7c34e1f",
"_release": "1.2.15-build.2365+sha.d07101d",
"_resolution": {
"type": "version",
"tag": "v1.2.15-build.2364+sha.7c34e1f",
"commit": "09c34b160f12cf83de1f83afd4fa5df07318fa01"
"tag": "v1.2.15-build.2365+sha.d07101d",
"commit": "dc5a6e051657cb182e98ef1fadcba0d46b4978cf"
},
"_source": "git://github.com/angular/bower-angular.git",
"_target": "~1.2.15",
"_target": "~1.2.14",
"_originalSource": "angular"
}

View file

@ -1,5 +1,5 @@
/**
* @license AngularJS v1.2.15-build.2364+sha.7c34e1f
* @license AngularJS v1.2.15-build.2365+sha.d07101d
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
@ -68,7 +68,7 @@ function minErr(module) {
return match;
});
message = message + '\nhttp://errors.angularjs.org/1.2.15-build.2364+sha.7c34e1f/' +
message = message + '\nhttp://errors.angularjs.org/1.2.15-build.2365+sha.d07101d/' +
(module ? module + '/' : '') + code;
for (i = 2; i < arguments.length; i++) {
message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
@ -1880,7 +1880,7 @@ function setupModuleLoader(window) {
* - `codeName` `{string}` Code name of the release, such as "jiggling-armfat".
*/
var version = {
full: '1.2.15-build.2364+sha.7c34e1f', // all of these placeholder strings will be replaced by grunt's
full: '1.2.15-build.2365+sha.d07101d', // all of these placeholder strings will be replaced by grunt's
major: 1, // package task
minor: 2,
dot: 15,

View file

@ -1,9 +1,9 @@
/*
AngularJS v1.2.15-build.2364+sha.7c34e1f
AngularJS v1.2.15-build.2365+sha.d07101d
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(D,T,s){'use strict';function F(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.2.15-build.2364+sha.7c34e1f/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURIComponent("function"==typeof arguments[c]?arguments[c].toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof arguments[c]?"undefined":"string"!=typeof arguments[c]?JSON.stringify(arguments[c]):arguments[c]);return Error(a)}}function ub(b){if(null==
(function(D,T,s){'use strict';function F(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.2.15-build.2365+sha.d07101d/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURIComponent("function"==typeof arguments[c]?arguments[c].toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof arguments[c]?"undefined":"string"!=typeof arguments[c]?JSON.stringify(arguments[c]):arguments[c]);return Error(a)}}function ub(b){if(null==
b||ya(b))return!1;var a=b.length;return 1===b.nodeType&&a?!0:E(b)||I(b)||0===a||"number"===typeof a&&0<a&&a-1 in b}function r(b,a,c){var d;if(b)if(N(b))for(d in b)"prototype"==d||("length"==d||"name"==d||b.hasOwnProperty&&!b.hasOwnProperty(d))||a.call(c,b[d],d);else if(b.forEach&&b.forEach!==r)b.forEach(a,c);else if(ub(b))for(d=0;d<b.length;d++)a.call(c,b[d],d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function Pb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}
function Qc(b,a,c){for(var d=Pb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function Qb(b){return function(a,c){b(c,a)}}function Za(){for(var b=ia.length,a;b;){b--;a=ia[b].charCodeAt(0);if(57==a)return ia[b]="A",ia.join("");if(90==a)ia[b]="0";else return ia[b]=String.fromCharCode(a+1),ia.join("")}ia.unshift("0");return ia.join("")}function Rb(b,a){a?b.$$hashKey=a:delete b.$$hashKey}function t(b){var a=b.$$hashKey;r(arguments,function(a){a!==b&&r(a,function(a,c){b[c]=a})});Rb(b,a);return b}
function Q(b){return parseInt(b,10)}function Sb(b,a){return t(new (t(function(){},{prototype:b})),a)}function x(){}function za(b){return b}function $(b){return function(){return b}}function B(b){return"undefined"===typeof b}function v(b){return"undefined"!==typeof b}function X(b){return null!=b&&"object"===typeof b}function E(b){return"string"===typeof b}function vb(b){return"number"===typeof b}function La(b){return"[object Date]"===Aa.call(b)}function I(b){return"[object Array]"===Aa.call(b)}function N(b){return"function"===
@ -130,7 +130,7 @@ b.$apply(function(){d.$setViewValue(e)})}};if(e.hasEvent("input"))a.on("input",m
function(c){var e=b.$eval(n);if(!e||!e.test)throw F("ngPattern")("noregexp",n,e,fa(a));return ma(d,"pattern",d.$isEmpty(c)||e.test(c),c)},d.$formatters.push(e),d.$parsers.push(e));if(c.ngMinlength){var q=Q(c.ngMinlength);e=function(a){return ma(d,"minlength",d.$isEmpty(a)||a.length>=q,a)};d.$parsers.push(e);d.$formatters.push(e)}if(c.ngMaxlength){var p=Q(c.ngMaxlength);e=function(a){return ma(d,"maxlength",d.$isEmpty(a)||a.length<=p,a)};d.$parsers.push(e);d.$formatters.push(e)}}function Nb(b,a){b=
"ngClass"+b;return function(){return{restrict:"AC",link:function(c,d,e){function f(b){if(!0===a||c.$index%2===a){var d=g(b||"");h?sa(b,h)||e.$updateClass(d,g(h)):e.$addClass(d)}h=ba(b)}function g(a){if(I(a))return a.join(" ");if(X(a)){var b=[];r(a,function(a,c){a&&b.push(c)});return b.join(" ")}return a}var h;c.$watch(e[b],f,!0);e.$observe("class",function(a){f(c.$eval(e[b]))});"ngClass"!==b&&c.$watch("$index",function(d,f){var h=d&1;if(h!==f&1){var n=g(c.$eval(e[b]));h===a?e.$addClass(n):e.$removeClass(n)}})}}}}
var O=function(b){return E(b)?b.toLowerCase():b},Rd=Object.prototype.hasOwnProperty,Ia=function(b){return E(b)?b.toUpperCase():b},P,z,Ca,ta=[].slice,Wd=[].push,Aa=Object.prototype.toString,Na=F("ng"),Ba=D.angular||(D.angular={}),Ua,Ga,ia=["0","0","0"];P=Q((/msie (\d+)/.exec(O(navigator.userAgent))||[])[1]);isNaN(P)&&(P=Q((/trident\/.*; rv:(\d+)/.exec(O(navigator.userAgent))||[])[1]));x.$inject=[];za.$inject=[];var ca=function(){return String.prototype.trim?function(b){return E(b)?b.trim():b}:function(b){return E(b)?
b.replace(/^\s\s*/,"").replace(/\s\s*$/,""):b}}();Ga=9>P?function(b){b=b.nodeName?b:b[0];return b.scopeName&&"HTML"!=b.scopeName?Ia(b.scopeName+":"+b.nodeName):b.nodeName}:function(b){return b.nodeName?b.nodeName:b[0].nodeName};var Vc=/[A-Z]/g,Xd={full:"1.2.15-build.2364+sha.7c34e1f",major:1,minor:2,dot:15,codeName:"snapshot"},Ra=R.cache={},db=R.expando="ng-"+(new Date).getTime(),Zc=1,Kc=D.document.addEventListener?function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},
b.replace(/^\s\s*/,"").replace(/\s\s*$/,""):b}}();Ga=9>P?function(b){b=b.nodeName?b:b[0];return b.scopeName&&"HTML"!=b.scopeName?Ia(b.scopeName+":"+b.nodeName):b.nodeName}:function(b){return b.nodeName?b.nodeName:b[0].nodeName};var Vc=/[A-Z]/g,Xd={full:"1.2.15-build.2365+sha.d07101d",major:1,minor:2,dot:15,codeName:"snapshot"},Ra=R.cache={},db=R.expando="ng-"+(new Date).getTime(),Zc=1,Kc=D.document.addEventListener?function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},
Db=D.document.removeEventListener?function(b,a,c){b.removeEventListener(a,c,!1)}:function(b,a,c){b.detachEvent("on"+a,c)};R._data=function(b){return this.cache[b[this.expando]]||{}};var Xc=/([\:\-\_]+(.))/g,Yc=/^moz([A-Z])/,Ab=F("jqLite"),Fa=R.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;"complete"===T.readyState?setTimeout(a):(this.on("DOMContentLoaded",a),R(D).on("load",a))},toString:function(){var b=[];r(this,function(a){b.push(""+a)});return"["+b.join(", ")+"]"},eq:function(b){return 0<=
b?z(this[b]):z(this[this.length+b])},length:0,push:Wd,sort:[].sort,splice:[].splice},hb={};r("multiple selected checked disabled readOnly required open".split(" "),function(b){hb[O(b)]=b});var hc={};r("input select option textarea button form details".split(" "),function(b){hc[Ia(b)]=!0});r({data:dc,inheritedData:gb,scope:function(b){return z(b).data("$scope")||gb(b.parentNode||b,["$isolateScope","$scope"])},isolateScope:function(b){return z(b).data("$isolateScope")||z(b).data("$isolateScopeNoTemplate")},
controller:ec,injector:function(b){return gb(b,"$injector")},removeAttr:function(b,a){b.removeAttribute(a)},hasClass:Eb,css:function(b,a,c){a=Qa(a);if(v(c))b.style[a]=c;else{var d;8>=P&&(d=b.currentStyle&&b.currentStyle[a],""===d&&(d="auto"));d=d||b.style[a];8>=P&&(d=""===d?s:d);return d}},attr:function(b,a,c){var d=O(a);if(hb[d])if(v(c))c?(b[a]=!0,b.setAttribute(a,d)):(b[a]=!1,b.removeAttribute(d));else return b[a]||(b.attributes.getNamedItem(a)||x).specified?d:s;else if(v(c))b.setAttribute(a,c);

Binary file not shown.

View file

@ -1,6 +1,6 @@
{
"name": "angular",
"version": "1.2.15-build.2364+sha.7c34e1f",
"version": "1.2.15-build.2365+sha.d07101d",
"main": "./angular.js",
"dependencies": {
}