From d3785b5042d5cb8699e1b1748317d7032ad3575d Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 24 Mar 2016 13:47:29 +0100 Subject: update npm and bower deps --- js/package.json | 4 +- js/vendor/angular-animate/.bower.json | 10 +- js/vendor/angular-animate/angular-animate.js | 65 +- js/vendor/angular-animate/angular-animate.min.js | 100 +- .../angular-animate/angular-animate.min.js.map | 4 +- js/vendor/angular-animate/bower.json | 4 +- js/vendor/angular-animate/package.json | 2 +- js/vendor/angular-mocks/.bower.json | 10 +- js/vendor/angular-mocks/angular-mocks.js | 330 +- js/vendor/angular-mocks/bower.json | 4 +- js/vendor/angular-mocks/package.json | 2 +- js/vendor/angular-route/.bower.json | 10 +- js/vendor/angular-route/angular-route.js | 20 +- js/vendor/angular-route/angular-route.min.js | 16 +- js/vendor/angular-route/angular-route.min.js.map | 4 +- js/vendor/angular-route/bower.json | 4 +- js/vendor/angular-route/package.json | 2 +- js/vendor/angular-sanitize/.bower.json | 10 +- js/vendor/angular-sanitize/angular-sanitize.js | 2 +- js/vendor/angular-sanitize/angular-sanitize.min.js | 2 +- js/vendor/angular-sanitize/bower.json | 4 +- js/vendor/angular-sanitize/package.json | 2 +- js/vendor/angular/.bower.json | 8 +- js/vendor/angular/angular.js | 670 +- js/vendor/angular/angular.min.js | 604 +- js/vendor/angular/angular.min.js.gzip | Bin 54462 -> 54709 bytes js/vendor/angular/angular.min.js.map | 6 +- js/vendor/angular/bower.json | 2 +- js/vendor/angular/package.json | 2 +- js/vendor/es6-shim/.bower.json | 8 +- js/vendor/es6-shim/CHANGELOG.md | 14 +- js/vendor/es6-shim/README.md | 5 +- js/vendor/es6-shim/component.json | 2 +- js/vendor/es6-shim/es6-sham.js | 40 +- js/vendor/es6-shim/es6-sham.map | 2 +- js/vendor/es6-shim/es6-sham.min.js | 6 +- js/vendor/es6-shim/es6-shim.js | 112 +- js/vendor/es6-shim/es6-shim.map | 2 +- js/vendor/es6-shim/es6-shim.min.js | 8 +- js/vendor/es6-shim/package.json | 2 +- js/vendor/es6-shim/test-sham/function.js | 54 + js/vendor/es6-shim/test-sham/index.html | 1 + js/vendor/jquery/.bower.json | 8 +- js/vendor/jquery/AUTHORS.txt | 3 + js/vendor/jquery/README.md | 66 +- js/vendor/jquery/dist/jquery.js | 109 +- js/vendor/jquery/dist/jquery.min.js | 8 +- js/vendor/jquery/dist/jquery.min.map | 2 +- js/vendor/jquery/dist/jquery.slim.js | 7877 ++++++++++++++++++++ js/vendor/jquery/dist/jquery.slim.min.js | 4 + js/vendor/jquery/dist/jquery.slim.min.map | 1 + js/vendor/jquery/sizzle/LICENSE.txt | 36 + js/vendor/jquery/sizzle/dist/sizzle.js | 2143 ++++++ js/vendor/jquery/sizzle/dist/sizzle.min.js | 3 + js/vendor/jquery/sizzle/dist/sizzle.min.map | 1 + js/vendor/jquery/src/attributes/prop.js | 16 + js/vendor/jquery/src/attributes/val.js | 17 +- js/vendor/jquery/src/core.js | 13 +- js/vendor/jquery/src/core/DOMEval.js | 14 + js/vendor/jquery/src/core/parseHTML.js | 14 +- js/vendor/jquery/src/css/curCSS.js | 13 +- js/vendor/jquery/src/css/var/getStyles.js | 2 +- js/vendor/jquery/src/deferred/exceptionHook.js | 19 + js/vendor/jquery/src/event.js | 2 +- js/vendor/jquery/src/event/trigger.js | 2 +- js/vendor/jquery/src/manipulation.js | 12 +- js/vendor/jquery/src/offset.js | 7 +- js/vendor/jquery/src/selector-sizzle.js | 2 +- js/vendor/js-url/.bower.json | 8 +- js/vendor/js-url/README.md | 7 + js/vendor/js-url/url-tld.min.js | 2 +- js/vendor/js-url/url.js | 9 +- js/vendor/js-url/url.min.js | 2 +- 73 files changed, 11588 insertions(+), 993 deletions(-) create mode 100644 js/vendor/es6-shim/test-sham/function.js create mode 100644 js/vendor/jquery/dist/jquery.slim.js create mode 100644 js/vendor/jquery/dist/jquery.slim.min.js create mode 100644 js/vendor/jquery/dist/jquery.slim.min.map create mode 100644 js/vendor/jquery/sizzle/LICENSE.txt create mode 100644 js/vendor/jquery/sizzle/dist/sizzle.js create mode 100644 js/vendor/jquery/sizzle/dist/sizzle.min.js create mode 100644 js/vendor/jquery/sizzle/dist/sizzle.min.map create mode 100644 js/vendor/jquery/src/core/DOMEval.js create mode 100644 js/vendor/jquery/src/deferred/exceptionHook.js (limited to 'js') diff --git a/js/package.json b/js/package.json index 026cae875..e189c3907 100644 --- a/js/package.json +++ b/js/package.json @@ -31,8 +31,8 @@ "gulp": "^3.9.1", "gulp-concat": "^2.6.0", "gulp-jshint": "^2.0.0", - "gulp-ng-annotate": "^1.1.0", - "gulp-phpunit": "^0.12.1", + "gulp-ng-annotate": "^2.0.0", + "gulp-phpunit": "^0.14.0", "gulp-sourcemaps": "^1.6.0", "gulp-uglify": "^1.5.2", "jasmine-core": "^2.4.1", diff --git a/js/vendor/angular-animate/.bower.json b/js/vendor/angular-animate/.bower.json index 0f3f892fb..b5b4bb3f7 100644 --- a/js/vendor/angular-animate/.bower.json +++ b/js/vendor/angular-animate/.bower.json @@ -1,18 +1,18 @@ { "name": "angular-animate", - "version": "1.5.0", + "version": "1.5.2", "license": "MIT", "main": "./angular-animate.js", "ignore": [], "dependencies": { - "angular": "1.5.0" + "angular": "1.5.2" }, "homepage": "https://github.com/angular/bower-angular-animate", - "_release": "1.5.0", + "_release": "1.5.2", "_resolution": { "type": "version", - "tag": "v1.5.0", - "commit": "19b035b16ccf4b1db231207b9453f4a8df0d4a09" + "tag": "v1.5.2", + "commit": "661c9b88f285a2a21195dd69acc703c5d229bb84" }, "_source": "git://github.com/angular/bower-angular-animate.git", "_target": "~1.5.*", diff --git a/js/vendor/angular-animate/angular-animate.js b/js/vendor/angular-animate/angular-animate.js index 2778fc564..1652a9bba 100644 --- a/js/vendor/angular-animate/angular-animate.js +++ b/js/vendor/angular-animate/angular-animate.js @@ -1,5 +1,5 @@ /** - * @license AngularJS v1.5.0 + * @license AngularJS v1.5.2 * (c) 2010-2016 Google, Inc. http://angularjs.org * License: MIT */ @@ -2337,7 +2337,7 @@ var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) { return matches; } - return { + var $animate = { on: function(event, container, callback) { var node = extractElementNode(container); callbackRegistry[event] = callbackRegistry[event] || []; @@ -2345,6 +2345,11 @@ var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) { node: node, callback: callback }); + + // Remove the callback when the element is removed from the DOM + jqLite(container).on('$destroy', function() { + $animate.off(event, container, callback); + }); }, off: function(event, container, callback) { @@ -2412,6 +2417,8 @@ var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) { } }; + return $animate; + function queueAnimation(element, event, initialOptions) { // we always make a copy of the options since // there should never be any side effects on @@ -2728,30 +2735,31 @@ var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) { var animateChildren; var elementDisabled = disabledElementsLookup.get(getDomNode(element)); - var parentHost = element.data(NG_ANIMATE_PIN_DATA); + var parentHost = jqLite.data(element[0], NG_ANIMATE_PIN_DATA); if (parentHost) { parentElement = parentHost; } - while (parentElement && parentElement.length) { + parentElement = getDomNode(parentElement); + + while (parentElement) { if (!rootElementDetected) { // angular doesn't want to attempt to animate elements outside of the application // therefore we need to ensure that the rootElement is an ancestor of the current element rootElementDetected = isMatchingElement(parentElement, $rootElement); } - var parentNode = parentElement[0]; - if (parentNode.nodeType !== ELEMENT_NODE) { + if (parentElement.nodeType !== ELEMENT_NODE) { // no point in inspecting the #document element break; } - var details = activeAnimationsLookup.get(parentNode) || {}; + var details = activeAnimationsLookup.get(parentElement) || {}; // either an enter, leave or move animation will commence // therefore we can't allow any animations to take place // but if a parent animation is class-based then that's ok if (!parentAnimationDetected) { - var parentElementDisabled = disabledElementsLookup.get(parentNode); + var parentElementDisabled = disabledElementsLookup.get(parentElement); if (parentElementDisabled === true && elementDisabled !== false) { // disable animations if the user hasn't explicitly enabled animations on the @@ -2766,7 +2774,7 @@ var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) { } if (isUndefined(animateChildren) || animateChildren === true) { - var value = parentElement.data(NG_ANIMATE_CHILDREN_DATA); + var value = jqLite.data(parentElement, NG_ANIMATE_CHILDREN_DATA); if (isDefined(value)) { animateChildren = value; } @@ -2789,15 +2797,15 @@ var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) { if (!rootElementDetected) { // If no rootElement is detected, check if the parentElement is pinned to another element - parentHost = parentElement.data(NG_ANIMATE_PIN_DATA); + parentHost = jqLite.data(parentElement, NG_ANIMATE_PIN_DATA); if (parentHost) { // The pin target element becomes the next parent element - parentElement = parentHost; + parentElement = getDomNode(parentHost); continue; } } - parentElement = parentElement.parent(); + parentElement = parentElement.parentNode; } var allowAnimation = (!parentAnimationDetected || animateChildren) && elementDisabled !== true; @@ -3238,11 +3246,17 @@ var $$AnimationProvider = ['$animateProvider', function($animateProvider) { * * ngAnimateSwap is a animation-oriented directive that allows for the container to * be removed and entered in whenever the associated expression changes. A - * common usecase for this directive is a rotating banner component which + * common usecase for this directive is a rotating banner or slider component which * contains one image being present at a time. When the active image changes * then the old image will perform a `leave` animation and the new element * will be inserted via an `enter` animation. * + * @animations + * | Animation | Occurs | + * |----------------------------------|--------------------------------------| + * | {@link ng.$animate#enter enter} | when the new element is inserted to the DOM | + * | {@link ng.$animate#leave leave} | when the old element is removed from the DOM | + * * @example * =a&&(a=e,e=0,b.push(t),t=[]);t.push(g.fn);g.children.forEach(function(a){e++; -c.push(a)});a--}t.length&&b.push(t);return b}(c)}var M=[],r=U(a);return function(u,A,v){function z(a){a=a.hasAttribute("ng-animate-ref")?[a]:a.querySelectorAll("[ng-animate-ref]");var b=[];s(a,function(a){var c=a.getAttribute("ng-animate-ref");c&&c.length&&b.push(a)});return b}function K(a){var b=[],c={};s(a,function(a,f){var d=G(a.element),h=0<=["enter","move"].indexOf(a.event),d=a.structural?z(d):[];if(d.length){var e=h?"to":"from";s(d,function(a){var b=a.getAttribute("ng-animate-ref");c[b]=c[b]|| -{};c[b][e]={animationID:f,element:I(a)}})}else b.push(a)});var d={},h={};s(c,function(c,e){var l=c.from,t=c.to;if(l&&t){var g=a[l.animationID],E=a[t.animationID],k=l.animationID.toString();if(!h[k]){var z=h[k]={structural:!0,beforeStart:function(){g.beforeStart();E.beforeStart()},close:function(){g.close();E.close()},classes:J(g.classes,E.classes),from:g,to:E,anchors:[]};z.classes.length?b.push(z):(b.push(g),b.push(E))}h[k].anchors.push({out:l.element,"in":t.element})}else l=l?l.animationID:t.animationID, -t=l.toString(),d[t]||(d[t]=!0,b.push(a[l]))});return b}function J(a,b){a=a.split(" ");b=b.split(" ");for(var c=[],d=0;d=P&&b>=O&&(wa=!0,q())}function L(){function b(){if(!A){t(!1);s(m, -function(a){l.style[a[0]]=a[1]});z(a,f);e.addClass(a,ca);if(p.recalculateTimingStyles){ja=l.className+" "+da;ga=r(l,ja);F=v(l,ja,ga);$=F.maxDelay;n=Math.max($,0);O=F.maxDuration;if(0===O){q();return}p.hasTransitions=0B.expectedEndTime)?H.cancel(B.timer):g.push(q)}L&&(k=H(c,k,!1),g[0]={timer:k,expectedEndTime:d},g.push(q),a.data("$$animateCss",g));if(ea.length)a.on(ea.join(" "),E);f.to&&(f.cleanupStyles&&Ga(x,l,Object.keys(f.to)),Ba(a, -f))}}function c(){var b=a.data("$$animateCss");if(b){for(var d=1;d=a&&(a=h,h=0,b.push(e),e=[]);e.push(f.fn); +f.children.forEach(function(a){h++;c.push(a)});a--}e.length&&b.push(e);return b}(c)}var l=[],w=Q(a);return function(s,x,v){function h(a){a=a.hasAttribute("ng-animate-ref")?[a]:a.querySelectorAll("[ng-animate-ref]");var b=[];q(a,function(a){var c=a.getAttribute("ng-animate-ref");c&&c.length&&b.push(a)});return b}function P(a){var b=[],c={};q(a,function(a,g){var d=A(a.element),k=0<=["enter","move"].indexOf(a.event),d=a.structural?h(d):[];if(d.length){var e=k?"to":"from";q(d,function(a){var b=a.getAttribute("ng-animate-ref"); +c[b]=c[b]||{};c[b][e]={animationID:g,element:H(a)}})}else b.push(a)});var d={},k={};q(c,function(c,h){var e=c.from,f=c.to;if(e&&f){var m=a[e.animationID],C=a[f.animationID],n=e.animationID.toString();if(!k[n]){var D=k[n]={structural:!0,beforeStart:function(){m.beforeStart();C.beforeStart()},close:function(){m.close();C.close()},classes:y(m.classes,C.classes),from:m,to:C,anchors:[]};D.classes.length?b.push(D):(b.push(m),b.push(C))}k[n].anchors.push({out:e.element,"in":f.element})}else e=e?e.animationID: +f.animationID,f=e.toString(),d[f]||(d[f]=!0,b.push(a[e]))});return b}function y(a,b){a=a.split(" ");b=b.split(" ");for(var c=[],d=0;d=Q&&b>=L&&(H=!0,n())}function K(){function b(){if(!P){D(!1); +q(y,function(a){m.style[a[0]]=a[1]});h(a,g);e.addClass(a,ga);if(p.recalculateTimingStyles){na=m.className+" "+fa;ia=w(m,na);B=v(m,na,ia);$=B.maxDelay;I=Math.max($,0);L=B.maxDuration;if(0===L){n();return}p.hasTransitions=0z.expectedEndTime)?r.cancel(z.timer):f.push(n)}K&&(l=r(c,l,!1),f[0]={timer:l,expectedEndTime:d},f.push(n),a.data("$$animateCss",f));if(ea.length)a.on(ea.join(" "),C);g.to&&(g.cleanupStyles&&Ga(G,m,Object.keys(g.to)),Ba(a, +g))}}function c(){var b=a.data("$$animateCss");if(b){for(var d=1;d