diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-06 08:54:46 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-06 09:02:26 +0100 |
commit | 0a97b588d0fbb677614961a7b77aed77aa160014 (patch) | |
tree | cfe00eda29709ed8d19a8daf338782ba69abc073 | |
parent | 2c4cc6ce0bd25efab0fc4cf57e3e7ee358569761 (diff) |
update dev deps and angular
28 files changed, 1047 insertions, 884 deletions
diff --git a/js/package.json b/js/package.json index 029d2901a..13bdcb0e6 100644 --- a/js/package.json +++ b/js/package.json @@ -42,7 +42,7 @@ "karma-chrome-launcher": "^0.1.5", "karma-coverage": "^0.2.6", "karma-firefox-launcher": "^0.1.3", - "karma-jasmine": "^0.1.5", + "karma-jasmine": "^0.2.3", "karma-phantomjs-launcher": "^0.1.4" }, "dependencies": {} diff --git a/js/vendor/angular-mocks/.bower.json b/js/vendor/angular-mocks/.bower.json index e5c2af823..492732614 100644 --- a/js/vendor/angular-mocks/.bower.json +++ b/js/vendor/angular-mocks/.bower.json @@ -1,16 +1,17 @@ { "name": "angular-mocks", - "version": "1.3.0", + "version": "1.3.1", "main": "./angular-mocks.js", + "ignore": [], "dependencies": { - "angular": "1.3.0" + "angular": "1.3.1" }, "homepage": "https://github.com/angular/bower-angular-mocks", - "_release": "1.3.0", + "_release": "1.3.1", "_resolution": { "type": "version", - "tag": "v1.3.0", - "commit": "4c8d621ebb66ccb90563767d3f4282e9682a84b7" + "tag": "v1.3.1", + "commit": "301be5a5de82a83b5c436b9a2905a99b025a7890" }, "_source": "git://github.com/angular/bower-angular-mocks.git", "_target": "~1.3.*", diff --git a/js/vendor/angular-mocks/README.md b/js/vendor/angular-mocks/README.md index 3448d2849..1604ef880 100644 --- a/js/vendor/angular-mocks/README.md +++ b/js/vendor/angular-mocks/README.md @@ -1,21 +1,36 @@ -# bower-angular-mocks +# packaged angular-mocks -This repo is for distribution on `bower`. The source for this module is in the +This repo is for distribution on `npm` and `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`: +You can install this package either with `npm` or with `bower`. + +### npm + +```shell +npm install angular-mocks +``` + +The mocks are then available at `node_modules/angular-mocks/angular-mocks.js`. + +Note that this package is not in CommonJS format, so doing `require('angular-mocks')` will +return `undefined`. + +### bower ```shell bower install angular-mocks ``` +The mocks are then available at `bower_components/angular-mocks/angular-mocks.js`. + ## Documentation Documentation is available on the -[AngularJS docs site](http://docs.angularjs.org/guide/dev_guide.unit-testing). +[AngularJS docs site](https://docs.angularjs.org/guide/unit-testing). ## License diff --git a/js/vendor/angular-mocks/angular-mocks.js b/js/vendor/angular-mocks/angular-mocks.js index ecbb22bcf..2f5cb5f9b 100644 --- a/js/vendor/angular-mocks/angular-mocks.js +++ b/js/vendor/angular-mocks/angular-mocks.js @@ -1,5 +1,5 @@ /** - * @license AngularJS v1.3.0 + * @license AngularJS v1.3.1 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ @@ -74,7 +74,7 @@ angular.mock.$Browser = function() { self.defer = function(fn, delay) { delay = delay || 0; self.deferredFns.push({time:(self.defer.now + delay), fn:fn, id: self.deferredNextId}); - self.deferredFns.sort(function(a,b){ return a.time - b.time;}); + self.deferredFns.sort(function(a, b) { return a.time - b.time;}); return self.deferredNextId++; }; @@ -142,7 +142,7 @@ angular.mock.$Browser.prototype = { * run all fns in pollFns */ poll: function poll() { - angular.forEach(this.pollFns, function(pollFn){ + angular.forEach(this.pollFns, function(pollFn) { pollFn(); }); }, @@ -258,7 +258,7 @@ angular.mock.$ExceptionHandlerProvider = function() { * {@link ngMock.$log#reset reset()} */ this.mode = function(mode) { - switch(mode) { + switch (mode) { case 'rethrow': handler = function(e) { throw e; @@ -316,7 +316,7 @@ angular.mock.$LogProvider = function() { } }; - this.$get = function () { + this.$get = function() { var $log = { log: function() { $log.log.logs.push(concat([], arguments, 0)); }, warn: function() { $log.warn.logs.push(concat([], arguments, 0)); }, @@ -336,7 +336,7 @@ angular.mock.$LogProvider = function() { * @description * Reset all of the logging arrays to empty. */ - $log.reset = function () { + $log.reset = function() { /** * @ngdoc property * @name $log#log.logs @@ -421,7 +421,7 @@ angular.mock.$LogProvider = function() { var errors = []; angular.forEach(['error', 'warn', 'info', 'log', 'debug'], function(logLevel) { angular.forEach($log[logLevel].logs, function(log) { - angular.forEach(log, function (logItem) { + angular.forEach(log, function(logItem) { errors.push('MOCK $log (' + logLevel + '): ' + String(logItem) + '\n' + (logItem.stack || '')); }); @@ -504,7 +504,7 @@ angular.mock.$IntervalProvider = function() { id: nextRepeatId, deferred: deferred }); - repeatFns.sort(function(a,b){ return a.nextTime - b.nextTime;}); + repeatFns.sort(function(a, b) { return a.nextTime - b.nextTime;}); nextRepeatId++; return promise; @@ -520,7 +520,7 @@ angular.mock.$IntervalProvider = function() { * @returns {boolean} Returns `true` if the task was successfully cancelled. */ $interval.cancel = function(promise) { - if(!promise) return false; + if (!promise) return false; var fnIndex; angular.forEach(repeatFns, function(fn, index) { @@ -553,7 +553,7 @@ angular.mock.$IntervalProvider = function() { var task = repeatFns[0]; task.fn(); task.nextTime += task.delay; - repeatFns.sort(function(a,b){ return a.nextTime - b.nextTime;}); + repeatFns.sort(function(a, b) { return a.nextTime - b.nextTime;}); } return millis; }; @@ -601,7 +601,7 @@ function padNumber(num, digits, trim) { num = -num; } num = '' + num; - while(num.length < digits) num = '0' + num; + while (num.length < digits) num = '0' + num; if (trim) num = num.substr(num.length - digits); return neg + num; @@ -645,7 +645,7 @@ function padNumber(num, digits, trim) { * ``` * */ -angular.mock.TzDate = function (offset, timestamp) { +angular.mock.TzDate = function(offset, timestamp) { var self = new Date(0); if (angular.isString(timestamp)) { var tsStr = timestamp; @@ -788,20 +788,20 @@ angular.mock.animate = angular.module('ngAnimateMock', ['ng']) $provide.decorator('$animate', ['$delegate', '$$asyncCallback', '$timeout', '$browser', function($delegate, $$asyncCallback, $timeout, $browser) { var animate = { - queue : [], - cancel : $delegate.cancel, - enabled : $delegate.enabled, - triggerCallbackEvents : function() { + queue: [], + cancel: $delegate.cancel, + enabled: $delegate.enabled, + triggerCallbackEvents: function() { $$asyncCallback.flush(); }, - triggerCallbackPromise : function() { + triggerCallbackPromise: function() { $timeout.flush(0); }, - triggerCallbacks : function() { + triggerCallbacks: function() { this.triggerCallbackEvents(); this.triggerCallbackPromise(); }, - triggerReflow : function() { + triggerReflow: function() { angular.forEach(reflowQueue, function(fn) { fn(); }); @@ -813,10 +813,10 @@ angular.mock.animate = angular.module('ngAnimateMock', ['ng']) ['animate','enter','leave','move','addClass','removeClass','setClass'], function(method) { animate[method] = function() { animate.queue.push({ - event : method, - element : arguments[0], - options : arguments[arguments.length-1], - args : arguments + event: method, + element: arguments[0], + options: arguments[arguments.length-1], + args: arguments }); return $delegate[method].apply($delegate, arguments); }; @@ -883,13 +883,13 @@ angular.mock.dump = function(object) { function serializeScope(scope, offset) { offset = offset || ' '; var log = [offset + 'Scope(' + scope.$id + '): {']; - for ( var key in scope ) { + for (var key in scope) { if (Object.prototype.hasOwnProperty.call(scope, key) && !key.match(/^(\$|this)/)) { log.push(' ' + key + ': ' + angular.toJson(scope[key])); } } var child = scope.$$childHead; - while(child) { + while (child) { log.push(serializeScope(child, offset + ' ')); child = child.$$nextSibling; } @@ -1386,7 +1386,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) { $httpBackend.expect = function(method, url, data, headers) { var expectation = new MockHttpExpectation(method, url, data, headers), chain = { - respond: function (status, data, headers, statusText) { + respond: function(status, data, headers, statusText) { expectation.response = createResponse(status, data, headers, statusText); return chain; } @@ -1636,7 +1636,9 @@ function MockHttpExpectation(method, url, data, headers) { if (angular.isUndefined(data)) return true; if (data && angular.isFunction(data.test)) return data.test(d); if (data && angular.isFunction(data)) return data(d); - if (data && !angular.isString(data)) return angular.equals(data, angular.fromJson(d)); + if (data && !angular.isString(data)) { + return angular.equals(angular.fromJson(angular.toJson(data)), angular.fromJson(d)); + } return data == d; }; @@ -1709,7 +1711,7 @@ function MockXhr() { * that adds a "flush" and "verifyNoPendingTasks" methods. */ -angular.mock.$TimeoutDecorator = ['$delegate', '$browser', function ($delegate, $browser) { +angular.mock.$TimeoutDecorator = ['$delegate', '$browser', function($delegate, $browser) { /** * @ngdoc method @@ -1763,12 +1765,12 @@ angular.mock.$RAFDecorator = ['$delegate', function($delegate) { rafFn.supported = $delegate.supported; rafFn.flush = function() { - if(queue.length === 0) { + if (queue.length === 0) { throw new Error('No rAF callbacks present'); } var length = queue.length; - for(var i=0;i<length;i++) { + for (var i=0;i<length;i++) { queue[i](); } @@ -2036,7 +2038,7 @@ angular.mock.e2e.$httpBackendDecorator = ['$rootScope', '$delegate', '$browser', createHttpBackendMock]; -if(window.jasmine || window.mocha) { +if (window.jasmine || window.mocha) { var currentSpec = null, isSpecRunning = function() { @@ -2244,7 +2246,7 @@ if(window.jasmine || window.mocha) { injector = currentSpec.$injector = angular.injector(modules, strictDi); currentSpec.$injectorStrict = strictDi; } - for(var i = 0, ii = blockFns.length; i < ii; i++) { + for (var i = 0, ii = blockFns.length; i < ii; i++) { if (currentSpec.$injectorStrict) { // If the injector is strict / strictDi, and the spec wants to inject using automatic // annotation, then annotate the function here. diff --git a/js/vendor/angular-mocks/bower.json b/js/vendor/angular-mocks/bower.json index 08e043632..ede7b4285 100644 --- a/js/vendor/angular-mocks/bower.json +++ b/js/vendor/angular-mocks/bower.json @@ -1,8 +1,9 @@ { "name": "angular-mocks", - "version": "1.3.0", + "version": "1.3.1", "main": "./angular-mocks.js", + "ignore": [], "dependencies": { - "angular": "1.3.0" + "angular": "1.3.1" } } diff --git a/js/vendor/angular-mocks/package.json b/js/vendor/angular-mocks/package.json index 3f690e731..29203ce03 100644 --- a/js/vendor/angular-mocks/package.json +++ b/js/vendor/angular-mocks/package.json @@ -1,6 +1,6 @@ { "name": "angular-mocks", - "version": "1.3.0", + "version": "1.3.1", "description": "AngularJS mocks for testing", "main": "angular-mocks.js", "scripts": { diff --git a/js/vendor/angular-route/.bower.json b/js/vendor/angular-route/.bower.json index 617d006ac..2bf77d025 100644 --- a/js/vendor/angular-route/.bower.json +++ b/js/vendor/angular-route/.bower.json @@ -1,16 +1,17 @@ { "name": "angular-route", - "version": "1.3.0", + "version": "1.3.1", "main": "./angular-route.js", + "ignore": [], "dependencies": { - "angular": "1.3.0" + "angular": "1.3.1" }, "homepage": "https://github.com/angular/bower-angular-route", - "_release": "1.3.0", + "_release": "1.3.1", "_resolution": { "type": "version", - "tag": "v1.3.0", - "commit": "73a3cc8371603e22e32b6dc5354116f73b91e164" + "tag": "v1.3.1", + "commit": "1f5433e133d97f6152f4ba6462ce1024449f19e3" }, "_source": "git://github.com/angular/bower-angular-route.git", "_target": "~1.3.*", diff --git a/js/vendor/angular-route/README.md b/js/vendor/angular-route/README.md index 49f55fc0d..b33a0dc33 100644 --- a/js/vendor/angular-route/README.md +++ b/js/vendor/angular-route/README.md @@ -1,12 +1,35 @@ -# bower-angular-route +# packaged angular-route -This repo is for distribution on `bower`. The source for this module is in the +This repo is for distribution on `npm` and `bower`. The source for this module is in the [main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngRoute). Please file issues and pull requests against that repo. ## Install -Install with `bower`: +You can install this package either with `npm` or with `bower`. + +### npm + +```shell +npm install angular-route +``` + +Add a `<script>` to your `index.html`: + +```html +<script src="/node_modules/angular-route/angular-route.js"></script> +``` + +Then add `ngRoute` as a dependency for your app: + +```javascript +angular.module('myApp', ['ngRoute']); +``` + +Note that this package is not in CommonJS format, so doing `require('angular-route')` will +return `undefined`. + +### bower ```shell bower install angular-route @@ -18,7 +41,7 @@ Add a `<script>` to your `index.html`: <script src="/bower_components/angular-route/angular-route.js"></script> ``` -And add `ngRoute` as a dependency for your app: +Then add `ngRoute` as a dependency for your app: ```javascript angular.module('myApp', ['ngRoute']); diff --git a/js/vendor/angular-route/angular-route.js b/js/vendor/angular-route/angular-route.js index 1adbc961d..edd7d6e77 100644 --- a/js/vendor/angular-route/angular-route.js +++ b/js/vendor/angular-route/angular-route.js @@ -1,5 +1,5 @@ /** - * @license AngularJS v1.3.0 + * @license AngularJS v1.3.1 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ @@ -39,7 +39,7 @@ var ngRouteModule = angular.module('ngRoute', ['ng']). * ## Dependencies * Requires the {@link ngRoute `ngRoute`} module to be installed. */ -function $RouteProvider(){ +function $RouteProvider() { function inherit(parent, extra) { return angular.extend(new (angular.extend(function() {}, {prototype:parent}))(), extra); } @@ -188,7 +188,7 @@ function $RouteProvider(){ path = path .replace(/([().])/g, '\\$1') - .replace(/(\/)?:(\w+)([\?\*])?/g, function(_, slash, key, option){ + .replace(/(\/)?:(\w+)([\?\*])?/g, function(_, slash, key, option) { var optional = option === '?' ? option : null; var star = option === '*' ? option : null; keys.push({ name: key, optional: !!optional }); @@ -870,7 +870,7 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory); * Emitted every time the ngView content is reloaded. */ ngViewFactory.$inject = ['$route', '$anchorScroll', '$animate']; -function ngViewFactory( $route, $anchorScroll, $animate) { +function ngViewFactory($route, $anchorScroll, $animate) { return { restrict: 'ECA', terminal: true, @@ -887,16 +887,16 @@ function ngViewFactory( $route, $anchorScroll, $animate) { update(); function cleanupLastView() { - if(previousLeaveAnimation) { + if (previousLeaveAnimation) { $animate.cancel(previousLeaveAnimation); previousLeaveAnimation = null; } - if(currentScope) { + if (currentScope) { currentScope.$destroy(); currentScope = null; } - if(currentElement) { + if (currentElement) { previousLeaveAnimation = $animate.leave(currentElement); previousLeaveAnimation.then(function() { previousLeaveAnimation = null; @@ -920,7 +920,7 @@ function ngViewFactory( $route, $anchorScroll, $animate) { // function is called before linking the content, which would apply child // directives to non existing elements. var clone = $transclude(newScope, function(clone) { - $animate.enter(clone, null, currentElement || $element).then(function onNgViewEnter () { + $animate.enter(clone, null, currentElement || $element).then(function onNgViewEnter() { if (angular.isDefined(autoScrollExp) && (!autoScrollExp || scope.$eval(autoScrollExp))) { $anchorScroll(); diff --git a/js/vendor/angular-route/angular-route.min.js b/js/vendor/angular-route/angular-route.min.js index bada89b00..b6e007fc3 100644 --- a/js/vendor/angular-route/angular-route.min.js +++ b/js/vendor/angular-route/angular-route.min.js @@ -1,5 +1,5 @@ /* - AngularJS v1.3.0 + AngularJS v1.3.1 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ diff --git a/js/vendor/angular-route/angular-route.min.js.map b/js/vendor/angular-route/angular-route.min.js.map index 4472060ea..f728728ca 100644 --- a/js/vendor/angular-route/angular-route.min.js.map +++ b/js/vendor/angular-route/angular-route.min.js.map @@ -2,7 +2,7 @@ "version":3, "file":"angular-route.min.js", "lineCount":14, -"mappings":"A;;;;;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkBC,CAAlB,CAA6B,CAm2BtCC,QAASA,EAAa,CAAIC,CAAJ,CAAcC,CAAd,CAA+BC,CAA/B,CAAyC,CAC7D,MAAO,CACLC,SAAU,KADL,CAELC,SAAU,CAAA,CAFL,CAGLC,SAAU,GAHL,CAILC,WAAY,SAJP,CAKLC,KAAMA,QAAQ,CAACC,CAAD,CAAQC,CAAR,CAAkBC,CAAlB,CAAwBC,CAAxB,CAA8BC,CAA9B,CAA2C,CAUrDC,QAASA,EAAe,EAAG,CACtBC,CAAH,GACEZ,CAAAa,OAAA,CAAgBD,CAAhB,CACA,CAAAA,CAAA,CAAyB,IAF3B,CAKGE,EAAH,GACEA,CAAAC,SAAA,EACA,CAAAD,CAAA,CAAe,IAFjB,CAIGE,EAAH,GACEJ,CAIA,CAJyBZ,CAAAiB,MAAA,CAAeD,CAAf,CAIzB,CAHAJ,CAAAM,KAAA,CAA4B,QAAQ,EAAG,CACrCN,CAAA,CAAyB,IADY,CAAvC,CAGA,CAAAI,CAAA,CAAiB,IALnB,CAVyB,CAmB3BG,QAASA,EAAM,EAAG,CAAA,IACZC,EAAStB,CAAAuB,QAATD,EAA2BtB,CAAAuB,QAAAD,OAG/B,IAAIzB,CAA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