From 01fe3a627ea76c10ec759fb070ea47a0851a0636 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 27 Nov 2014 16:19:56 +0100 Subject: version bump --- appinfo/info.xml | 2 +- js/bower.json | 1 - js/package.json | 1 - js/vendor/angular-animate/.bower.json | 13 +- js/vendor/angular-animate/angular-animate.js | 28 +- js/vendor/angular-animate/angular-animate.min.js | 2 +- 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 | 2 +- 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 | 6 +- js/vendor/angular-route/angular-route.min.js | 12 +- 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 | 14 +- js/vendor/angular-sanitize/angular-sanitize.min.js | 22 +- .../angular-sanitize/angular-sanitize.min.js.map | 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 | 544 ++++++++++++++------- js/vendor/angular/angular.min.js | 488 +++++++++--------- js/vendor/angular/angular.min.js.gzip | Bin 45617 -> 45769 bytes js/vendor/angular/angular.min.js.map | 6 +- js/vendor/angular/bower.json | 2 +- js/vendor/angular/package.json | 2 +- js/vendor/momentjs/.bower.json | 8 +- js/vendor/momentjs/CHANGELOG.md | 12 + js/vendor/momentjs/bower.json | 2 +- js/vendor/momentjs/locale/af.js | 4 +- js/vendor/momentjs/locale/ar-ma.js | 3 +- js/vendor/momentjs/locale/ar-sa.js | 5 +- js/vendor/momentjs/locale/ar.js | 5 +- js/vendor/momentjs/locale/az.js | 4 +- js/vendor/momentjs/locale/be.js | 4 +- js/vendor/momentjs/locale/bg.js | 4 +- js/vendor/momentjs/locale/bn.js | 3 +- js/vendor/momentjs/locale/bo.js | 3 +- js/vendor/momentjs/locale/br.js | 4 +- js/vendor/momentjs/locale/bs.js | 8 +- js/vendor/momentjs/locale/ca.js | 15 +- js/vendor/momentjs/locale/cs.js | 6 +- js/vendor/momentjs/locale/cv.js | 4 +- js/vendor/momentjs/locale/cy.js | 4 +- js/vendor/momentjs/locale/da.js | 4 +- js/vendor/momentjs/locale/de-at.js | 16 +- js/vendor/momentjs/locale/de.js | 16 +- js/vendor/momentjs/locale/el.js | 10 +- js/vendor/momentjs/locale/en-au.js | 4 +- js/vendor/momentjs/locale/en-ca.js | 4 +- js/vendor/momentjs/locale/en-gb.js | 4 +- js/vendor/momentjs/locale/eo.js | 4 +- js/vendor/momentjs/locale/es.js | 4 +- js/vendor/momentjs/locale/et.js | 4 +- js/vendor/momentjs/locale/eu.js | 4 +- js/vendor/momentjs/locale/fa.js | 4 +- js/vendor/momentjs/locale/fi.js | 4 +- js/vendor/momentjs/locale/fo.js | 4 +- js/vendor/momentjs/locale/fr-ca.js | 4 +- js/vendor/momentjs/locale/fr.js | 4 +- js/vendor/momentjs/locale/gl.js | 4 +- js/vendor/momentjs/locale/he.js | 3 +- js/vendor/momentjs/locale/hi.js | 3 +- js/vendor/momentjs/locale/hr.js | 4 +- js/vendor/momentjs/locale/hu.js | 4 +- js/vendor/momentjs/locale/hy-am.js | 4 +- js/vendor/momentjs/locale/id.js | 3 +- js/vendor/momentjs/locale/is.js | 4 +- js/vendor/momentjs/locale/it.js | 13 +- js/vendor/momentjs/locale/ja.js | 3 +- js/vendor/momentjs/locale/ka.js | 4 +- js/vendor/momentjs/locale/km.js | 3 +- js/vendor/momentjs/locale/ko.js | 4 +- js/vendor/momentjs/locale/lb.js | 4 +- js/vendor/momentjs/locale/lt.js | 4 +- js/vendor/momentjs/locale/lv.js | 4 +- js/vendor/momentjs/locale/mk.js | 4 +- js/vendor/momentjs/locale/ml.js | 3 +- js/vendor/momentjs/locale/mr.js | 3 +- js/vendor/momentjs/locale/ms-my.js | 3 +- js/vendor/momentjs/locale/my.js | 3 +- js/vendor/momentjs/locale/nb.js | 4 +- js/vendor/momentjs/locale/ne.js | 3 +- js/vendor/momentjs/locale/nl.js | 4 +- js/vendor/momentjs/locale/nn.js | 4 +- js/vendor/momentjs/locale/pl.js | 4 +- js/vendor/momentjs/locale/pt-br.js | 4 +- js/vendor/momentjs/locale/pt.js | 4 +- js/vendor/momentjs/locale/ro.js | 3 +- js/vendor/momentjs/locale/ru.js | 40 +- js/vendor/momentjs/locale/sk.js | 4 +- js/vendor/momentjs/locale/sl.js | 4 +- js/vendor/momentjs/locale/sq.js | 4 +- js/vendor/momentjs/locale/sr-cyrl.js | 4 +- js/vendor/momentjs/locale/sr.js | 4 +- js/vendor/momentjs/locale/sv.js | 4 +- js/vendor/momentjs/locale/ta.js | 4 +- js/vendor/momentjs/locale/th.js | 3 +- js/vendor/momentjs/locale/tl-ph.js | 4 +- js/vendor/momentjs/locale/tr.js | 4 +- js/vendor/momentjs/locale/tzm-latn.js | 3 +- js/vendor/momentjs/locale/tzm.js | 3 +- js/vendor/momentjs/locale/uk.js | 4 +- js/vendor/momentjs/locale/uz.js | 3 +- js/vendor/momentjs/locale/vi.js | 4 +- js/vendor/momentjs/locale/zh-cn.js | 4 +- js/vendor/momentjs/locale/zh-tw.js | 4 +- js/vendor/momentjs/min/locales.js | 388 ++++++++++----- js/vendor/momentjs/min/locales.min.js | 8 +- js/vendor/momentjs/min/moment-with-locales.js | 380 +++++++++++--- js/vendor/momentjs/min/moment-with-locales.min.js | 12 +- js/vendor/momentjs/min/moment.min.js | 6 +- js/vendor/momentjs/moment.js | 148 ++++-- js/vendor/momentjs/scripts/npm_prepublish.sh | 43 ++ 119 files changed, 1730 insertions(+), 878 deletions(-) create mode 100755 js/vendor/momentjs/scripts/npm_prepublish.sh diff --git a/appinfo/info.xml b/appinfo/info.xml index f082b7be5..33e83f888 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -9,7 +9,7 @@ Multimedia AGPL - 4.2.1 + 4.2.2 diff --git a/js/bower.json b/js/bower.json index 804dfcdc3..4a32f6b45 100644 --- a/js/bower.json +++ b/js/bower.json @@ -1,6 +1,5 @@ { "name": "ownCloud-news", - "version": "4.2.1", "homepage": "https://github.com/owncloud/news", "authors": [ "Bernhard Posselt " diff --git a/js/package.json b/js/package.json index 70a3c507d..9627dc96b 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,5 @@ { "name": "ownCloud-news", - "version": "4.2.1", "description": "An RSS/Atom feed reader", "main": "build/app.js", "scripts": { diff --git a/js/vendor/angular-animate/.bower.json b/js/vendor/angular-animate/.bower.json index 96f6f3399..8922ee5b1 100644 --- a/js/vendor/angular-animate/.bower.json +++ b/js/vendor/angular-animate/.bower.json @@ -1,20 +1,19 @@ { "name": "angular-animate", - "version": "1.3.3", + "version": "1.3.4", "main": "./angular-animate.js", "ignore": [], "dependencies": { - "angular": "1.3.3" + "angular": "1.3.4" }, "homepage": "https://github.com/angular/bower-angular-animate", - "_release": "1.3.3", + "_release": "1.3.4", "_resolution": { "type": "version", - "tag": "v1.3.3", - "commit": "58f2c33336fd7b95db069249750ad64ef07d3608" + "tag": "v1.3.4", + "commit": "b958e4c77009af2b655ea9340bf9f69f7cff8199" }, "_source": "git://github.com/angular/bower-angular-animate.git", "_target": "~1.3.3", - "_originalSource": "angular-animate", - "_direct": true + "_originalSource": "angular-animate" } \ No newline at end of file diff --git a/js/vendor/angular-animate/angular-animate.js b/js/vendor/angular-animate/angular-animate.js index 8d8a3622e..684cb09c1 100644 --- a/js/vendor/angular-animate/angular-animate.js +++ b/js/vendor/angular-animate/angular-animate.js @@ -1,5 +1,5 @@ /** - * @license AngularJS v1.3.3 + * @license AngularJS v1.3.4 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ @@ -245,7 +245,7 @@ * You then configure `$animate` to enforce this prefix: * * ```js - * $animateProvider.classNamePrefix(/animate-/); + * $animateProvider.classNameFilter(/animate-/); * ``` * * @@ -976,9 +976,9 @@ angular.module('ngAnimate', ['ng']) * | 3. $animate waits for the next digest to start the animation | class="my-animation ng-animate" | * | 4. the .ng-leave class is added to the element | class="my-animation ng-animate ng-leave" | * | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-leave" | - * | 6. $animate blocks all CSS transitions on the element to ensure the .ng-leave class styling is applied right away | class="my-animation ng-animate ng-leave” | + * | 6. $animate blocks all CSS transitions on the element to ensure the .ng-leave class styling is applied right away | class="my-animation ng-animate ng-leave" | * | 7. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate ng-leave" | - * | 8. $animate removes the CSS transition block placed on the element | class="my-animation ng-animate ng-leave” | + * | 8. $animate removes the CSS transition block placed on the element | class="my-animation ng-animate ng-leave" | * | 9. the .ng-leave-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-leave ng-leave-active" | * | 10. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate ng-leave ng-leave-active" | * | 11. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | @@ -1022,9 +1022,9 @@ angular.module('ngAnimate', ['ng']) * | 4. $animate runs the JavaScript-defined animations detected on the element | class="my-animation ng-animate" | * | 5. the .ng-move class is added to the element | class="my-animation ng-animate ng-move" | * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-move" | - * | 7. $animate blocks all CSS transitions on the element to ensure the .ng-move class styling is applied right away | class="my-animation ng-animate ng-move” | + * | 7. $animate blocks all CSS transitions on the element to ensure the .ng-move class styling is applied right away | class="my-animation ng-animate ng-move" | * | 8. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate ng-move" | - * | 9. $animate removes the CSS transition block placed on the element | class="my-animation ng-animate ng-move” | + * | 9. $animate removes the CSS transition block placed on the element | class="my-animation ng-animate ng-move" | * | 10. the .ng-move-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-move ng-move-active" | * | 11. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate ng-move ng-move-active" | * | 12. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | @@ -1069,8 +1069,8 @@ angular.module('ngAnimate', ['ng']) * | 3. the .super-add class is added to the element | class="my-animation ng-animate super-add" | * | 4. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate super-add" | * | 5. the .super and .super-add-active classes are added (this triggers the CSS transition/animation) | class="my-animation ng-animate super super-add super-add-active" | - * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate super-add" | - * | 7. $animate waits for the animation to complete (via events and timeout) | class="my-animation super super-add super-add-active" | + * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate super super-add super-add-active" | + * | 7. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate super super-add super-add-active" | * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation super" | * | 9. The super class is kept on the element | class="my-animation super" | * | 10. The returned promise is resolved. | class="my-animation super" | @@ -1103,7 +1103,7 @@ angular.module('ngAnimate', ['ng']) * | 3. the .super-remove class is added to the element | class="my-animation super ng-animate super-remove" | * | 4. $animate waits for a single animation frame (this performs a reflow) | class="my-animation super ng-animate super-remove" | * | 5. the .super-remove-active classes are added and .super is removed (this triggers the CSS transition/animation) | class="my-animation ng-animate super-remove super-remove-active" | - * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation super ng-animate super-remove" | + * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate super-remove super-remove-active" | * | 7. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate super-remove super-remove-active" | * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | * | 9. The returned promise is resolved. | class="my-animation" | @@ -1128,11 +1128,11 @@ angular.module('ngAnimate', ['ng']) * * | Animation Step | What the element class attribute looks like | * |--------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------| - * | 1. $animate.removeClass(element, ‘on’, ‘off’) is called | class="my-animation super off” | - * | 2. $animate runs the JavaScript-defined animations detected on the element | class="my-animation super ng-animate off” | - * | 3. the .on-add and .off-remove classes are added to the element | class="my-animation ng-animate on-add off-remove off” | - * | 4. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate on-add off-remove off” | - * | 5. the .on, .on-add-active and .off-remove-active classes are added and .off is removed (this triggers the CSS transition/animation) | class="my-animation ng-animate on on-add on-add-active off-remove off-remove-active” | + * | 1. $animate.setClass(element, 'on', 'off') is called | class="my-animation off" | + * | 2. $animate runs the JavaScript-defined animations detected on the element | class="my-animation ng-animate off" | + * | 3. the .on-add and .off-remove classes are added to the element | class="my-animation ng-animate on-add off-remove off" | + * | 4. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate on-add off-remove off" | + * | 5. the .on, .on-add-active and .off-remove-active classes are added and .off is removed (this triggers the CSS transition/animation) | class="my-animation ng-animate on on-add on-add-active off-remove off-remove-active" | * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate on on-add on-add-active off-remove off-remove-active" | * | 7. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate on on-add on-add-active off-remove off-remove-active" | * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation on" | diff --git a/js/vendor/angular-animate/angular-animate.min.js b/js/vendor/angular-animate/angular-animate.min.js index 174e9ac49..362119819 100644 --- a/js/vendor/angular-animate/angular-animate.min.js +++ b/js/vendor/angular-animate/angular-animate.min.js @@ -1,5 +1,5 @@ /* - AngularJS v1.3.3 + AngularJS v1.3.4 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ diff --git a/js/vendor/angular-animate/bower.json b/js/vendor/angular-animate/bower.json index c61e46a61..5bb1ccdb3 100644 --- a/js/vendor/angular-animate/bower.json +++ b/js/vendor/angular-animate/bower.json @@ -1,9 +1,9 @@ { "name": "angular-animate", - "version": "1.3.3", + "version": "1.3.4", "main": "./angular-animate.js", "ignore": [], "dependencies": { - "angular": "1.3.3" + "angular": "1.3.4" } } diff --git a/js/vendor/angular-animate/package.json b/js/vendor/angular-animate/package.json index 1aad7a405..462f00680 100644 --- a/js/vendor/angular-animate/package.json +++ b/js/vendor/angular-animate/package.json @@ -1,6 +1,6 @@ { "name": "angular-animate", - "version": "1.3.3", + "version": "1.3.4", "description": "AngularJS module for animations", "main": "angular-animate.js", "scripts": { diff --git a/js/vendor/angular-mocks/.bower.json b/js/vendor/angular-mocks/.bower.json index c79368411..3bcebddce 100644 --- a/js/vendor/angular-mocks/.bower.json +++ b/js/vendor/angular-mocks/.bower.json @@ -1,17 +1,17 @@ { "name": "angular-mocks", - "version": "1.3.3", + "version": "1.3.4", "main": "./angular-mocks.js", "ignore": [], "dependencies": { - "angular": "1.3.3" + "angular": "1.3.4" }, "homepage": "https://github.com/angular/bower-angular-mocks", - "_release": "1.3.3", + "_release": "1.3.4", "_resolution": { "type": "version", - "tag": "v1.3.3", - "commit": "68181abcaf1305cd83395df34da02e39d4c9358c" + "tag": "v1.3.4", + "commit": "15dd7c6bed51102fadc68ce02fcced2a8391ef34" }, "_source": "git://github.com/angular/bower-angular-mocks.git", "_target": "~1.3.*", diff --git a/js/vendor/angular-mocks/angular-mocks.js b/js/vendor/angular-mocks/angular-mocks.js index 84b695274..80219656e 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.3 + * @license AngularJS v1.3.4 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ diff --git a/js/vendor/angular-mocks/bower.json b/js/vendor/angular-mocks/bower.json index ec55cc8bf..f747f6e27 100644 --- a/js/vendor/angular-mocks/bower.json +++ b/js/vendor/angular-mocks/bower.json @@ -1,9 +1,9 @@ { "name": "angular-mocks", - "version": "1.3.3", + "version": "1.3.4", "main": "./angular-mocks.js", "ignore": [], "dependencies": { - "angular": "1.3.3" + "angular": "1.3.4" } } diff --git a/js/vendor/angular-mocks/package.json b/js/vendor/angular-mocks/package.json index 12b5bca26..530875d95 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.3", + "version": "1.3.4", "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 4882f26c6..253d846ef 100644 --- a/js/vendor/angular-route/.bower.json +++ b/js/vendor/angular-route/.bower.json @@ -1,17 +1,17 @@ { "name": "angular-route", - "version": "1.3.3", + "version": "1.3.4", "main": "./angular-route.js", "ignore": [], "dependencies": { - "angular": "1.3.3" + "angular": "1.3.4" }, "homepage": "https://github.com/angular/bower-angular-route", - "_release": "1.3.3", + "_release": "1.3.4", "_resolution": { "type": "version", - "tag": "v1.3.3", - "commit": "6114f71bd3e6e526a1fa5c855832ded7f0b2ab9f" + "tag": "v1.3.4", + "commit": "f5b509929b7d7e779ead20512fd5d405829baf3e" }, "_source": "git://github.com/angular/bower-angular-route.git", "_target": "~1.3.*", diff --git a/js/vendor/angular-route/angular-route.js b/js/vendor/angular-route/angular-route.js index 9c09fff5a..682031878 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.3 + * @license AngularJS v1.3.4 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ @@ -41,7 +41,7 @@ var ngRouteModule = angular.module('ngRoute', ['ng']). */ function $RouteProvider() { function inherit(parent, extra) { - return angular.extend(new (angular.extend(function() {}, {prototype:parent}))(), extra); + return angular.extend(Object.create(parent), extra); } var routes = {}; @@ -657,7 +657,7 @@ function $RouteProvider() { if (i === 0) { result.push(segment); } else { - var segmentMatch = segment.match(/(\w+)(.*)/); + var segmentMatch = segment.match(/(\w+)(?:[?*])?(.*)/); var key = segmentMatch[1]; result.push(params[key]); result.push(segmentMatch[2] || ''); diff --git a/js/vendor/angular-route/angular-route.min.js b/js/vendor/angular-route/angular-route.min.js index b17ef6a6f..c082a896f 100644 --- a/js/vendor/angular-route/angular-route.min.js +++ b/js/vendor/angular-route/angular-route.min.js @@ -1,15 +1,15 @@ /* - AngularJS v1.3.3 + AngularJS v1.3.4 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ (function(p,d,C){'use strict';function v(r,h,g){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,c,b,f,y){function z(){k&&(g.cancel(k),k=null);l&&(l.$destroy(),l=null);m&&(k=g.leave(m),k.then(function(){k=null}),m=null)}function x(){var b=r.current&&r.current.locals;if(d.isDefined(b&&b.$template)){var b=a.$new(),f=r.current;m=y(b,function(b){g.enter(b,null,m||c).then(function(){!d.isDefined(t)||t&&!a.$eval(t)||h()});z()});l=f.scope=b;l.$emit("$viewContentLoaded"); -l.$eval(w)}else z()}var l,m,k,t=b.autoscroll,w=b.onload||"";a.$on("$routeChangeSuccess",x);x()}}}function A(d,h,g){return{restrict:"ECA",priority:-400,link:function(a,c){var b=g.current,f=b.locals;c.html(f.$template);var y=d(c.contents());b.controller&&(f.$scope=a,f=h(b.controller,f),b.controllerAs&&(a[b.controllerAs]=f),c.data("$ngControllerController",f),c.children().data("$ngControllerController",f));y(a)}}}p=d.module("ngRoute",["ng"]).provider("$route",function(){function r(a,c){return d.extend(new (d.extend(function(){}, -{prototype:a})),c)}function h(a,d){var b=d.caseInsensitiveMatch,f={originalPath:a,regexp:a},g=f.keys=[];a=a.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(a,d,b,c){a="?"===c?c:null;c="*"===c?c:null;g.push({name:b,optional:!!a});d=d||"";return""+(a?"":d)+"(?:"+(a?d:"")+(c&&"(.+?)"||"([^/]+)")+(a||"")+")"+(a||"")}).replace(/([\/$\*])/g,"\\$1");f.regexp=new RegExp("^"+a+"$",b?"i":"");return f}var g={};this.when=function(a,c){var b=d.copy(c);d.isUndefined(b.reloadOnSearch)&&(b.reloadOnSearch= -!0);d.isUndefined(b.caseInsensitiveMatch)&&(b.caseInsensitiveMatch=this.caseInsensitiveMatch);g[a]=d.extend(b,a&&h(a,b));if(a){var f="/"==a[a.length-1]?a.substr(0,a.length-1):a+"/";g[f]=d.extend({redirectTo:a},h(f,b))}return this};this.caseInsensitiveMatch=!1;this.otherwise=function(a){"string"===typeof a&&(a={redirectTo:a});this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(a,c,b,f,h,p,x){function l(b){var e=s.current; +l.$eval(w)}else z()}var l,m,k,t=b.autoscroll,w=b.onload||"";a.$on("$routeChangeSuccess",x);x()}}}function A(d,h,g){return{restrict:"ECA",priority:-400,link:function(a,c){var b=g.current,f=b.locals;c.html(f.$template);var y=d(c.contents());b.controller&&(f.$scope=a,f=h(b.controller,f),b.controllerAs&&(a[b.controllerAs]=f),c.data("$ngControllerController",f),c.children().data("$ngControllerController",f));y(a)}}}p=d.module("ngRoute",["ng"]).provider("$route",function(){function r(a,c){return d.extend(Object.create(a), +c)}function h(a,d){var b=d.caseInsensitiveMatch,f={originalPath:a,regexp:a},g=f.keys=[];a=a.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(a,d,b,c){a="?"===c?c:null;c="*"===c?c:null;g.push({name:b,optional:!!a});d=d||"";return""+(a?"":d)+"(?:"+(a?d:"")+(c&&"(.+?)"||"([^/]+)")+(a||"")+")"+(a||"")}).replace(/([\/$\*])/g,"\\$1");f.regexp=new RegExp("^"+a+"$",b?"i":"");return f}var g={};this.when=function(a,c){var b=d.copy(c);d.isUndefined(b.reloadOnSearch)&&(b.reloadOnSearch=!0); +d.isUndefined(b.caseInsensitiveMatch)&&(b.caseInsensitiveMatch=this.caseInsensitiveMatch);g[a]=d.extend(b,a&&h(a,b));if(a){var f="/"==a[a.length-1]?a.substr(0,a.length-1):a+"/";g[f]=d.extend({redirectTo:a},h(f,b))}return this};this.caseInsensitiveMatch=!1;this.otherwise=function(a){"string"===typeof a&&(a={redirectTo:a});this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(a,c,b,f,h,p,x){function l(b){var e=s.current; (v=(n=k())&&e&&n.$$route===e.$$route&&d.equals(n.pathParams,e.pathParams)&&!n.reloadOnSearch&&!w)||!e&&!n||a.$broadcast("$routeChangeStart",n,e).defaultPrevented&&b&&b.preventDefault()}function m(){var u=s.current,e=n;if(v)u.params=e.params,d.copy(u.params,b),a.$broadcast("$routeUpdate",u);else if(e||u)w=!1,(s.current=e)&&e.redirectTo&&(d.isString(e.redirectTo)?c.path(t(e.redirectTo,e.params)).search(e.params).replace():c.url(e.redirectTo(e.pathParams,c.path(),c.search())).replace()),f.when(e).then(function(){if(e){var a= d.extend({},e.resolve),b,c;d.forEach(a,function(b,e){a[e]=d.isString(b)?h.get(b):h.invoke(b,null,null,e)});d.isDefined(b=e.template)?d.isFunction(b)&&(b=b(e.params)):d.isDefined(c=e.templateUrl)&&(d.isFunction(c)&&(c=c(e.params)),c=x.getTrustedResourceUrl(c),d.isDefined(c)&&(e.loadedTemplateUrl=c,b=p(c)));d.isDefined(b)&&(a.$template=b);return f.all(a)}}).then(function(c){e==s.current&&(e&&(e.locals=c,d.copy(e.params,b)),a.$broadcast("$routeChangeSuccess",e,u))},function(b){e==s.current&&a.$broadcast("$routeChangeError", -e,u,b)})}function k(){var a,b;d.forEach(g,function(f,g){var q;if(q=!b){var h=c.path();q=f.keys;var l={};if(f.regexp)if(h=f.regexp.exec(h)){for(var k=1,m=h.length;k'); + html.push('href="', + url.replace('"', '"'), + '">'); addText(text); html.push(''); } diff --git a/js/vendor/angular-sanitize/angular-sanitize.min.js b/js/vendor/angular-sanitize/angular-sanitize.min.js index a1af07a48..7a0d26fbe 100644 --- a/js/vendor/angular-sanitize/angular-sanitize.min.js +++ b/js/vendor/angular-sanitize/angular-sanitize.min.js @@ -1,16 +1,16 @@ /* - AngularJS v1.3.3 + AngularJS v1.3.4 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ -(function(p,g,q){'use strict';function F(a){var d=[];t(d,g.noop).chars(a);return d.join("")}function k(a){var d={};a=a.split(",");var c;for(c=0;c=c;e--)d.end&&d.end(f[e]);f.length=c}}"string"!==typeof a&&(a=null===a||"undefined"===typeof a?"":""+a);var b,m,f=[],n=a,h;for(f.last=function(){return f[f.length-1]};a;){h="";m=!0;if(f.last()&&y[f.last()])a=a.replace(new RegExp("(.*)<\\s*\\/\\s*"+f.last()+"[^>]*>","i"),function(a,b){b=b.replace(I,"$1").replace(J,"$1");d.chars&&d.chars(s(b));return""}),e("",f.last());else{if(0===a.indexOf("\x3c!--"))b=a.indexOf("--",4),0<=b&&a.lastIndexOf("--\x3e",b)===b&&(d.comment&&d.comment(a.substring(4, -b)),a=a.substring(b+3),m=!1);else if(z.test(a)){if(b=a.match(z))a=a.replace(b[0],""),m=!1}else if(K.test(a)){if(b=a.match(A))a=a.substring(b[0].length),b[0].replace(A,e),m=!1}else L.test(a)&&((b=a.match(B))?(b[4]&&(a=a.substring(b[0].length),b[0].replace(B,c)),m=!1):(h+="<",a=a.substring(1)));m&&(b=a.indexOf("<"),h+=0>b?a:a.substring(0,b),a=0>b?"":a.substring(b),d.chars&&d.chars(s(h)))}if(a==n)throw M("badparse",a);n=a}e()}function s(a){if(!a)return"";var d=N.exec(a);a=d[1];var c=d[3];if(d=d[2])r.innerHTML= -d.replace(//g,">")}function t(a,d){var c=!1,e=g.bind(a,a.push);return{start:function(a,m,f){a=g.lowercase(a);!c&&y[a]&&(c=a);c||!0!==D[a]||(e("<"),e(a),g.forEach(m,function(c,f){var l= -g.lowercase(f),m="img"===a&&"src"===l||"background"===l;!0!==Q[l]||!0===E[l]&&!d(c,m)||(e(" "),e(f),e('="'),e(C(c)),e('"'))}),e(f?"/>":">"))},end:function(a){a=g.lowercase(a);c||!0!==D[a]||(e(""));a==c&&(c=!1)},chars:function(a){c||e(C(a))}}}var M=g.$$minErr("$sanitize"),B=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,A=/^<\/\s*([\w:-]+)[^>]*>/,H=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,L=/^]*?)>/i,J=/