r206 - in sandbox/nuiton-js-angular: . src/main/resources/META-INF/nuiton-js src/main/resources/nuiton-js-angular src/main/resources/nuiton-js-angular/extra src/main/resources/nuiton-js-angular/i18n
Author: echatellier Date: 2013-09-09 11:04:12 +0200 (Mon, 09 Sep 2013) New Revision: 206 Url: http://nuiton.org/projects/nuiton-js/repository/revisions/206 Log: Update to angularjs-1.2.0-rc2 Removed: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_chr.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_cy.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_el-polyton.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_en-zz.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-rw.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-sn.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-td.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-tg.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_haw.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_it-ch.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ln-cg.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_mo.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ms-bn.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_nl-aw.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_nl-be.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-ao.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-gw.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-mz.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-st.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ro-md.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ru-md.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ru-ua.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl-ba.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl-me.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn-ba.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn-me.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-rs.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sv-fi.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sw-ke.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ta-lk.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_tl-ph.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ur-in.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-hk.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-mo.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-sg.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-hk.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-mo.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-tw.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant.js Modified: sandbox/nuiton-js-angular/pom.xml sandbox/nuiton-js-angular/src/main/resources/META-INF/nuiton-js/wro-angular.xml sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/angular.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-animate.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-cookies.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-loader.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-mocks.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-resource.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-route.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-sanitize.js sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-touch.js Modified: sandbox/nuiton-js-angular/pom.xml =================================================================== --- sandbox/nuiton-js-angular/pom.xml 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/pom.xml 2013-09-09 09:04:12 UTC (rev 206) @@ -14,7 +14,7 @@ </parent> <artifactId>nuiton-js-angular</artifactId> - <version>1.2.0-rc1-2-SNAPSHOT</version> + <version>1.2.0-rc2-1-SNAPSHOT</version> <name>Nuiton JS :: Angular</name> <description>Angular jar packaging</description> @@ -29,9 +29,9 @@ </licenses> <scm> - <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/tags/nuiton-js-angular-1.2.0-rc1-2</connection> - <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/tags/nuiton-js-angular-1.2.0-rc1-2</developerConnection> - <url>http://www.nuiton.org/repositories/browse/nuiton-js/tags/nuiton-js-angular-1.2.0-rc1-2</url> + <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/tags/nuiton-js-angular-1.2.0-rc2-1</connection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/tags/nuiton-js-angular-1.2.0-rc2-1</developerConnection> + <url>http://www.nuiton.org/repositories/browse/nuiton-js/tags/nuiton-js-angular-1.2.0-rc2-1</url> </scm> </project> Modified: sandbox/nuiton-js-angular/src/main/resources/META-INF/nuiton-js/wro-angular.xml =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/META-INF/nuiton-js/wro-angular.xml 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/META-INF/nuiton-js/wro-angular.xml 2013-09-09 09:04:12 UTC (rev 206) @@ -186,10 +186,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_ca.js</js> </group> - <group name='angular-chr'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_chr.js</js> - </group> - <group name='angular-cs-cz'> <js>classpath:nuiton-js-angular/i18n/angular-locale_cs-cz.js</js> </group> @@ -198,10 +194,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_cs.js</js> </group> - <group name='angular-cy'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_cy.js</js> - </group> - <group name='angular-da-dk'> <js>classpath:nuiton-js-angular/i18n/angular-locale_da-dk.js</js> </group> @@ -246,10 +238,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_el-gr.js</js> </group> - <group name='angular-el-polyton'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_el-polyton.js</js> - </group> - <group name='angular-el'> <js>classpath:nuiton-js-angular/i18n/angular-locale_el.js</js> </group> @@ -406,10 +394,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_en-zw.js</js> </group> - <group name='angular-en-zz'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_en-zz.js</js> - </group> - <group name='angular-en'> <js>classpath:nuiton-js-angular/i18n/angular-locale_en.js</js> </group> @@ -670,22 +654,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_fr-re.js</js> </group> - <group name='angular-fr-rw'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_fr-rw.js</js> - </group> - - <group name='angular-fr-sn'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_fr-sn.js</js> - </group> - - <group name='angular-fr-td'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_fr-td.js</js> - </group> - - <group name='angular-fr-tg'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_fr-tg.js</js> - </group> - <group name='angular-fr-yt'> <js>classpath:nuiton-js-angular/i18n/angular-locale_fr-yt.js</js> </group> @@ -718,10 +686,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_gu.js</js> </group> - <group name='angular-haw'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_haw.js</js> - </group> - <group name='angular-he-il'> <js>classpath:nuiton-js-angular/i18n/angular-locale_he-il.js</js> </group> @@ -774,10 +738,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_is.js</js> </group> - <group name='angular-it-ch'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_it-ch.js</js> - </group> - <group name='angular-it-it'> <js>classpath:nuiton-js-angular/i18n/angular-locale_it-it.js</js> </group> @@ -822,10 +782,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_ln-cd.js</js> </group> - <group name='angular-ln-cg'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_ln-cg.js</js> - </group> - <group name='angular-ln'> <js>classpath:nuiton-js-angular/i18n/angular-locale_ln.js</js> </group> @@ -854,10 +810,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_ml.js</js> </group> - <group name='angular-mo'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_mo.js</js> - </group> - <group name='angular-mr-in'> <js>classpath:nuiton-js-angular/i18n/angular-locale_mr-in.js</js> </group> @@ -866,10 +818,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_mr.js</js> </group> - <group name='angular-ms-bn'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_ms-bn.js</js> - </group> - <group name='angular-ms-my'> <js>classpath:nuiton-js-angular/i18n/angular-locale_ms-my.js</js> </group> @@ -886,14 +834,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_mt.js</js> </group> - <group name='angular-nl-aw'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_nl-aw.js</js> - </group> - - <group name='angular-nl-be'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_nl-be.js</js> - </group> - <group name='angular-nl-cw'> <js>classpath:nuiton-js-angular/i18n/angular-locale_nl-cw.js</js> </group> @@ -930,38 +870,18 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_pl.js</js> </group> - <group name='angular-pt-ao'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_pt-ao.js</js> - </group> - <group name='angular-pt-br'> <js>classpath:nuiton-js-angular/i18n/angular-locale_pt-br.js</js> </group> - <group name='angular-pt-gw'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_pt-gw.js</js> - </group> - - <group name='angular-pt-mz'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_pt-mz.js</js> - </group> - <group name='angular-pt-pt'> <js>classpath:nuiton-js-angular/i18n/angular-locale_pt-pt.js</js> </group> - <group name='angular-pt-st'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_pt-st.js</js> - </group> - <group name='angular-pt'> <js>classpath:nuiton-js-angular/i18n/angular-locale_pt.js</js> </group> - <group name='angular-ro-md'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_ro-md.js</js> - </group> - <group name='angular-ro-ro'> <js>classpath:nuiton-js-angular/i18n/angular-locale_ro-ro.js</js> </group> @@ -970,18 +890,10 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_ro.js</js> </group> - <group name='angular-ru-md'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_ru-md.js</js> - </group> - <group name='angular-ru-ru'> <js>classpath:nuiton-js-angular/i18n/angular-locale_ru-ru.js</js> </group> - <group name='angular-ru-ua'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_ru-ua.js</js> - </group> - <group name='angular-ru'> <js>classpath:nuiton-js-angular/i18n/angular-locale_ru.js</js> </group> @@ -1010,50 +922,18 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_sq.js</js> </group> - <group name='angular-sr-cyrl-ba'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_sr-cyrl-ba.js</js> - </group> - - <group name='angular-sr-cyrl-me'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_sr-cyrl-me.js</js> - </group> - <group name='angular-sr-cyrl-rs'> <js>classpath:nuiton-js-angular/i18n/angular-locale_sr-cyrl-rs.js</js> </group> - <group name='angular-sr-cyrl'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_sr-cyrl.js</js> - </group> - - <group name='angular-sr-latn-ba'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_sr-latn-ba.js</js> - </group> - - <group name='angular-sr-latn-me'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_sr-latn-me.js</js> - </group> - <group name='angular-sr-latn-rs'> <js>classpath:nuiton-js-angular/i18n/angular-locale_sr-latn-rs.js</js> </group> - <group name='angular-sr-latn'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_sr-latn.js</js> - </group> - - <group name='angular-sr-rs'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_sr-rs.js</js> - </group> - <group name='angular-sr'> <js>classpath:nuiton-js-angular/i18n/angular-locale_sr.js</js> </group> - <group name='angular-sv-fi'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_sv-fi.js</js> - </group> - <group name='angular-sv-se'> <js>classpath:nuiton-js-angular/i18n/angular-locale_sv-se.js</js> </group> @@ -1062,10 +942,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_sv.js</js> </group> - <group name='angular-sw-ke'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_sw-ke.js</js> - </group> - <group name='angular-sw-tz'> <js>classpath:nuiton-js-angular/i18n/angular-locale_sw-tz.js</js> </group> @@ -1078,10 +954,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_ta-in.js</js> </group> - <group name='angular-ta-lk'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_ta-lk.js</js> - </group> - <group name='angular-ta'> <js>classpath:nuiton-js-angular/i18n/angular-locale_ta.js</js> </group> @@ -1102,10 +974,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_th.js</js> </group> - <group name='angular-tl-ph'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_tl-ph.js</js> - </group> - <group name='angular-tl'> <js>classpath:nuiton-js-angular/i18n/angular-locale_tl.js</js> </group> @@ -1126,10 +994,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_uk.js</js> </group> - <group name='angular-ur-in'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_ur-in.js</js> - </group> - <group name='angular-ur-pk'> <js>classpath:nuiton-js-angular/i18n/angular-locale_ur-pk.js</js> </group> @@ -1154,38 +1018,6 @@ <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hans-cn.js</js> </group> - <group name='angular-zh-hans-hk'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hans-hk.js</js> - </group> - - <group name='angular-zh-hans-mo'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hans-mo.js</js> - </group> - - <group name='angular-zh-hans-sg'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hans-sg.js</js> - </group> - - <group name='angular-zh-hans'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hans.js</js> - </group> - - <group name='angular-zh-hant-hk'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hant-hk.js</js> - </group> - - <group name='angular-zh-hant-mo'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hant-mo.js</js> - </group> - - <group name='angular-zh-hant-tw'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hant-tw.js</js> - </group> - - <group name='angular-zh-hant'> - <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hant.js</js> - </group> - <group name='angular-zh-hk'> <js>classpath:nuiton-js-angular/i18n/angular-locale_zh-hk.js</js> </group> Modified: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/angular.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/angular.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/angular.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +1,5 @@ /** %%Ignore-License - * @license AngularJS v1.2.0rc1 + * @license AngularJS v1.2.0-rc.2 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ @@ -35,10 +35,21 @@ function minErr(module) { return function () { - var prefix = '[' + (module ? module + ':' : '') + arguments[0] + '] ', + var code = arguments[0], + prefix = '[' + (module ? module + ':' : '') + code + '] ', template = arguments[1], templateArgs = arguments, - message; + stringify = function (obj) { + if (isFunction(obj)) { + return obj.toString().replace(/ \{[\s\S]*$/, ''); + } else if (isUndefined(obj)) { + return 'undefined'; + } else if (!isString(obj)) { + return JSON.stringify(obj); + } + return obj; + }, + message, i; message = prefix + template.replace(/\{\d+\}/g, function (match) { var index = +match.slice(1, -1), arg; @@ -57,6 +68,13 @@ return match; }); + message = message + '\nhttp://errors.angularjs.org/' + version.full + '/' + + (module ? module + '/' : '') + code; + for (i = 2; i < arguments.length; i++) { + message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' + + encodeURIComponent(stringify(arguments[i])); + } + return new Error(message); }; } @@ -119,7 +137,7 @@ var /** holds major version number for IE or NaN for real browsers */ - msie = int((/msie (\d+)/.exec(lowercase(navigator.userAgent)) || [])[1]), + msie, jqLite, // delay binding since jQuery could be loaded after us. jQuery, // delay binding slice = [].slice, @@ -136,6 +154,16 @@ uid = ['0', '0', '0']; /** + * IE 11 changed the format of the UserAgent string. + * See http://msdn.microsoft.com/en-us/library/ms537503.aspx + */ +msie = int((/msie (\d+)/.exec(lowercase(navigator.userAgent)) || [])[1]); +if (isNaN(msie)) { + msie = int((/trident\/.*; rv:(\d+)/.exec(lowercase(navigator.userAgent)) || [])[1]); +} + + +/** * @private * @param {*} obj * @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments, ...) @@ -1249,11 +1277,14 @@ * @name angular.module * @description * - * The `angular.module` is a global place for creating and registering Angular modules. All - * modules (angular core or 3rd party) that should be available to an application must be + * The `angular.module` is a global place for creating, registering and retrieving Angular modules. + * All modules (angular core or 3rd party) that should be available to an application must be * registered using this mechanism. * + * When passed two or more arguments, a new module is created. If passed only one argument, an + * existing module (the name passed as the first argument to `module`) is retrieved. * + * * # Module * * A module is a collection of services, directives, filters, and configuration information. @@ -1523,11 +1554,11 @@ * - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat". */ var version = { - full: '1.2.0rc1', // all of these placeholder strings will be replaced by grunt's + full: '1.2.0-rc.2', // all of these placeholder strings will be replaced by grunt's major: 1, // package task minor: 2, dot: 0, - codeName: 'spooky-giraffe' + codeName: 'barehand-atomsplitting' }; @@ -2590,13 +2621,15 @@ if (typeof fn == 'function') { if (!($inject = fn.$inject)) { $inject = []; - fnText = fn.toString().replace(STRIP_COMMENTS, ''); - argDecl = fnText.match(FN_ARGS); - forEach(argDecl[1].split(FN_ARG_SPLIT), function(arg){ - arg.replace(FN_ARG, function(all, underscore, name){ - $inject.push(name); + if (fn.length) { + fnText = fn.toString().replace(STRIP_COMMENTS, ''); + argDecl = fnText.match(FN_ARGS); + forEach(argDecl[1].split(FN_ARG_SPLIT), function(arg){ + arg.replace(FN_ARG, function(all, underscore, name){ + $inject.push(name); + }); }); - }); + } fn.$inject = $inject; } } else if (isArray(fn)) { @@ -3320,7 +3353,7 @@ forEach(element, function(node) { parentNode.insertBefore(node, afterNextSibling); }); - $timeout(done || noop, 0, false); + done && $timeout(done, 0, false); }, /** @@ -3337,7 +3370,7 @@ */ leave : function(element, done) { element.remove(); - $timeout(done || noop, 0, false); + done && $timeout(done, 0, false); }, /** @@ -3379,7 +3412,7 @@ className : isArray(className) ? className.join(' ') : ''; element.addClass(className); - $timeout(done || noop, 0, false); + done && $timeout(done, 0, false); }, /** @@ -3400,7 +3433,7 @@ className : isArray(className) ? className.join(' ') : ''; element.removeClass(className); - $timeout(done || noop, 0, false); + done && $timeout(done, 0, false); }, enabled : noop @@ -5699,7 +5732,7 @@ // strip json vulnerability protection prefix data = data.replace(PROTECTION_PREFIX, ''); if (JSON_START.test(data) && JSON_END.test(data)) - data = fromJson(data, true); + data = fromJson(data); } return data; }], @@ -6015,6 +6048,7 @@ * return function(promise) { * return promise.then(function(response) { * // do something on success + * return response; * }, function(response) { * // do something on error * if (canRecover(response)) { @@ -6494,7 +6528,7 @@ if (cache) { cachedResp = cache.get(url); - if (cachedResp) { + if (isDefined(cachedResp)) { if (cachedResp.then) { // cached request has already been sent, but there is no response yet cachedResp.then(removePendingReq, removePendingReq); @@ -6514,7 +6548,7 @@ } // if we won't have the response in cache, send the request to the backend - if (!cachedResp) { + if (isUndefined(cachedResp)) { $httpBackend(config.method, url, reqData, done, reqHeaders, config.timeout, config.withCredentials, config.responseType); } @@ -6764,23 +6798,32 @@ * @description * * Used for configuring the interpolation markup. Defaults to `{{` and `}}`. - * + * * @example - <doc:example> + <doc:example module="customInterpolationApp"> <doc:source> <script> - var myApp = angular.module('App', [], function($interpolateProvider) { + var customInterpolationApp = angular.module('customInterpolationApp', []); + + customInterpolationApp.config(function($interpolateProvider) { $interpolateProvider.startSymbol('//'); $interpolateProvider.endSymbol('//'); }); - function Controller($scope) { - $scope.label = "Interpolation Provider Sample"; - } + + + customInterpolationApp.controller('DemoController', function DemoController() { + this.label = "This bindings is brought you you by // interpolation symbols."; + }); </script> - <div ng-app="App" ng-controller="Controller"> - //label// + <div ng-app="App" ng-controller="DemoController as demo"> + //demo.label// </div> </doc:source> + <doc:scenario> + it('should interpolate binding with custom symbols', function() { + expect(binding('demo.label')).toBe('This bindings is brought you you by // interpolation symbols.'); + }); + </doc:scenario> </doc:example> */ function $InterpolateProvider() { @@ -7844,7 +7887,6 @@ // access to any member named "constructor". // // For reflective calls (a[b]) we check that the value of the lookup is not the Function constructor while evaluating -// For reflective calls (a[b]) we check that the value of the lookup is not the Function constructor while evaluating // the expression, which is a stronger but more expensive test. Since reflective calls are expensive anyway, this is not // such a big deal compared to static dereferencing. // @@ -8518,9 +8560,21 @@ } var fnPtr = fn(scope, locals, context) || noop; // IE stupidity! - return fnPtr.apply + var v = fnPtr.apply ? fnPtr.apply(context, args) : fnPtr(args[0], args[1], args[2], args[3], args[4]); + + // Check for promise + if (v && v.then) { + var p = v; + if (!('$$v' in v)) { + p.$$v = undefined; + p.then(function(val) { p.$$v = val; }); + } + v = v.$$v; + } + + return v; }; } @@ -8824,6 +8878,8 @@ * // since this fn executes async in a future turn of the event loop, we need to wrap * // our code into an $apply call so that the model changes are properly observed. * scope.$apply(function() { + * deferred.notify('About to greet ' + name + '.'); + * * if (okToGreet(name)) { * deferred.resolve('Hello, ' + name + '!'); * } else { @@ -8840,6 +8896,8 @@ * alert('Success: ' + greeting); * }, function(reason) { * alert('Failed: ' + reason); + * }, function(update) { + * alert('Got notification: ' + update); * }); * </pre> * @@ -8858,7 +8916,8 @@ * A new instance of deferred is constructed by calling `$q.defer()`. * * The purpose of the deferred object is to expose the associated Promise instance as well as APIs - * that can be used for signaling the successful or unsuccessful completion of the task. + * that can be used for signaling the successful or unsuccessful completion, as well as the status + * of the task. * * **Methods** * @@ -8866,6 +8925,8 @@ * constructed via `$q.reject`, the promise will be rejected instead. * - `reject(reason)` – rejects the derived promise with the `reason`. This is equivalent to * resolving it with a rejection constructed via `$q.reject`. + * - `notify(value)` - provides updates on the status of the promises execution. This may be called + * multiple times before the promise is either resolved or rejected. * * **Properties** * @@ -8882,12 +8943,15 @@ * * **Methods** * - * - `then(successCallback, errorCallback)` – regardless of when the promise was or will be resolved - * or rejected, `then` calls one of the success or error callbacks asynchronously as soon as the result - * is available. The callbacks are called with a single argument: the result or rejection reason. + * - `then(successCallback, errorCallback, notifyCallback)` – regardless of when the promise was or + * will be resolved or rejected, `then` calls one of the success or error callbacks asynchronously + * as soon as the result is available. The callbacks are called with a single argument: the result + * or rejection reason. Additionally, the notify callback may be called zero or more times to + * provide a progress indication, before the promise is resolved or rejected. * * This method *returns a new promise* which is resolved or rejected via the return value of the - * `successCallback` or `errorCallback`. + * `successCallback`, `errorCallback`. It also notifies via the return value of the `notifyCallback` + * method. The promise can not be resolved or rejected from the notifyCallback method. * * - `catch(errorCallback)` – shorthand for `promise.then(null, errorCallback)` * @@ -9039,7 +9103,7 @@ var wrappedCallback = function(value) { try { - result.resolve((callback || defaultCallback)(value)); + result.resolve((isFunction(callback) ? callback : defaultCallback)(value)); } catch(e) { result.reject(e); exceptionHandler(e); @@ -9048,7 +9112,7 @@ var wrappedErrback = function(reason) { try { - result.resolve((errback || defaultErrback)(reason)); + result.resolve((isFunction(errback) ? errback : defaultErrback)(reason)); } catch(e) { result.reject(e); exceptionHandler(e); @@ -9057,7 +9121,7 @@ var wrappedProgressback = function(progress) { try { - result.notify((progressback || defaultCallback)(progress)); + result.notify((isFunction(progressback) ? progressback : defaultCallback)(progress)); } catch(e) { exceptionHandler(e); } @@ -9095,7 +9159,7 @@ } catch(e) { return makePromise(e, false); } - if (callbackOutput && callbackOutput.then) { + if (callbackOutput && isFunction(callbackOutput.then)) { return callbackOutput.then(function() { return makePromise(value, isResolved); }, function(error) { @@ -9120,7 +9184,7 @@ var ref = function(value) { - if (value && value.then) return value; + if (value && isFunction(value.then)) return value; return { then: function(callback) { var result = defer(); @@ -9173,7 +9237,12 @@ then: function(callback, errback) { var result = defer(); nextTick(function() { - result.resolve((errback || defaultErrback)(reason)); + try { + result.resolve((isFunction(errback) ? errback : defaultErrback)(reason)); + } catch(e) { + result.reject(e); + exceptionHandler(e); + } }); return result.promise; } @@ -9199,7 +9268,7 @@ var wrappedCallback = function(value) { try { - return (callback || defaultCallback)(value); + return (isFunction(callback) ? callback : defaultCallback)(value); } catch (e) { exceptionHandler(e); return reject(e); @@ -9208,7 +9277,7 @@ var wrappedErrback = function(reason) { try { - return (errback || defaultErrback)(reason); + return (isFunction(errback) ? errback : defaultErrback)(reason); } catch (e) { exceptionHandler(e); return reject(e); @@ -9217,7 +9286,7 @@ var wrappedProgressback = function(progress) { try { - return (progressback || defaultCallback)(progress); + return (isFunction(progressback) ? progressback : defaultCallback)(progress); } catch (e) { exceptionHandler(e); } @@ -9367,8 +9436,8 @@ return TTL; }; - this.$get = ['$injector', '$exceptionHandler', '$parse', - function( $injector, $exceptionHandler, $parse) { + this.$get = ['$injector', '$exceptionHandler', '$parse', '$browser', + function( $injector, $exceptionHandler, $parse, $browser) { /** * @ngdoc function @@ -9417,6 +9486,7 @@ this['this'] = this.$root = this; this.$$destroyed = false; this.$$asyncQueue = []; + this.$$postDigestQueue = []; this.$$listeners = {}; this.$$isolateBindings = {}; } @@ -9431,6 +9501,7 @@ Scope.prototype = { + constructor: Scope, /** * @ngdoc function * @name ng.$rootScope.Scope#$new @@ -9465,6 +9536,7 @@ child.$root = this.$root; // ensure that there is just one async queue per $rootScope and it's children child.$$asyncQueue = this.$$asyncQueue; + child.$$postDigestQueue = this.$$postDigestQueue; } else { Child = function() {}; // should be anonymous; This is so that when the minifier munges // the name it does not become random set of chars. These will then show up as class @@ -9792,6 +9864,7 @@ var watch, value, last, watchers, asyncQueue = this.$$asyncQueue, + postDigestQueue = this.$$postDigestQueue, length, dirty, ttl = TTL, next, current, target = this, @@ -9864,6 +9937,14 @@ } while (dirty || asyncQueue.length); clearPhase(); + + while(postDigestQueue.length) { + try { + postDigestQueue.shift()(); + } catch (e) { + $exceptionHandler(e); + } + } }, @@ -9964,13 +10045,16 @@ * * The `$evalAsync` makes no guarantees as to when the `expression` will be executed, only that: * - * - it will execute in the current script execution context (before any DOM rendering). - * - at least one {@link ng.$rootScope.Scope#$digest $digest cycle} will be performed after - * `expression` execution. + * - it will execute after the function that schedule the evaluation is done running (preferably before DOM rendering). + * - at least one {@link ng.$rootScope.Scope#$digest $digest cycle} will be performed after `expression` execution. * * Any exceptions from the execution of the expression are forwarded to the * {@link ng.$exceptionHandler $exceptionHandler} service. * + * __Note:__ if this function is called outside of `$digest` cycle, a new $digest cycle will be scheduled. + * It is however encouraged to always call code that changes the model from withing an `$apply` call. + * That includes code evaluated via `$evalAsync`. + * * @param {(string|function())=} expression An angular expression to be executed. * * - `string`: execute using the rules as defined in {@link guide/expression expression}. @@ -9978,9 +10062,23 @@ * */ $evalAsync: function(expr) { + // if we are outside of an $digest loop and this is the first time we are scheduling async task also schedule + // async auto-flush + if (!$rootScope.$$phase && !$rootScope.$$asyncQueue.length) { + $browser.defer(function() { + if ($rootScope.$$asyncQueue.length) { + $rootScope.$digest(); + } + }); + } + this.$$asyncQueue.push(expr); }, + $$postDigest : function(expr) { + this.$$postDigestQueue.push(expr); + }, + /** * @ngdoc function * @name ng.$rootScope.Scope#$apply @@ -10649,7 +10747,7 @@ * {@link ng.$sce#getTrusted $sce.getTrusted} behind the scenes on non-constant literals. * * As an example, {@link ng.directive:ngBindHtml ngBindHtml} uses {@link - * ng.$sce#parseHtml $sce.parseAsHtml(binding expression)}. Here's the actual code (slightly + * ng.$sce#parseAsHtml $sce.parseAsHtml(binding expression)}. Here's the actual code (slightly * simplified): * * <pre class="prettyprint"> @@ -10707,7 +10805,7 @@ * ## What trusted context types are supported?<a name="contexts"></a> * * | Context | Notes | - * |=====================|================| + * |---------------------|----------------| * | `$sce.HTML` | For HTML that's safe to source into the application. The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. | * | `$sce.CSS` | For CSS that's safe to source into the application. Currently unused. Feel free to use it in your own directives. | * | `$sce.URL` | For URLs that are safe to follow as links. Currently unused (`<a href=` and `<img src=` sanitize their urls and don't consititute an SCE context. | @@ -11218,6 +11316,7 @@ this.$get = ['$window', '$document', function($window, $document) { var eventSupport = {}, android = int((/android (\d+)/.exec(lowercase(($window.navigator || {}).userAgent)) || [])[1]), + boxee = /Boxee/i.test(($window.navigator || {}).userAgent), document = $document[0] || {}, vendorPrefix, vendorRegex = /^(Moz|webkit|O|ms)(?=[A-Z])/, @@ -11234,12 +11333,17 @@ break; } } + + if(!vendorPrefix) { + vendorPrefix = ('WebkitOpacity' in bodyStyle) && 'webkit'; + } + transitions = !!(('transition' in bodyStyle) || (vendorPrefix + 'Transition' in bodyStyle)); animations = !!(('animation' in bodyStyle) || (vendorPrefix + 'Animation' in bodyStyle)); - + if (android && (!transitions||!animations)) { - transitions = isString(document.body.style.webkitTransition); - animations = isString(document.body.style.webkitAnimation); + transitions = isString(document.body.style.webkitTransition); + animations = isString(document.body.style.webkitAnimation); } } @@ -11249,7 +11353,10 @@ // so let's not use the history API at all. // http://code.google.com/p/android/issues/detail?id=17471 // https://github.com/angular/angular.js/issues/904 - history: !!($window.history && $window.history.pushState && !(android < 4)), + + // older webit browser (533.9) on Boxee box has exactly the same problem as Android has + // so let's not use the history API also + history: !!($window.history && $window.history.pushState && !(android < 4) && !boxee), hashchange: 'onhashchange' in $window && // IE8 compatible mode lies (!document.documentMode || document.documentMode > 7), @@ -11309,7 +11416,7 @@ var deferred = $q.defer(), promise = deferred.promise, skipApply = (isDefined(invokeApply) && !invokeApply), - timeoutId, cleanup; + timeoutId; timeoutId = $browser.defer(function() { try { @@ -11318,17 +11425,15 @@ deferred.reject(e); $exceptionHandler(e); } + finally { + delete deferreds[promise.$$timeoutId]; + } if (!skipApply) $rootScope.$apply(); }, delay); - cleanup = function() { - delete deferreds[promise.$$timeoutId]; - }; - promise.$$timeoutId = timeoutId; deferreds[timeoutId] = deferred; - promise.then(cleanup, cleanup); return promise; } @@ -11350,6 +11455,7 @@ timeout.cancel = function(promise) { if (promise && promise.$$timeoutId in deferreds) { deferreds[promise.$$timeoutId].reject('canceled'); + delete deferreds[promise.$$timeoutId]; return $browser.defer.cancel(promise.$$timeoutId); } return false; @@ -11417,7 +11523,7 @@ * Otherwise, returns an object with the following members. * * | member name | Description | - * |===============|================| + * |---------------|----------------| * | href | A normalized version of the provided URL if it was not an absolute URL | * | protocol | The protocol including the trailing colon | * | host | The host and port (if the port is non-default) of the normalizedUrl | @@ -11425,7 +11531,7 @@ * These fields from the UrlUtils interface are currently not needed and hence not returned. * * | member name | Description | - * |===============|================| + * |---------------|----------------| * | hostname | The host without the port of the normalizedUrl | * | pathname | The path following the host in the normalizedUrl | * | hash | The URL hash if present | @@ -11434,7 +11540,7 @@ */ function resolve(url, parse) { var href = url; - if (msie) { + if (msie <= 11) { // Normalize before parse. Refer Implementation Notes on why this is // done in two steps on IE. urlParsingNode.setAttribute("href", href); @@ -11804,7 +11910,7 @@ })(); } else { (function() { - if (!expression[key]) return; + if (typeof(expression[key]) == 'undefined') { return; } var path = key; predicates.push(function(value) { return search(getter(value,path), expression[path]); @@ -12533,8 +12639,10 @@ var t1 = typeof v1; var t2 = typeof v2; if (t1 == t2) { - if (t1 == "string") v1 = v1.toLowerCase(); - if (t1 == "string") v2 = v2.toLowerCase(); + if (t1 == "string") { + v1 = v1.toLowerCase(); + v2 = v2.toLowerCase(); + } if (v1 === v2) return 0; return v1 < v2 ? -1 : 1; } else { @@ -14779,8 +14887,8 @@ var ngBindHtmlDirective = ['$sce', function($sce) { return function(scope, element, attr) { element.addClass('ng-binding').data('$binding', attr.ngBindHtml); - scope.$watch($sce.parseAsHtml(attr.ngBindHtml), function ngBindHtmlWatchAction(value) { - element.html(value || ''); + scope.$watch(attr.ngBindHtml, function ngBindHtmlWatchAction(value) { + element.html($sce.getTrustedHtml(value) || ''); }); }; }]; @@ -14936,7 +15044,7 @@ ## Animations - Example that demostrates how addition and removal of classes can be animated. + The example below demonstrates how to perform animations using ngClass. <example animations="true"> <file name="index.html"> @@ -14981,6 +15089,14 @@ }); </file> </example> + + + ## ngClass and pre-existing CSS3 Transitions/Animations + The ngClass directive still supports CSS3 Transitions/Animations even if they do not follow the ngAnimate CSS naming structure. + Therefore, if any CSS3 Transition/Animation styles (outside of ngAnimate) are set on the element, then, if a ngClass animation + is triggered, the ngClass animation will be skipped so that ngAnimate can allow for the pre-existing transition or animation to + take over. This restriction allows for ngClass to still work with standard CSS3 Transitions/Animations that are defined + outside of ngAnimate. */ var ngClassDirective = classDirective('', true); @@ -15899,23 +16015,18 @@ * @description * Emitted every time the ngInclude content is reloaded. */ -var NG_INCLUDE_PRIORITY = 500; var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$compile', '$animate', '$sce', function($http, $templateCache, $anchorScroll, $compile, $animate, $sce) { return { restrict: 'ECA', terminal: true, - priority: NG_INCLUDE_PRIORITY, - compile: function(element, attr) { + transclude: 'element', + compile: function(element, attr, transclusion) { var srcExp = attr.ngInclude || attr.src, onloadExp = attr.onload || '', autoScrollExp = attr.autoscroll; - element.html(''); - var anchor = jqLite(document.createComment(' ngInclude: ' + srcExp + ' ')); - element.replaceWith(anchor); - - return function(scope) { + return function(scope, $element) { var changeCounter = 0, currentScope, currentElement; @@ -15939,21 +16050,23 @@ if (thisChangeId !== changeCounter) return; var newScope = scope.$new(); - cleanupLastIncludeContent(); + transclusion(newScope, function(clone) { + cleanupLastIncludeContent(); - currentScope = newScope; - currentElement = element.clone(); - currentElement.html(response); - $animate.enter(currentElement, null, anchor); + currentScope = newScope; + currentElement = clone; - $compile(currentElement, false, NG_INCLUDE_PRIORITY - 1)(currentScope); + currentElement.html(response); + $animate.enter(currentElement, null, $element); + $compile(currentElement.contents())(currentScope); - if (isDefined(autoScrollExp) && (!autoScrollExp || scope.$eval(autoScrollExp))) { - $anchorScroll(); - } + if (isDefined(autoScrollExp) && (!autoScrollExp || scope.$eval(autoScrollExp))) { + $anchorScroll(); + } - currentScope.$emit('$includeContentLoaded'); - scope.$eval(onloadExp); + currentScope.$emit('$includeContentLoaded'); + scope.$eval(onloadExp); + }); }).error(function() { if (thisChangeId === changeCounter) cleanupLastIncludeContent(); }); @@ -17176,8 +17289,10 @@ * @name ng.directive:ngTransclude * * @description - * Insert the transcluded DOM here. + * Directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion. * + * Any existing content of the element that this directive is placed on will be removed before the transcluded content is inserted. + * * @element ANY * * @example @@ -17220,16 +17335,19 @@ * */ var ngTranscludeDirective = ngDirective({ - controller: ['$transclude', '$element', '$scope', function($transclude, $element, $scope) { - // use evalAsync so that we don't process transclusion before directives on the parent element even when the - // transclusion replaces the current element. (we can't use priority here because that applies only to compile fns - // and not controllers - $scope.$evalAsync(function() { - $transclude(function(clone) { - $element.append(clone); - }); + controller: ['$transclude', function($transclude) { + // remember the transclusion fn but call it during linking so that we don't process transclusion before directives on + // the parent element even when the transclusion replaces the current element. (we can't use priority here because + // that applies only to compile fns and not controllers + this.$transclude = $transclude; + }], + + link: function($scope, $element, $attrs, controller) { + controller.$transclude(function(clone) { + $element.html(''); + $element.append(clone); }); - }] + } }); /** Modified: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-animate.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-animate.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-animate.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +1,5 @@ /** %%Ignore-License - * @license AngularJS v1.2.0rc1 + * @license AngularJS v1.2.0-rc.2 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ @@ -10,20 +10,15 @@ * @name ngAnimate * @description * - * ngAnimate - * ========= + * # ngAnimate * - * The ngAnimate module is an optional module that comes packed with AngularJS that can be included within an AngularJS - * application to provide support for CSS and JavaScript animation hooks. + * `ngAnimate` is an optional module that provides CSS and JavaScript animation hooks. * - * To make use of animations with AngularJS, the `angular-animate.js` JavaScript file must be included into your application - * and the `ngAnimate` module must be included as a dependency. + * {@installModule animate} * - * <pre> - * angular.module('App', ['ngAnimate']); - * </pre> + * # Usage * - * Then, to see animations in action, all that is required is to define the appropriate CSS classes + * To see animations in action, all that is required is to define the appropriate CSS classes * or to register a JavaScript animation via the $animation service. The directives that support animation automatically are: * `ngRepeat`, `ngInclude`, `ngSwitch`, `ngShow`, `ngHide` and `ngView`. Custom directives can take advantage of animation * by using the `$animate` service. @@ -53,7 +48,7 @@ * -o-transition:0.5s linear all; * transition:0.5s linear all; * } - * + * * .slide.ng-enter { } /* starting animations for enter */ * .slide.ng-enter-active { } /* terminal animations for enter */ * .slide.ng-leave { } /* starting animations for leave */ @@ -197,12 +192,14 @@ * @name ngAnimate.$animateProvider * @description * - * The $AnimationProvider provider allows developers to register and access custom JavaScript animations directly inside + * The `$AnimationProvider` allows developers to register and access custom JavaScript animations directly inside * of a module. When an animation is triggered, the $animate service will query the $animation function to find any * animations that match the provided name value. * - * Please visit the {@link ngAnimate ngAnimate} module overview page learn more about how to use animations in your application. + * Requires the {@link ngAnimate `ngAnimate`} module to be installed. * + * Please visit the {@link ngAnimate `ngAnimate`} module overview page learn more about how to use animations in your application. + * */ .config(['$provide', '$animateProvider', function($provide, $animateProvider) { var noop = angular.noop; @@ -211,8 +208,8 @@ var NG_ANIMATE_STATE = '$$ngAnimateState'; var rootAnimateState = {running:true}; - $provide.decorator('$animate', ['$delegate', '$injector', '$sniffer', '$rootElement', '$timeout', - function($delegate, $injector, $sniffer, $rootElement, $timeout) { + $provide.decorator('$animate', ['$delegate', '$injector', '$sniffer', '$rootElement', '$timeout', '$rootScope', + function($delegate, $injector, $sniffer, $rootElement, $timeout, $rootScope) { $rootElement.data(NG_ANIMATE_STATE, rootAnimateState); @@ -255,8 +252,10 @@ * The `$animate` service is used behind the scenes with pre-existing directives and animation with these directives * will work out of the box without any extra configuration. * - * Please visit the {@link ngAnimate ngAnimate} module overview page learn more about how to use animations in your application. + * Requires the {@link ngAnimate `ngAnimate`} module to be installed. * + * Please visit the {@link ngAnimate `ngAnimate`} module overview page learn more about how to use animations in your application. + * */ return { /** @@ -275,8 +274,8 @@ * |----------------------------------------------------------------------------------------------|-----------------------------------------------| * | 1. $animate.enter(...) is called | class="my-animation" | * | 2. element is inserted into the parent element or beside the after element | class="my-animation" | - * | 3. the .ng-enter class is added to the element | class="my-animation ng-enter" | - * | 4. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-enter" | + * | 3. $animate runs any JavaScript-defined animations on the element | class="my-animation" | + * | 4. the .ng-enter class is added to the element | class="my-animation ng-enter" | * | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-enter" | * | 6. the .ng-enter-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-enter ng-enter-active" | * | 7. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-enter ng-enter-active" | @@ -290,7 +289,11 @@ */ enter : function(element, parent, after, done) { $delegate.enter(element, parent, after); - performAnimation('enter', 'ng-enter', element, parent, after, done); + $rootScope.$$postDigest(function() { + performAnimation('enter', 'ng-enter', element, parent, after, function() { + done && $timeout(done, 0, false); + }); + }); }, /** @@ -308,8 +311,8 @@ * | Animation Step | What the element class attribute looks like | * |----------------------------------------------------------------------------------------------|----------------------------------------------| * | 1. $animate.leave(...) is called | class="my-animation" | - * | 2. the .ng-leave class is added to the element | class="my-animation ng-leave" | - * | 3. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-leave" | + * | 2. $animate runs any JavaScript-defined animations on the element | class="my-animation" | + * | 3. the .ng-leave class is added to the element | class="my-animation ng-leave" | * | 4. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-leave" | * | 5. the .ng-leave-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-leave ng-leave-active | * | 6. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-leave ng-leave-active | @@ -321,8 +324,10 @@ * @param {function()=} done callback function that will be called once the animation is complete */ leave : function(element, done) { - performAnimation('leave', 'ng-leave', element, null, null, function() { - $delegate.leave(element, done); + $rootScope.$$postDigest(function() { + performAnimation('leave', 'ng-leave', element, null, null, function() { + $delegate.leave(element, done); + }); }); }, @@ -343,8 +348,8 @@ * |----------------------------------------------------------------------------------------------|---------------------------------------------| * | 1. $animate.move(...) is called | class="my-animation" | * | 2. element is moved into the parent element or beside the after element | class="my-animation" | - * | 3. the .ng-move class is added to the element | class="my-animation ng-move" | - * | 4. $animate runs any JavaScript-defined animations on the element | class="my-animation ng-move" | + * | 3. $animate runs any JavaScript-defined animations on the element | class="my-animation" | + * | 4. the .ng-move class is added to the element | class="my-animation ng-move" | * | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-move" | * | 6. the .ng-move-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-move ng-move-active" | * | 7. $animate waits for X milliseconds for the animation to complete | class="my-animation ng-move ng-move-active" | @@ -358,7 +363,11 @@ */ move : function(element, parent, after, done) { $delegate.move(element, parent, after); - performAnimation('move', 'ng-move', element, null, null, done); + $rootScope.$$postDigest(function() { + performAnimation('move', 'ng-move', element, null, null, function() { + done && $timeout(done, 0, false); + }); + }); }, /** @@ -369,15 +378,16 @@ * @description * Triggers a custom animation event based off the className variable and then attaches the className value to the element as a CSS class. * Unlike the other animation methods, the animate service will suffix the className value with {@type -add} in order to provide - * the animate service the setup and active CSS classes in order to trigger the animation. + * the animate service the setup and active CSS classes in order to trigger the animation (this will be skipped if no CSS transitions + * or keyframes are defined on the -add CSS class). * * Below is a breakdown of each step that occurs during addClass animation: * * | Animation Step | What the element class attribute looks like | * |------------------------------------------------------------------------------------------------|---------------------------------------------| * | 1. $animate.addClass(element, 'super') is called | class="" | - * | 2. the .super-add class is added to the element | class="super-add" | - * | 3. $animate runs any JavaScript-defined animations on the element | class="super-add" | + * | 2. $animate runs any JavaScript-defined animations on the element | class="" | + * | 3. the .super-add class is added to the element | class="super-add" | * | 4. $animate scans the element styles to get the CSS transition/animation duration and delay | class="super-add" | * | 5. the .super-add-active class is added (this triggers the CSS transition/animation) | class="super-add super-add-active" | * | 6. $animate waits for X milliseconds for the animation to complete | class="super-add super-add-active" | @@ -403,15 +413,16 @@ * @description * Triggers a custom animation event based off the className variable and then removes the CSS class provided by the className value * from the element. Unlike the other animation methods, the animate service will suffix the className value with {@type -remove} in - * order to provide the animate service the setup and active CSS classes in order to trigger the animation. + * order to provide the animate service the setup and active CSS classes in order to trigger the animation (this will be skipped if + * no CSS transitions or keyframes are defined on the -remove CSS class). * * Below is a breakdown of each step that occurs during removeClass animation: * * | Animation Step | What the element class attribute looks like | * |-----------------------------------------------------------------------------------------------|-------------------------------------------------| * | 1. $animate.removeClass(element, 'super') is called | class="super" | - * | 2. the .super-remove class is added to the element | class="super super-remove" | - * | 3. $animate runs any JavaScript-defined animations on the element | class="super super-remove" | + * | 2. $animate runs any JavaScript-defined animations on the element | class="super" | + * | 3. the .super-remove class is added to the element | class="super super-remove" | * | 4. $animate scans the element styles to get the CSS transition/animation duration and delay | class="super super-remove" | * | 5. the .super-remove-active class is added (this triggers the CSS transition/animation) | class="super super-remove super-remove-active" | * | 6. $animate waits for X milliseconds for the animation to complete | class="super super-remove super-remove-active" | @@ -496,15 +507,6 @@ done:done }); - var baseClassName = className; - if(event == 'addClass') { - className = suffixClasses(className, '-add'); - } else if(event == 'removeClass') { - className = suffixClasses(className, '-remove'); - } - - element.addClass(className); - forEach(animations, function(animation, index) { var fn = function() { progress(index); @@ -512,7 +514,7 @@ if(animation.start) { if(event == 'addClass' || event == 'removeClass') { - animation.endFn = animation.start(element, baseClassName, fn); + animation.endFn = animation.start(element, className, fn); } else { animation.endFn = animation.start(element, fn); } @@ -540,7 +542,6 @@ function done() { if(!done.hasBeenRun) { done.hasBeenRun = true; - element.removeClass(className); element.removeData(NG_ANIMATE_STATE); (onComplete || noop)(); } @@ -551,94 +552,125 @@ $animateProvider.register('', ['$window','$sniffer', '$timeout', function($window, $sniffer, $timeout) { var noop = angular.noop; var forEach = angular.forEach; + + //one day all browsers will have these properties + var w3cAnimationProp = 'animation'; + var w3cTransitionProp = 'transition'; + + //but some still use vendor-prefixed styles + var vendorAnimationProp = $sniffer.vendorPrefix + 'Animation'; + var vendorTransitionProp = $sniffer.vendorPrefix + 'Transition'; + + var durationKey = 'Duration', + delayKey = 'Delay', + propertyKey = 'Property', + animationIterationCountKey = 'IterationCount', + ELEMENT_NODE = 1; + function animate(element, className, done) { if (!($sniffer.transitions || $sniffer.animations)) { done(); - } else { - var activeClassName = ''; - $timeout(startAnimation, 1, false); - - //this acts as the cancellation function in case - //a new animation is triggered while another animation - //is still going on (otherwise the active className - //would still hang around until the timer is complete). - return onEnd; + return; } - - function parseMaxTime(str) { - var total = 0, values = angular.isString(str) ? str.split(/\s*,\s*/) : []; - forEach(values, function(value) { - total = Math.max(parseFloat(value) || 0, total); + else if(['ng-enter','ng-leave','ng-move'].indexOf(className) == -1) { + var existingDuration = 0; + forEach(element, function(element) { + if (element.nodeType == ELEMENT_NODE) { + var elementStyles = $window.getComputedStyle(element) || {}; + existingDuration = Math.max(parseMaxTime(elementStyles[w3cTransitionProp + durationKey]), + parseMaxTime(elementStyles[vendorTransitionProp + durationKey]), + existingDuration); + } }); - return total; + if(existingDuration > 0) { + done(); + return; + } } - function startAnimation() { - var duration = 0; - forEach(className.split(' '), function(klass, i) { - activeClassName += (i > 0 ? ' ' : '') + klass + '-active'; - }); + element.addClass(className); - element.addClass(activeClassName); + //we want all the styles defined before and after + var duration = 0; + forEach(element, function(element) { + if (element.nodeType == ELEMENT_NODE) { + var elementStyles = $window.getComputedStyle(element) || {}; - //one day all browsers will have these properties - var w3cAnimationProp = 'animation'; - var w3cTransitionProp = 'transition'; + var transitionDelay = Math.max(parseMaxTime(elementStyles[w3cTransitionProp + delayKey]), + parseMaxTime(elementStyles[vendorTransitionProp + delayKey])); - //but some still use vendor-prefixed styles - var vendorAnimationProp = $sniffer.vendorPrefix + 'Animation'; - var vendorTransitionProp = $sniffer.vendorPrefix + 'Transition'; + var animationDelay = Math.max(parseMaxTime(elementStyles[w3cAnimationProp + delayKey]), + parseMaxTime(elementStyles[vendorAnimationProp + delayKey])); - var durationKey = 'Duration', - delayKey = 'Delay', - animationIterationCountKey = 'IterationCount'; + var transitionDuration = Math.max(parseMaxTime(elementStyles[w3cTransitionProp + durationKey]), + parseMaxTime(elementStyles[vendorTransitionProp + durationKey])); - //we want all the styles defined before and after - var ELEMENT_NODE = 1; - forEach(element, function(element) { - if (element.nodeType == ELEMENT_NODE) { - var elementStyles = $window.getComputedStyle(element) || {}; + var animationDuration = Math.max(parseMaxTime(elementStyles[w3cAnimationProp + durationKey]), + parseMaxTime(elementStyles[vendorAnimationProp + durationKey])); - var transitionDelay = Math.max(parseMaxTime(elementStyles[w3cTransitionProp + delayKey]), - parseMaxTime(elementStyles[vendorTransitionProp + delayKey])); + if(animationDuration > 0) { + animationDuration *= Math.max(parseInt(elementStyles[w3cAnimationProp + animationIterationCountKey]) || 0, + parseInt(elementStyles[vendorAnimationProp + animationIterationCountKey]) || 0, + 1); + } - var animationDelay = Math.max(parseMaxTime(elementStyles[w3cAnimationProp + delayKey]), - parseMaxTime(elementStyles[vendorAnimationProp + delayKey])); + duration = Math.max(animationDelay + animationDuration, + transitionDelay + transitionDuration, + duration); + } + }); - var transitionDuration = Math.max(parseMaxTime(elementStyles[w3cTransitionProp + durationKey]), - parseMaxTime(elementStyles[vendorTransitionProp + durationKey])); + /* there is no point in performing a reflow if the animation + timeout is empty (this would cause a flicker bug normally + in the page */ + if(duration > 0) { + var node = element[0]; - var animationDuration = Math.max(parseMaxTime(elementStyles[w3cAnimationProp + durationKey]), - parseMaxTime(elementStyles[vendorAnimationProp + durationKey])); + //temporarily disable the transition so that the enter styles + //don't animate twice (this is here to avoid a bug in Chrome/FF). + node.style[w3cTransitionProp + propertyKey] = 'none'; + node.style[vendorTransitionProp + propertyKey] = 'none'; - if(animationDuration > 0) { - animationDuration *= Math.max(parseInt(elementStyles[w3cAnimationProp + animationIterationCountKey]) || 0, - parseInt(elementStyles[vendorAnimationProp + animationIterationCountKey]) || 0, - 1); - } - - duration = Math.max(animationDelay + animationDuration, - transitionDelay + transitionDuration, - duration); - } + var activeClassName = ''; + forEach(className.split(' '), function(klass, i) { + activeClassName += (i > 0 ? ' ' : '') + klass + '-active'; }); + //this triggers a reflow which allows for the transition animation to kick in + element.prop('clientWidth'); + node.style[w3cTransitionProp + propertyKey] = ''; + node.style[vendorTransitionProp + propertyKey] = ''; + element.addClass(activeClassName); + $timeout(done, duration * 1000, false); - } - //this will automatically be called by $animate so - //there is no need to attach this internally to the - //timeout done method - function onEnd(cancelled) { - element.removeClass(activeClassName); + //this will automatically be called by $animate so + //there is no need to attach this internally to the + //timeout done method + return function onEnd(cancelled) { + element.removeClass(className); + element.removeClass(activeClassName); - //only when the animation is cancelled is the done() - //function not called for this animation therefore - //this must be also called - if(cancelled) { - done(); + //only when the animation is cancelled is the done() + //function not called for this animation therefore + //this must be also called + if(cancelled) { + done(); + } } } + else { + element.removeClass(className); + done(); + } + + function parseMaxTime(str) { + var total = 0, values = angular.isString(str) ? str.split(/\s*,\s*/) : []; + forEach(values, function(value) { + total = Math.max(parseFloat(value) || 0, total); + }); + return total; + } } return { @@ -659,18 +691,17 @@ } }; + function suffixClasses(classes, suffix) { + var className = ''; + classes = angular.isArray(classes) ? classes : classes.split(/\s+/); + forEach(classes, function(klass, i) { + if(klass && klass.length > 0) { + className += (i > 0 ? ' ' : '') + klass + suffix; + } + }); + return className; + } }]); - - function suffixClasses(classes, suffix) { - var className = ''; - classes = angular.isArray(classes) ? classes : classes.split(/\s+/); - forEach(classes, function(klass, i) { - if(klass && klass.length > 0) { - className += (i > 0 ? ' ' : '') + klass + suffix; - } - }); - return className; - } }]); Modified: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-cookies.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-cookies.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-cookies.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +1,5 @@ /** %%Ignore-License - * @license AngularJS v1.2.0rc1 + * @license AngularJS v1.2.0-rc.2 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ @@ -8,6 +8,17 @@ /** * @ngdoc overview * @name ngCookies + * @description + * + * # ngCookies + * + * Provides the {@link ngCookies.$cookies `$cookies`} and + * {@link ngCookies.$cookieStore `$cookieStore`} services. + * + * {@installModule cookies} + * + * See {@link ngCookies.$cookies `$cookies`} and + * {@link ngCookies.$cookieStore `$cookieStore`} for usage. */ @@ -23,6 +34,8 @@ * Only a simple Object is exposed and by adding or removing properties to/from * this object, new cookies are created/deleted at the end of current $eval. * + * Requires the {@link ngCookies `ngCookies`} module to be installed. + * * @example <doc:example> <doc:source> @@ -127,6 +140,9 @@ * Provides a key-value (string-object) storage, that is backed by session cookies. * Objects put or retrieved from this storage are automatically serialized or * deserialized by angular's toJson/fromJson. + * + * Requires the {@link ngCookies `ngCookies`} module to be installed. + * * @example */ factory('$cookieStore', ['$cookies', function($cookies) { Modified: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-loader.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-loader.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-loader.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +1,5 @@ /** %%Ignore-License - * @license AngularJS v1.2.0rc1 + * @license AngularJS v1.2.0-rc.2 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ @@ -29,11 +29,14 @@ * @name angular.module * @description * - * The `angular.module` is a global place for creating and registering Angular modules. All - * modules (angular core or 3rd party) that should be available to an application must be + * The `angular.module` is a global place for creating, registering and retrieving Angular modules. + * All modules (angular core or 3rd party) that should be available to an application must be * registered using this mechanism. * + * When passed two or more arguments, a new module is created. If passed only one argument, an + * existing module (the name passed as the first argument to `module`) is retrieved. * + * * # Module * * A module is a collection of services, directives, filters, and configuration information. Modified: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-mocks.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-mocks.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-mocks.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +1,5 @@ /** %%Ignore-License - * @license AngularJS v1.2.0rc1 + * @license AngularJS v1.2.0-rc.2 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT * @@ -316,7 +316,7 @@ } this.debugEnabled = function(flag) { - if (isDefined(flag)) { + if (angular.isDefined(flag)) { debug = flag; return this; } else { @@ -1851,9 +1851,11 @@ * * See {@link angular.mock.inject inject} for usage example * - * @param {...(string|Function)} fns any number of modules which are represented as string + * @param {...(string|Function|Object)} fns any number of modules which are represented as string * aliases or as anonymous module initialization functions. The modules are used to - * configure the injector. The 'ng' and 'ngMock' modules are automatically loaded. + * configure the injector. The 'ng' and 'ngMock' modules are automatically loaded. If an + * object literal is passed they will be register as values in the module, the key being + * the module name and the value being what is returned. */ window.module = angular.mock.module = function() { var moduleFns = Array.prototype.slice.call(arguments, 0); @@ -1865,7 +1867,15 @@ } else { var modules = currentSpec.$modules || (currentSpec.$modules = []); angular.forEach(moduleFns, function(module) { - modules.push(module); + if (angular.isObject(module) && !angular.isArray(module)) { + modules.push(function($provide) { + angular.forEach(module, function(value, key) { + $provide.value(key, value); + }); + }); + } else { + modules.push(module); + } }); } } Modified: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-resource.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-resource.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-resource.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +1,5 @@ /** %%Ignore-License - * @license AngularJS v1.2.0rc1 + * @license AngularJS v1.2.0-rc.2 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ @@ -11,6 +11,16 @@ * @ngdoc overview * @name ngResource * @description + * + * # ngResource + * + * `ngResource` is the name of the optional Angular module that adds support for interacting with + * [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer) server-side data sources. + * `ngReource` provides the {@link ngResource.$resource `$resource`} serivce. + * + * {@installModule resource} + * + * See {@link ngResource.$resource `$resource`} for usage. */ /** @@ -25,23 +35,14 @@ * The returned resource object has action methods which provide high-level behaviors without * the need to interact with the low level {@link ng.$http $http} service. * - * # Installation - * To use $resource make sure you have included the `angular-resource.js` that comes in Angular - * package. You can also find this file on Google CDN, bower as well as at - * {@link http://code.angularjs.org/ code.angularjs.org}. + * Requires the {@link ngResource `ngResource`} module to be installed. * - * Finally load the module in your application: - * - * angular.module('app', ['ngResource']); - * - * and you are ready to get started! - * * @param {string} url A parametrized URL template with parameters prefixed by `:` as in * `/user/:username`. If you are using a URL with a port number (e.g. * `http://example.com:8080/api`), it will be respected. * * If you are using a url with a suffix, just add the suffix, like this: - * `$resource('http://example.com/resource.json')` or `$resource('http://example.com/:id.json') + * `$resource('http://example.com/resource.json')` or `$resource('http://example.com/:id.json')` * or even `$resource('http://example.com/resource/:resource_id.:format')` * If the parameter before the suffix is empty, :resource_id in this case, then the `/.` will be * collapsed down to a single `.`. If you need this sequence to appear and not collapse then you Modified: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-route.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-route.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-route.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +1,5 @@ /** %%Ignore-License - * @license AngularJS v1.2.0rc1 + * @license AngularJS v1.2.0-rc.2 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ @@ -26,7 +26,12 @@ * @name ngRoute * @description * - * Module that provides routing and deeplinking services and directives for angular apps. + * # ngRoute + * + * The `ngRoute` module provides routing and deeplinking services and directives for angular apps. + * + * {@installModule route} + * */ var ngRouteModule = angular.module('ngRoute', ['ng']). @@ -40,6 +45,8 @@ * @description * * Used for configuring routes. See {@link ngRoute.$route $route} for an example. + * + * Requires the {@link ngRoute `ngRoute`} module to be installed. */ function $RouteProvider(){ var routes = {}; @@ -57,8 +64,8 @@ * * `path` can contain named groups starting with a colon (`:name`). All characters up * to the next slash are matched and stored in `$routeParams` under the given `name` * when the route matches. - * * `path` can contain named groups starting with a colon and ending with a star (`:name*`). - * All characters are eagerly stored in `$routeParams` under the given `name` + * * `path` can contain named groups starting with a colon and ending with a star (`:name*`). + * All characters are eagerly stored in `$routeParams` under the given `name` * when the route matches. * * `path` can contain optional named groups with a question mark (`:name?`). * @@ -149,8 +156,8 @@ // create redirection for trailing slashes if (path) { var redirectPath = (path[path.length-1] == '/') - ? path.substr(0, path.length-1) - : path +'/'; + ? path.substr(0, path.length-1) + : path +'/'; routes[redirectPath] = extend( {redirectTo: path}, @@ -241,13 +248,15 @@ * @property {Array.<Object>} routes Array of all configured routes. * * @description - * Is used for deep-linking URLs to controllers and views (HTML partials). + * `$route` is used for deep-linking URLs to controllers and views (HTML partials). * It watches `$location.url()` and tries to map the path to an existing route definition. * + * Requires the {@link ngRoute `ngRoute`} module to be installed. + * * You can define routes through {@link ngRoute.$routeProvider $routeProvider}'s API. * - * The `$route` service is typically used in conjunction with {@link ngRoute.directive:ngView ngView} - * directive and the {@link ngRoute.$routeParams $routeParams} service. + * The `$route` service is typically used in conjunction with the {@link ngRoute.directive:ngView `ngView`} + * directive and the {@link ngRoute.$routeParams `$routeParams`} service. * * @example This example shows how changing the URL hash causes the `$route` to match a route against the @@ -449,13 +458,12 @@ var m = route.regexp.exec(on); if (!m) return null; - var N = 0; for (var i = 1, len = m.length; i < len; ++i) { var key = keys[i - 1]; var val = 'string' == typeof m[i] - ? decodeURIComponent(m[i]) - : m[i]; + ? decodeURIComponent(m[i]) + : m[i]; if (key && val) { params[key.name] = val; @@ -562,7 +570,7 @@ function interpolate(string, params) { var result = []; forEach((string||'').split(':'), function(segment, i) { - if (i == 0) { + if (i === 0) { result.push(segment); } else { var segmentMatch = segment.match(/(\w+)(.*)/); @@ -586,10 +594,14 @@ * @requires $route * * @description - * Current set of route parameters. The route parameters are a combination of the - * {@link ng.$location $location} `search()`, and `path()`. The `path` parameters - * are extracted when the {@link ngRoute.$route $route} path is matched. + * The `$routeParams` service allows you to retrieve the current set of route parameters. * + * Requires the {@link ngRoute `ngRoute`} module to be installed. + * + * The route parameters are a combination of {@link ng.$location `$location`}'s + * {@link ng.$location#search `search()`} and {@link ng.$location#path `path()`}. + * The `path` parameters are extracted when the {@link ngRoute.$route `$route`} path is matched. + * * In case of parameter name collision, `path` params take precedence over `search` params. * * The service guarantees that the identity of the `$routeParams` object will remain unchanged @@ -613,6 +625,8 @@ this.$get = function() { return {}; }; } +ngRouteModule.directive('ngView', ngViewFactory); + /** * @ngdoc directive * @name ngRoute.directive:ngView @@ -625,6 +639,8 @@ * Every time the current route changes, the included view changes with it according to the * configuration of the `$route` service. * + * Requires the {@link ngRoute `ngRoute`} module to be installed. + * * @animations * enter - animation is used to bring new content into the browser. * leave - animation is used to animate existing content away. @@ -780,23 +796,19 @@ * @description * Emitted every time the ngView content is reloaded. */ -var NG_VIEW_PRIORITY = 500; -var ngViewDirective = ['$route', '$anchorScroll', '$compile', '$controller', '$animate', - function($route, $anchorScroll, $compile, $controller, $animate) { +ngViewFactory.$inject = ['$route', '$anchorScroll', '$compile', '$controller', '$animate']; +function ngViewFactory( $route, $anchorScroll, $compile, $controller, $animate) { return { restrict: 'ECA', terminal: true, - priority: NG_VIEW_PRIORITY, - compile: function(element, attr) { - var onloadExp = attr.onload || ''; + priority: 1000, + transclude: 'element', + compile: function(element, attr, linker) { + return function(scope, $element, attr) { + var currentScope, + currentElement, + onloadExp = attr.onload || ''; - element.html(''); - var anchor = jqLite(document.createComment(' ngView ')); - element.replaceWith(anchor); - - return function(scope) { - var currentScope, currentElement; - scope.$on('$routeChangeSuccess', update); update(); @@ -816,35 +828,36 @@ template = locals && locals.$template; if (template) { - cleanupLastView(); + var newScope = scope.$new(); + linker(newScope, function(clone) { + cleanupLastView(); - currentScope = scope.$new(); - currentElement = element.clone(); - currentElement.html(template); - $animate.enter(currentElement, null, anchor); + clone.html(template); + $animate.enter(clone, null, $element); - var link = $compile(currentElement, false, NG_VIEW_PRIORITY - 1), - current = $route.current; + var link = $compile(clone.contents()), + current = $route.current; - if (current.controller) { - locals.$scope = currentScope; - var controller = $controller(current.controller, locals); - if (current.controllerAs) { - currentScope[current.controllerAs] = controller; + currentScope = current.scope = newScope; + currentElement = clone; + + if (current.controller) { + locals.$scope = currentScope; + var controller = $controller(current.controller, locals); + if (current.controllerAs) { + currentScope[current.controllerAs] = controller; + } + clone.data('$ngControllerController', controller); + clone.contents().data('$ngControllerController', controller); } - currentElement.data('$ngControllerController', controller); - currentElement.children().data('$ngControllerController', controller); - } - current.scope = currentScope; + link(currentScope); + currentScope.$emit('$viewContentLoaded'); + currentScope.$eval(onloadExp); - link(currentScope); - - currentScope.$emit('$viewContentLoaded'); - currentScope.$eval(onloadExp); - - // $anchorScroll might listen on event... - $anchorScroll(); + // $anchorScroll might listen on event... + $anchorScroll(); + }); } else { cleanupLastView(); } @@ -852,9 +865,7 @@ } } }; -}]; +} -ngRouteModule.directive('ngView', ngViewDirective); - })(window, window.angular); Modified: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-sanitize.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-sanitize.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-sanitize.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +1,5 @@ /** %%Ignore-License - * @license AngularJS v1.2.0rc1 + * @license AngularJS v1.2.0-rc.2 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ @@ -11,25 +11,14 @@ * @ngdoc overview * @name ngSanitize * @description - * - * The `ngSanitize` module provides functionality to sanitize HTML. - * - * # Installation - * As a separate module, it must be loaded after Angular core is loaded; otherwise, an 'Uncaught Error: - * No module: ngSanitize' runtime error will occur. * - * <pre> - * <script src="angular.js"></script> - * <script src="angular-sanitize.js"></script> - * </pre> + * # ngSanitize * - * # Usage - * To make sure the module is available to your application, declare it as a dependency of you application - * module. + * The `ngSanitize` module provides functionality to sanitize HTML. * - * <pre> - * angular.module('app', ['ngSanitize']); - * </pre> + * {@installModule sanitize} + * + * See {@link ngSanitize.$sanitize `$sanitize`} for usage. */ /* @@ -429,9 +418,11 @@ * @function * * @description - * Finds links in text input and turns them into html links. Supports http/https/ftp/mailto and - * plain email address links. + * Finds links in text input and turns them into html links. Supports http/https/ftp/mailto and + * plain email address links. * + * Requires the {@link ngSanitize `ngSanitize`} module to be installed. + * * @param {string} text Input text. * @param {string} target Window (_blank|_self|_parent|_top) or named frame to open links in. * @returns {string} Html-linkified text. Modified: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-touch.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-touch.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/extra/angular-touch.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +1,5 @@ -/** %%Ignore-License - * @license AngularJS v1.2.0rc1 +/** + * @license AngularJS v1.2.0-rc.2 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ @@ -9,8 +9,17 @@ * @ngdoc overview * @name ngTouch * @description - * Touch events and other mobile helpers. - * Based on jQuery Mobile touch event handling (jquerymobile.com) + * + * # ngTouch + * + * `ngTouch` is the name of the optional Angular module that provides touch events and other + * helpers for touch-enabled devices. + * The implementation is based on jQuery Mobile touch event handling + * ([jquerymobile.com](http://jquerymobile.com/)) + * + * {@installModule touch} + * + * See {@link ngTouch.$swipe `$swipe`} for usage. */ // define ngTouch module @@ -24,7 +33,9 @@ * The `$swipe` service is a service that abstracts the messier details of hold-and-drag swipe * behavior, to make implementing swipe-related directives more convenient. * - * It is used by the `ngSwipeLeft` and `ngSwipeRight` directives in `ngTouch`, and by + * Requires the {@link ngTouch `ngTouch`} module to be installed. + * + * `$swipe` is used by the `ngSwipeLeft` and `ngSwipeRight` directives in `ngTouch`, and by * `ngCarousel` in a separate component. * * # Usage @@ -159,6 +170,8 @@ * the click event. This version handles them immediately, and then prevents the * following click event from propagating. * + * Requires the {@link ngTouch `ngTouch`} module to be installed. + * * This directive can fall back to using an ordinary click event, and so works on desktop * browsers as well as mobile. * @@ -428,6 +441,8 @@ * A leftward swipe is a quick, right-to-left slide of the finger. * Though ngSwipeLeft is designed for touch-based devices, it will work with a mouse click and drag too. * + * Requires the {@link ngTouch `ngTouch`} module to be installed. + * * @element ANY * @param {expression} ngSwipeLeft {@link guide/expression Expression} to evaluate * upon left swipe. (Event object is available as `$event`) @@ -455,6 +470,8 @@ * A rightward swipe is a quick, left-to-right slide of the finger. * Though ngSwipeRight is designed for touch-based devices, it will work with a mouse click and drag too. * + * Requires the {@link ngTouch `ngTouch`} module to be installed. + * * @element ANY * @param {expression} ngSwipeRight {@link guide/expression Expression} to evaluate * upon right swipe. (Event object is available as `$event`) Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_chr.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_chr.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_chr.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", {"DATETIME_FORMATS":{"MONTH":["ᎤᏃᎸᏔᏅ","ᎧᎦᎵ","ᎠᏅᏱ","ᎧᏬᏂ","ᎠᏂᏍᎬᏘ","ᏕᎭᎷᏱ","ᎫᏰᏉᏂ","ᎦᎶᏂ","ᏚᎵᏍᏗ","ᏚᏂᏅᏗ","ᏅᏓᏕᏆ","ᎤᏍᎩᏱ"],"SHORTMONTH":["ᎤᏃ","ᎧᎦ","ᎠᏅ","ᎧᏬ","ᎠᏂ","ᏕᎭ","ᎫᏰ","ᎦᎶ","ᏚᎵ","ᏚᏂ","ᏅᏓ","ᎤᏍ"],"DAY":["ᎤᎾᏙᏓᏆᏍᎬ","ᎤᎾᏙᏓᏉᏅᎯ","ᏔᎵᏁᎢᎦ","ᏦᎢᏁᎢᎦ","ᏅᎩᏁᎢᎦ","ᏧᎾᎩᎶᏍᏗ","ᎤᎾᏙᏓᏈᏕᎾ"],"SHORTDAY":["ᏆᏍᎬ","ᏉᏅᎯ","ᏔᎵᏁ","ᏦᎢᏁ","ᏅᎩᏁ","ᏧᎾᎩ","ᏈᏕᎾ"],"AMPMS":["ᏌᎾᎴ","ᏒᎯᏱᎢᏗᏢ"],"medium":"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a","fullDate":"EEEE, MMMM d, y","longDate":"MMMM d, y","mediumDate":"MMM d, y","shortDate":"M/d/yy","mediumTime":"h:mm:ss a","shortTime":"h:mm a"},"pluralCat":function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;},"id":"chr"}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_cy.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_cy.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_cy.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", {"DATETIME_FORMATS":{"MONTH":["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffenaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],"SHORTMONTH":["Ion","Chwef","Mawrth","Ebrill","Mai","Meh","Gorff","Awst","Medi","Hyd","Tach","Rhag"],"DAY":["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],"SHORTDAY":["Sul","Llun","Maw","Mer","Iau","Gwen","Sad"],"AMPMS":["AM","PM"],"medium":"d MMM y HH:mm:ss","short":"dd/MM/yyyy HH:mm","fullDate":"EEEE, d MMMM y","longDate":"d MMMM y","mediumDate":"d MMM y","shortDate":"dd/MM/yyyy","mediumTime":"HH:mm:ss","shortTime":"HH:mm"},"pluralCat":function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;},"id":"cy"}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_el-polyton.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_el-polyton.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_el-polyton.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", {"NUMBER_FORMATS":{"DECIMAL_SEP":",","GROUP_SEP":".","PATTERNS":[{"minInt":1,"minFrac":0,"macFrac":0,"posPre":"","posSuf":"","negPre":"-","negSuf":"","gSize":3,"lgSize":3,"maxFrac":3},{"minInt":1,"minFrac":2,"macFrac":0,"posPre":"","posSuf":" \u00A4","negPre":"-","negSuf":" \u00A4","gSize":3,"lgSize":3,"maxFrac":2}],"CURRENCY_SYM":"€"},"pluralCat":function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;},"DATETIME_FORMATS":{"MONTH":["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"],"SHORTMONTH":["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],"DAY":["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],"SHORTDAY":["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],"AMPMS":["π.μ.","μ.μ."],"medium":"d MMM y h:mm:ss a","short":"d/M/yy h:mm a","fullDate":"EEEE, d MMMM y","longDate":"d MMMM y","mediumDate":"d MMM y","shortDate":"d/M/yy","mediumTime":"h:mm:ss a","shortTime":"h:mm a"},"id":"el-polyton"}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_en-zz.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_en-zz.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_en-zz.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", {"NUMBER_FORMATS":{"DECIMAL_SEP":".","GROUP_SEP":",","PATTERNS":[{"minInt":1,"minFrac":0,"macFrac":0,"posPre":"","posSuf":"","negPre":"-","negSuf":"","gSize":3,"lgSize":3,"maxFrac":3},{"minInt":1,"minFrac":2,"macFrac":0,"posPre":"\u00A4","posSuf":"","negPre":"(\u00A4","negSuf":")","gSize":3,"lgSize":3,"maxFrac":2}],"CURRENCY_SYM":"$"},"pluralCat":function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;},"DATETIME_FORMATS":{"MONTH":["January","February","March","April","May","June","July","August","September","October","November","December"],"SHORTMONTH":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"DAY":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"SHORTDAY":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"AMPMS":["AM","PM"],"medium":"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a","fullDate":"EEEE, MMMM d, y","longDate":"MMMM d, y","mediumDate":"MMM d, y","shortDate":"M/d/yy","mediumTime":"h:mm:ss a","shortTime":"h:mm a"},"id":"en-zz"}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-rw.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-rw.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-rw.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "dimanche", - "1": "lundi", - "2": "mardi", - "3": "mercredi", - "4": "jeudi", - "5": "vendredi", - "6": "samedi" - }, - "MONTH": { - "0": "janvier", - "1": "f\u00e9vrier", - "2": "mars", - "3": "avril", - "4": "mai", - "5": "juin", - "6": "juillet", - "7": "ao\u00fbt", - "8": "septembre", - "9": "octobre", - "10": "novembre", - "11": "d\u00e9cembre" - }, - "SHORTDAY": { - "0": "dim.", - "1": "lun.", - "2": "mar.", - "3": "mer.", - "4": "jeu.", - "5": "ven.", - "6": "sam." - }, - "SHORTMONTH": { - "0": "janv.", - "1": "f\u00e9vr.", - "2": "mars", - "3": "avr.", - "4": "mai", - "5": "juin", - "6": "juil.", - "7": "ao\u00fbt", - "8": "sept.", - "9": "oct.", - "10": "nov.", - "11": "d\u00e9c." - }, - "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y HH:mm:ss", - "mediumDate": "d MMM y", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": "\u00a0", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", - "posPre": "", - "posSuf": "\u00a0\u00a4" - } - } - }, - "id": "fr-rw", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-sn.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-sn.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-sn.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "dimanche", - "1": "lundi", - "2": "mardi", - "3": "mercredi", - "4": "jeudi", - "5": "vendredi", - "6": "samedi" - }, - "MONTH": { - "0": "janvier", - "1": "f\u00e9vrier", - "2": "mars", - "3": "avril", - "4": "mai", - "5": "juin", - "6": "juillet", - "7": "ao\u00fbt", - "8": "septembre", - "9": "octobre", - "10": "novembre", - "11": "d\u00e9cembre" - }, - "SHORTDAY": { - "0": "dim.", - "1": "lun.", - "2": "mar.", - "3": "mer.", - "4": "jeu.", - "5": "ven.", - "6": "sam." - }, - "SHORTMONTH": { - "0": "janv.", - "1": "f\u00e9vr.", - "2": "mars", - "3": "avr.", - "4": "mai", - "5": "juin", - "6": "juil.", - "7": "ao\u00fbt", - "8": "sept.", - "9": "oct.", - "10": "nov.", - "11": "d\u00e9c." - }, - "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y HH:mm:ss", - "mediumDate": "d MMM y", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": "\u00a0", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", - "posPre": "", - "posSuf": "\u00a0\u00a4" - } - } - }, - "id": "fr-sn", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-td.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-td.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-td.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "dimanche", - "1": "lundi", - "2": "mardi", - "3": "mercredi", - "4": "jeudi", - "5": "vendredi", - "6": "samedi" - }, - "MONTH": { - "0": "janvier", - "1": "f\u00e9vrier", - "2": "mars", - "3": "avril", - "4": "mai", - "5": "juin", - "6": "juillet", - "7": "ao\u00fbt", - "8": "septembre", - "9": "octobre", - "10": "novembre", - "11": "d\u00e9cembre" - }, - "SHORTDAY": { - "0": "dim.", - "1": "lun.", - "2": "mar.", - "3": "mer.", - "4": "jeu.", - "5": "ven.", - "6": "sam." - }, - "SHORTMONTH": { - "0": "janv.", - "1": "f\u00e9vr.", - "2": "mars", - "3": "avr.", - "4": "mai", - "5": "juin", - "6": "juil.", - "7": "ao\u00fbt", - "8": "sept.", - "9": "oct.", - "10": "nov.", - "11": "d\u00e9c." - }, - "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y HH:mm:ss", - "mediumDate": "d MMM y", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": "\u00a0", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", - "posPre": "", - "posSuf": "\u00a0\u00a4" - } - } - }, - "id": "fr-td", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-tg.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-tg.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_fr-tg.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "dimanche", - "1": "lundi", - "2": "mardi", - "3": "mercredi", - "4": "jeudi", - "5": "vendredi", - "6": "samedi" - }, - "MONTH": { - "0": "janvier", - "1": "février", - "2": "mars", - "3": "avril", - "4": "mai", - "5": "juin", - "6": "juillet", - "7": "août", - "8": "septembre", - "9": "octobre", - "10": "novembre", - "11": "décembre" - }, - "SHORTDAY": { - "0": "dim.", - "1": "lun.", - "2": "mar.", - "3": "mer.", - "4": "jeu.", - "5": "ven.", - "6": "sam." - }, - "SHORTMONTH": { - "0": "janv.", - "1": "févr.", - "2": "mars", - "3": "avr.", - "4": "mai", - "5": "juin", - "6": "juil.", - "7": "août", - "8": "sept.", - "9": "oct.", - "10": "nov.", - "11": "déc." - }, - "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y HH:mm:ss", - "mediumDate": "d MMM y", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "€", - "DECIMAL_SEP": ",", - "GROUP_SEP": " ", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(", - "negSuf": " \u00A4)", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "fr-tg", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_haw.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_haw.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_haw.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", {"DATETIME_FORMATS":{"MONTH":["Ianuali","Pepeluali","Malaki","ʻApelila","Mei","Iune","Iulai","ʻAukake","Kepakemapa","ʻOkakopa","Nowemapa","Kekemapa"],"SHORTMONTH":["Ian.","Pep.","Mal.","ʻAp.","Mei","Iun.","Iul.","ʻAu.","Kep.","ʻOk.","Now.","Kek."],"DAY":["Lāpule","Poʻakahi","Poʻalua","Poʻakolu","Poʻahā","Poʻalima","Poʻaono"],"SHORTDAY":["LP","P1","P2","P3","P4","P5","P6"],"AMPMS":["AM","PM"],"medium":"d MMM y h:mm:ss a","short":"d/M/yy h:mm a","fullDate":"EEEE, d MMMM y","longDate":"d MMMM y","mediumDate":"d MMM y","shortDate":"d/M/yy","mediumTime":"h:mm:ss a","shortTime":"h:mm a"},"pluralCat":function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;},"id":"haw"}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_it-ch.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_it-ch.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_it-ch.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "m.", - "1": "p." - }, - "DAY": { - "0": "domenica", - "1": "lunedì", - "2": "martedì", - "3": "mercoledì", - "4": "giovedì", - "5": "venerdì", - "6": "sabato" - }, - "MONTH": { - "0": "gennaio", - "1": "febbraio", - "2": "marzo", - "3": "aprile", - "4": "maggio", - "5": "giugno", - "6": "luglio", - "7": "agosto", - "8": "settembre", - "9": "ottobre", - "10": "novembre", - "11": "dicembre" - }, - "SHORTDAY": { - "0": "dom", - "1": "lun", - "2": "mar", - "3": "mer", - "4": "gio", - "5": "ven", - "6": "sab" - }, - "SHORTMONTH": { - "0": "gen", - "1": "feb", - "2": "mar", - "3": "apr", - "4": "mag", - "5": "giu", - "6": "lug", - "7": "ago", - "8": "set", - "9": "ott", - "10": "nov", - "11": "dic" - }, - "fullDate": "EEEE, d MMMM y", - "longDate": "d MMMM y", - "medium": "d-MMM-y HH:mm:ss", - "mediumDate": "d-MMM-y", - "mediumTime": "HH:mm:ss", - "short": "dd.MM.yy HH:mm", - "shortDate": "dd.MM.yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "€", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "\u00A4 -", - "negSuf": "", - "posPre": "\u00A4 ", - "posSuf": "" - } - } - }, - "id": "it-ch", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ln-cg.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ln-cg.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ln-cg.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "ntɔ́ngɔ́", - "1": "mpókwa" - }, - "DAY": { - "0": "eyenga", - "1": "mokɔlɔ mwa yambo", - "2": "mokɔlɔ mwa míbalé", - "3": "mokɔlɔ mwa mísáto", - "4": "mokɔlɔ ya mínéi", - "5": "mokɔlɔ ya mítáno", - "6": "mpɔ́sɔ" - }, - "MONTH": { - "0": "sánzá ya yambo", - "1": "sánzá ya míbalé", - "2": "sánzá ya mísáto", - "3": "sánzá ya mínei", - "4": "sánzá ya mítáno", - "5": "sánzá ya motóbá", - "6": "sánzá ya nsambo", - "7": "sánzá ya mwambe", - "8": "sánzá ya libwa", - "9": "sánzá ya zómi", - "10": "sánzá ya zómi na mɔ̌kɔ́", - "11": "sánzá ya zómi na míbalé" - }, - "SHORTDAY": { - "0": "eye", - "1": "ybo", - "2": "mbl", - "3": "mst", - "4": "min", - "5": "mtn", - "6": "mps" - }, - "SHORTMONTH": { - "0": "yan", - "1": "fbl", - "2": "msi", - "3": "apl", - "4": "mai", - "5": "yun", - "6": "yul", - "7": "agt", - "8": "stb", - "9": "ɔtb", - "10": "nvb", - "11": "dsb" - }, - "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y HH:mm:ss", - "mediumDate": "d MMM y", - "mediumTime": "HH:mm:ss", - "short": "d/M/yyyy HH:mm", - "shortDate": "d/M/yyyy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "FrCD", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "ln-cg", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_mo.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_mo.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_mo.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", {"DATETIME_FORMATS":{"MONTH":["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],"SHORTMONTH":["ian.","feb.","mar.","apr.","mai","iun.","iul.","aug.","sept.","oct.","nov.","dec."],"DAY":["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"],"SHORTDAY":["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],"AMPMS":["AM","PM"],"medium":"dd.MM.yyyy HH:mm:ss","short":"dd.MM.yyyy HH:mm","fullDate":"EEEE, d MMMM y","longDate":"d MMMM y","mediumDate":"dd.MM.yyyy","shortDate":"dd.MM.yyyy","mediumTime":"HH:mm:ss","shortTime":"HH:mm"},"NUMBER_FORMATS":{"DECIMAL_SEP":",","GROUP_SEP":".","PATTERNS":[{"minInt":1,"minFrac":0,"macFrac":0,"posPre":"","posSuf":"","negPre":"-","negSuf":"","gSize":3,"lgSize":3,"maxFrac":3},{"minInt":1,"minFrac":2,"macFrac":0,"posPre":"","posSuf":" \u00A4","negPre":"-","negSuf":" \u00A4","gSize":3,"lgSize":3,"maxFrac":2}],"CURRENCY_SYM":"MDL"},"pluralCat":function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 0 || n != 1 && (n % 100) >= 1 && (n % 100) <= 19 && n == Math.floor(n)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;},"id":"mo"}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ms-bn.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ms-bn.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ms-bn.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "PG", - "1": "PTG" - }, - "DAY": { - "0": "Ahad", - "1": "Isnin", - "2": "Selasa", - "3": "Rabu", - "4": "Khamis", - "5": "Jumaat", - "6": "Sabtu" - }, - "MONTH": { - "0": "Januari", - "1": "Februari", - "2": "Mac", - "3": "April", - "4": "Mei", - "5": "Jun", - "6": "Julai", - "7": "Ogos", - "8": "September", - "9": "Oktober", - "10": "November", - "11": "Disember" - }, - "SHORTDAY": { - "0": "Ahd", - "1": "Isn", - "2": "Sel", - "3": "Rab", - "4": "Kha", - "5": "Jum", - "6": "Sab" - }, - "SHORTMONTH": { - "0": "Jan", - "1": "Feb", - "2": "Mac", - "3": "Apr", - "4": "Mei", - "5": "Jun", - "6": "Jul", - "7": "Ogos", - "8": "Sep", - "9": "Okt", - "10": "Nov", - "11": "Dis" - }, - "fullDate": "dd MMMM y", - "longDate": "d MMMM y", - "medium": "dd/MM/yyyy h:mm:ss a", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "h:mm:ss a", - "short": "d/MM/yy h:mm a", - "shortDate": "d/MM/yy", - "shortTime": "h:mm a" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "RM", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "ms-bn", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_nl-aw.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_nl-aw.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_nl-aw.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "zondag", - "1": "maandag", - "2": "dinsdag", - "3": "woensdag", - "4": "donderdag", - "5": "vrijdag", - "6": "zaterdag" - }, - "MONTH": { - "0": "januari", - "1": "februari", - "2": "maart", - "3": "april", - "4": "mei", - "5": "juni", - "6": "juli", - "7": "augustus", - "8": "september", - "9": "oktober", - "10": "november", - "11": "december" - }, - "SHORTDAY": { - "0": "zo", - "1": "ma", - "2": "di", - "3": "wo", - "4": "do", - "5": "vr", - "6": "za" - }, - "SHORTMONTH": { - "0": "jan.", - "1": "feb.", - "2": "mrt.", - "3": "apr.", - "4": "mei", - "5": "jun.", - "6": "jul.", - "7": "aug.", - "8": "sep.", - "9": "okt.", - "10": "nov.", - "11": "dec." - }, - "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y HH:mm:ss", - "mediumDate": "d MMM y", - "mediumTime": "HH:mm:ss", - "short": "dd-MM-yy HH:mm", - "shortDate": "dd-MM-yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "€", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "\u00A4 ", - "negSuf": "-", - "posPre": "\u00A4 ", - "posSuf": "" - } - } - }, - "id": "nl-aw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_nl-be.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_nl-be.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_nl-be.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "zondag", - "1": "maandag", - "2": "dinsdag", - "3": "woensdag", - "4": "donderdag", - "5": "vrijdag", - "6": "zaterdag" - }, - "MONTH": { - "0": "januari", - "1": "februari", - "2": "maart", - "3": "april", - "4": "mei", - "5": "juni", - "6": "juli", - "7": "augustus", - "8": "september", - "9": "oktober", - "10": "november", - "11": "december" - }, - "SHORTDAY": { - "0": "zo", - "1": "ma", - "2": "di", - "3": "wo", - "4": "do", - "5": "vr", - "6": "za" - }, - "SHORTMONTH": { - "0": "jan.", - "1": "feb.", - "2": "mrt.", - "3": "apr.", - "4": "mei", - "5": "jun.", - "6": "jul.", - "7": "aug.", - "8": "sep.", - "9": "okt.", - "10": "nov.", - "11": "dec." - }, - "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d-MMM-y HH:mm:ss", - "mediumDate": "d-MMM-y", - "mediumTime": "HH:mm:ss", - "short": "d/MM/yy HH:mm", - "shortDate": "d/MM/yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "€", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "\u00A4 ", - "negSuf": "-", - "posPre": "\u00A4 ", - "posSuf": "" - } - } - }, - "id": "nl-be", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-ao.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-ao.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-ao.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "domingo", - "1": "segunda-feira", - "2": "terça-feira", - "3": "quarta-feira", - "4": "quinta-feira", - "5": "sexta-feira", - "6": "sábado" - }, - "MONTH": { - "0": "janeiro", - "1": "fevereiro", - "2": "março", - "3": "abril", - "4": "maio", - "5": "junho", - "6": "julho", - "7": "agosto", - "8": "setembro", - "9": "outubro", - "10": "novembro", - "11": "dezembro" - }, - "SHORTDAY": { - "0": "dom", - "1": "seg", - "2": "ter", - "3": "qua", - "4": "qui", - "5": "sex", - "6": "sáb" - }, - "SHORTMONTH": { - "0": "jan", - "1": "fev", - "2": "mar", - "3": "abr", - "4": "mai", - "5": "jun", - "6": "jul", - "7": "ago", - "8": "set", - "9": "out", - "10": "nov", - "11": "dez" - }, - "fullDate": "EEEE, d 'de' MMMM 'de' y", - "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "pt-ao", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-gw.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-gw.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-gw.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "domingo", - "1": "segunda-feira", - "2": "terça-feira", - "3": "quarta-feira", - "4": "quinta-feira", - "5": "sexta-feira", - "6": "sábado" - }, - "MONTH": { - "0": "janeiro", - "1": "fevereiro", - "2": "março", - "3": "abril", - "4": "maio", - "5": "junho", - "6": "julho", - "7": "agosto", - "8": "setembro", - "9": "outubro", - "10": "novembro", - "11": "dezembro" - }, - "SHORTDAY": { - "0": "dom", - "1": "seg", - "2": "ter", - "3": "qua", - "4": "qui", - "5": "sex", - "6": "sáb" - }, - "SHORTMONTH": { - "0": "jan", - "1": "fev", - "2": "mar", - "3": "abr", - "4": "mai", - "5": "jun", - "6": "jul", - "7": "ago", - "8": "set", - "9": "out", - "10": "nov", - "11": "dez" - }, - "fullDate": "EEEE, d 'de' MMMM 'de' y", - "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "pt-gw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-mz.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-mz.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-mz.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "domingo", - "1": "segunda-feira", - "2": "terça-feira", - "3": "quarta-feira", - "4": "quinta-feira", - "5": "sexta-feira", - "6": "sábado" - }, - "MONTH": { - "0": "janeiro", - "1": "fevereiro", - "2": "março", - "3": "abril", - "4": "maio", - "5": "junho", - "6": "julho", - "7": "agosto", - "8": "setembro", - "9": "outubro", - "10": "novembro", - "11": "dezembro" - }, - "SHORTDAY": { - "0": "dom", - "1": "seg", - "2": "ter", - "3": "qua", - "4": "qui", - "5": "sex", - "6": "sáb" - }, - "SHORTMONTH": { - "0": "jan", - "1": "fev", - "2": "mar", - "3": "abr", - "4": "mai", - "5": "jun", - "6": "jul", - "7": "ago", - "8": "set", - "9": "out", - "10": "nov", - "11": "dez" - }, - "fullDate": "EEEE, d 'de' MMMM 'de' y", - "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "pt-mz", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-st.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-st.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_pt-st.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "domingo", - "1": "segunda-feira", - "2": "terça-feira", - "3": "quarta-feira", - "4": "quinta-feira", - "5": "sexta-feira", - "6": "sábado" - }, - "MONTH": { - "0": "janeiro", - "1": "fevereiro", - "2": "março", - "3": "abril", - "4": "maio", - "5": "junho", - "6": "julho", - "7": "agosto", - "8": "setembro", - "9": "outubro", - "10": "novembro", - "11": "dezembro" - }, - "SHORTDAY": { - "0": "dom", - "1": "seg", - "2": "ter", - "3": "qua", - "4": "qui", - "5": "sex", - "6": "sáb" - }, - "SHORTMONTH": { - "0": "jan", - "1": "fev", - "2": "mar", - "3": "abr", - "4": "mai", - "5": "jun", - "6": "jul", - "7": "ago", - "8": "set", - "9": "out", - "10": "nov", - "11": "dez" - }, - "fullDate": "EEEE, d 'de' MMMM 'de' y", - "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "pt-st", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ro-md.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ro-md.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ro-md.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "AM", - "1": "PM" - }, - "DAY": { - "0": "duminică", - "1": "luni", - "2": "marți", - "3": "miercuri", - "4": "joi", - "5": "vineri", - "6": "sâmbătă" - }, - "MONTH": { - "0": "ianuarie", - "1": "februarie", - "2": "martie", - "3": "aprilie", - "4": "mai", - "5": "iunie", - "6": "iulie", - "7": "august", - "8": "septembrie", - "9": "octombrie", - "10": "noiembrie", - "11": "decembrie" - }, - "SHORTDAY": { - "0": "Du", - "1": "Lu", - "2": "Ma", - "3": "Mi", - "4": "Jo", - "5": "Vi", - "6": "Sâ" - }, - "SHORTMONTH": { - "0": "ian.", - "1": "feb.", - "2": "mar.", - "3": "apr.", - "4": "mai", - "5": "iun.", - "6": "iul.", - "7": "aug.", - "8": "sept.", - "9": "oct.", - "10": "nov.", - "11": "dec." - }, - "fullDate": "EEEE, d MMMM y", - "longDate": "d MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd.MM.yyyy HH:mm", - "shortDate": "dd.MM.yyyy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "RON", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "ro-md", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 0 || n != 1 && n == (n | 0) && n % 100 >= 1 && n % 100 <= 19) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ru-md.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ru-md.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ru-md.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "до полудня", - "1": "после полудня" - }, - "DAY": { - "0": "воскресенье", - "1": "понедельник", - "2": "вторник", - "3": "среда", - "4": "четверг", - "5": "пятница", - "6": "суббота" - }, - "MONTH": { - "0": "января", - "1": "февраля", - "2": "марта", - "3": "апреля", - "4": "мая", - "5": "июня", - "6": "июля", - "7": "августа", - "8": "сентября", - "9": "октября", - "10": "ноября", - "11": "декабря" - }, - "SHORTDAY": { - "0": "вс", - "1": "пн", - "2": "вт", - "3": "ср", - "4": "чт", - "5": "пт", - "6": "сб" - }, - "SHORTMONTH": { - "0": "янв.", - "1": "февр.", - "2": "марта", - "3": "апр.", - "4": "мая", - "5": "июня", - "6": "июля", - "7": "авг.", - "8": "сент.", - "9": "окт.", - "10": "нояб.", - "11": "дек." - }, - "fullDate": "EEEE, d MMMM y 'г'.", - "longDate": "d MMMM y 'г'.", - "medium": "dd.MM.yyyy H:mm:ss", - "mediumDate": "dd.MM.yyyy", - "mediumTime": "H:mm:ss", - "short": "dd.MM.yy H:mm", - "shortDate": "dd.MM.yy", - "shortTime": "H:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "руб.", - "DECIMAL_SEP": ",", - "GROUP_SEP": " ", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "ru-md", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ru-ua.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ru-ua.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ru-ua.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "до полудня", - "1": "после полудня" - }, - "DAY": { - "0": "воскресенье", - "1": "понедельник", - "2": "вторник", - "3": "среда", - "4": "четверг", - "5": "пятница", - "6": "суббота" - }, - "MONTH": { - "0": "января", - "1": "февраля", - "2": "марта", - "3": "апреля", - "4": "мая", - "5": "июня", - "6": "июля", - "7": "августа", - "8": "сентября", - "9": "октября", - "10": "ноября", - "11": "декабря" - }, - "SHORTDAY": { - "0": "вс", - "1": "пн", - "2": "вт", - "3": "ср", - "4": "чт", - "5": "пт", - "6": "сб" - }, - "SHORTMONTH": { - "0": "янв.", - "1": "февр.", - "2": "марта", - "3": "апр.", - "4": "мая", - "5": "июня", - "6": "июля", - "7": "авг.", - "8": "сент.", - "9": "окт.", - "10": "нояб.", - "11": "дек." - }, - "fullDate": "EEEE, d MMMM y 'г'.", - "longDate": "d MMMM y", - "medium": "d MMM y HH:mm:ss", - "mediumDate": "d MMM y", - "mediumTime": "HH:mm:ss", - "short": "dd.MM.yy HH:mm", - "shortDate": "dd.MM.yy", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "руб.", - "DECIMAL_SEP": ",", - "GROUP_SEP": " ", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "ru-ua", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl-ba.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl-ba.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl-ba.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "пре подне", - "1": "поподне" - }, - "DAY": { - "0": "недеља", - "1": "понедељак", - "2": "уторак", - "3": "сриједа", - "4": "четвртак", - "5": "петак", - "6": "субота" - }, - "MONTH": { - "0": "јануар", - "1": "фебруар", - "2": "март", - "3": "април", - "4": "мај", - "5": "јуни", - "6": "јули", - "7": "август", - "8": "септембар", - "9": "октобар", - "10": "новембар", - "11": "децембар" - }, - "SHORTDAY": { - "0": "нед", - "1": "пон", - "2": "уто", - "3": "сри", - "4": "чет", - "5": "пет", - "6": "суб" - }, - "SHORTMONTH": { - "0": "јан", - "1": "феб", - "2": "мар", - "3": "апр", - "4": "мај", - "5": "јун", - "6": "јул", - "7": "авг", - "8": "сеп", - "9": "окт", - "10": "нов", - "11": "дец" - }, - "fullDate": "EEEE, dd. MMMM y.", - "longDate": "dd. MMMM y.", - "medium": "yyyy-MM-dd HH:mm:ss", - "mediumDate": "yyyy-MM-dd", - "mediumTime": "HH:mm:ss", - "short": "yy-MM-dd HH:mm", - "shortDate": "yy-MM-dd", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "sr-cyrl-ba", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl-me.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl-me.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl-me.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "пре подне", - "1": "поподне" - }, - "DAY": { - "0": "недеља", - "1": "понедељак", - "2": "уторак", - "3": "среда", - "4": "четвртак", - "5": "петак", - "6": "субота" - }, - "MONTH": { - "0": "јануар", - "1": "фебруар", - "2": "март", - "3": "април", - "4": "мај", - "5": "јун", - "6": "јул", - "7": "август", - "8": "септембар", - "9": "октобар", - "10": "новембар", - "11": "децембар" - }, - "SHORTDAY": { - "0": "нед", - "1": "пон", - "2": "уто", - "3": "сре", - "4": "чет", - "5": "пет", - "6": "суб" - }, - "SHORTMONTH": { - "0": "јан", - "1": "феб", - "2": "мар", - "3": "апр", - "4": "мај", - "5": "јун", - "6": "јул", - "7": "авг", - "8": "сеп", - "9": "окт", - "10": "нов", - "11": "дец" - }, - "fullDate": "EEEE, dd. MMMM y.", - "longDate": "dd. MMMM y.", - "medium": "dd.MM.y. HH.mm.ss", - "mediumDate": "dd.MM.y.", - "mediumTime": "HH.mm.ss", - "short": "d.M.yy. HH.mm", - "shortDate": "d.M.yy.", - "shortTime": "HH.mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "sr-cyrl-me", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-cyrl.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "пре подне", - "1": "поподне" - }, - "DAY": { - "0": "недеља", - "1": "понедељак", - "2": "уторак", - "3": "среда", - "4": "четвртак", - "5": "петак", - "6": "субота" - }, - "MONTH": { - "0": "јануар", - "1": "фебруар", - "2": "март", - "3": "април", - "4": "мај", - "5": "јун", - "6": "јул", - "7": "август", - "8": "септембар", - "9": "октобар", - "10": "новембар", - "11": "децембар" - }, - "SHORTDAY": { - "0": "нед", - "1": "пон", - "2": "уто", - "3": "сре", - "4": "чет", - "5": "пет", - "6": "суб" - }, - "SHORTMONTH": { - "0": "јан", - "1": "феб", - "2": "мар", - "3": "апр", - "4": "мај", - "5": "јун", - "6": "јул", - "7": "авг", - "8": "сеп", - "9": "окт", - "10": "нов", - "11": "дец" - }, - "fullDate": "EEEE, dd. MMMM y.", - "longDate": "dd. MMMM y.", - "medium": "dd.MM.y. HH.mm.ss", - "mediumDate": "dd.MM.y.", - "mediumTime": "HH.mm.ss", - "short": "d.M.yy. HH.mm", - "shortDate": "d.M.yy.", - "shortTime": "HH.mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "sr-cyrl", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn-ba.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn-ba.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn-ba.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "pre podne", - "1": "popodne" - }, - "DAY": { - "0": "nedelja", - "1": "ponedeljak", - "2": "utorak", - "3": "sreda", - "4": "četvrtak", - "5": "petak", - "6": "subota" - }, - "MONTH": { - "0": "januar", - "1": "februar", - "2": "mart", - "3": "april", - "4": "maj", - "5": "jun", - "6": "jul", - "7": "avgust", - "8": "septembar", - "9": "oktobar", - "10": "novembar", - "11": "decembar" - }, - "SHORTDAY": { - "0": "ned", - "1": "pon", - "2": "uto", - "3": "sre", - "4": "čet", - "5": "pet", - "6": "sub" - }, - "SHORTMONTH": { - "0": "jan", - "1": "feb", - "2": "mar", - "3": "apr", - "4": "maj", - "5": "jun", - "6": "jul", - "7": "avg", - "8": "sep", - "9": "okt", - "10": "nov", - "11": "dec" - }, - "fullDate": "EEEE, dd. MMMM y.", - "longDate": "dd. MMMM y.", - "medium": "dd.MM.y. HH.mm.ss", - "mediumDate": "dd.MM.y.", - "mediumTime": "HH.mm.ss", - "short": "d.M.yy. HH.mm", - "shortDate": "d.M.yy.", - "shortTime": "HH.mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "sr-latn-ba", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn-me.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn-me.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn-me.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "pre podne", - "1": "popodne" - }, - "DAY": { - "0": "nedelja", - "1": "ponedeljak", - "2": "utorak", - "3": "sreda", - "4": "četvrtak", - "5": "petak", - "6": "subota" - }, - "MONTH": { - "0": "januar", - "1": "februar", - "2": "mart", - "3": "april", - "4": "maj", - "5": "jun", - "6": "jul", - "7": "avgust", - "8": "septembar", - "9": "oktobar", - "10": "novembar", - "11": "decembar" - }, - "SHORTDAY": { - "0": "ned", - "1": "pon", - "2": "uto", - "3": "sre", - "4": "čet", - "5": "pet", - "6": "sub" - }, - "SHORTMONTH": { - "0": "jan", - "1": "feb", - "2": "mar", - "3": "apr", - "4": "maj", - "5": "jun", - "6": "jul", - "7": "avg", - "8": "sep", - "9": "okt", - "10": "nov", - "11": "dec" - }, - "fullDate": "EEEE, dd. MMMM y.", - "longDate": "d.MM.yyyy.", - "medium": "dd.MM.y. HH.mm.ss", - "mediumDate": "dd.MM.y.", - "mediumTime": "HH.mm.ss", - "short": "d.M.yy. HH.mm", - "shortDate": "d.M.yy.", - "shortTime": "HH.mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "sr-latn-me", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-latn.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "pre podne", - "1": "popodne" - }, - "DAY": { - "0": "nedelja", - "1": "ponedeljak", - "2": "utorak", - "3": "sreda", - "4": "četvrtak", - "5": "petak", - "6": "subota" - }, - "MONTH": { - "0": "januar", - "1": "februar", - "2": "mart", - "3": "april", - "4": "maj", - "5": "jun", - "6": "jul", - "7": "avgust", - "8": "septembar", - "9": "oktobar", - "10": "novembar", - "11": "decembar" - }, - "SHORTDAY": { - "0": "ned", - "1": "pon", - "2": "uto", - "3": "sre", - "4": "čet", - "5": "pet", - "6": "sub" - }, - "SHORTMONTH": { - "0": "jan", - "1": "feb", - "2": "mar", - "3": "apr", - "4": "maj", - "5": "jun", - "6": "jul", - "7": "avg", - "8": "sep", - "9": "okt", - "10": "nov", - "11": "dec" - }, - "fullDate": "EEEE, dd. MMMM y.", - "longDate": "dd. MMMM y.", - "medium": "dd.MM.y. HH.mm.ss", - "mediumDate": "dd.MM.y.", - "mediumTime": "HH.mm.ss", - "short": "d.M.yy. HH.mm", - "shortDate": "d.M.yy.", - "shortTime": "HH.mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "sr-latn", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-rs.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-rs.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sr-rs.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", {"NUMBER_FORMATS":{"DECIMAL_SEP":".","GROUP_SEP":",","PATTERNS":[{"minInt":1,"minFrac":0,"macFrac":0,"posPre":"","posSuf":"","negPre":"-","negSuf":"","gSize":3,"lgSize":3,"maxFrac":3},{"minInt":1,"minFrac":2,"macFrac":0,"posPre":"","posSuf":" \u00A4","negPre":"-","negSuf":" \u00A4","gSize":3,"lgSize":3,"maxFrac":2}],"CURRENCY_SYM":"РСД"},"pluralCat":function (n) { if ((n % 10) == 1 && (n % 100) != 11) { return PLURAL_CATEGORY.ONE; } if ((n % 10) >= 2 && (n % 10) <= 4 && ((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) { return PLURAL_CATEGORY.FEW; } if ((n % 10) == 0 || ((n % 10) >= 5 && (n % 10) <= 9) || ((n % 100) >= 11 && (n % 100) <= 14) && n == Math.floor(n)) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;},"DATETIME_FORMATS":{"MONTH":["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],"SHORTMONTH":["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],"DAY":["недеља","понедељак","уторак","среда","четвртак","петак","субота"],"SHORTDAY":["нед","пон","уто","сре","чет","пет","суб"],"AMPMS":["пре подне","поподне"],"medium":"dd.MM.y. HH.mm.ss","short":"d.M.yy. HH.mm","fullDate":"EEEE, dd. MMMM y.","longDate":"dd. MMMM y.","mediumDate":"dd.MM.y.","shortDate":"d.M.yy.","mediumTime":"HH.mm.ss","shortTime":"HH.mm"},"id":"sr-rs"}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sv-fi.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sv-fi.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sv-fi.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "fm", - "1": "em" - }, - "DAY": { - "0": "söndag", - "1": "måndag", - "2": "tisdag", - "3": "onsdag", - "4": "torsdag", - "5": "fredag", - "6": "lördag" - }, - "MONTH": { - "0": "januari", - "1": "februari", - "2": "mars", - "3": "april", - "4": "maj", - "5": "juni", - "6": "juli", - "7": "augusti", - "8": "september", - "9": "oktober", - "10": "november", - "11": "december" - }, - "SHORTDAY": { - "0": "sön", - "1": "mån", - "2": "tis", - "3": "ons", - "4": "tors", - "5": "fre", - "6": "lör" - }, - "SHORTMONTH": { - "0": "jan", - "1": "feb", - "2": "mar", - "3": "apr", - "4": "maj", - "5": "jun", - "6": "jul", - "7": "aug", - "8": "sep", - "9": "okt", - "10": "nov", - "11": "dec" - }, - "fullDate": "EEEE'en' 'den' d:'e' MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y HH:mm:ss", - "mediumDate": "d MMM y", - "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", - "shortTime": "HH:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "kr", - "DECIMAL_SEP": ",", - "GROUP_SEP": " ", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "-", - "negSuf": " \u00A4", - "posPre": "", - "posSuf": " \u00A4" - } - } - }, - "id": "sv-fi", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sw-ke.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sw-ke.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_sw-ke.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "asubuhi", - "1": "alasiri" - }, - "DAY": { - "0": "Jumapili", - "1": "Jumatatu", - "2": "Jumanne", - "3": "Jumatano", - "4": "Alhamisi", - "5": "Ijumaa", - "6": "Jumamosi" - }, - "MONTH": { - "0": "Januari", - "1": "Februari", - "2": "Machi", - "3": "Aprili", - "4": "Mei", - "5": "Juni", - "6": "Julai", - "7": "Agosti", - "8": "Septemba", - "9": "Oktoba", - "10": "Novemba", - "11": "Desemba" - }, - "SHORTDAY": { - "0": "J2", - "1": "J3", - "2": "J4", - "3": "J5", - "4": "Alh", - "5": "Ij", - "6": "J1" - }, - "SHORTMONTH": { - "0": "Jan", - "1": "Feb", - "2": "Mac", - "3": "Apr", - "4": "Mei", - "5": "Jun", - "6": "Jul", - "7": "Ago", - "8": "Sep", - "9": "Okt", - "10": "Nov", - "11": "Des" - }, - "fullDate": "EEEE, d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y h:mm:ss a", - "mediumDate": "d MMM y", - "mediumTime": "h:mm:ss a", - "short": "dd/MM/yyyy h:mm a", - "shortDate": "dd/MM/yyyy", - "shortTime": "h:mm a" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "TSh", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "sw-ke", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ta-lk.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ta-lk.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ta-lk.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "am", - "1": "pm" - }, - "DAY": { - "0": "ஞாயிறு", - "1": "திங்கள்", - "2": "செவ்வாய்", - "3": "புதன்", - "4": "வியாழன்", - "5": "வெள்ளி", - "6": "சனி" - }, - "MONTH": { - "0": "ஜனவரி", - "1": "பிப்ரவரி", - "2": "மார்ச்", - "3": "ஏப்ரல்", - "4": "மே", - "5": "ஜூன்", - "6": "ஜூலை", - "7": "ஆகஸ்ட்", - "8": "செப்டம்பர்", - "9": "அக்டோபர்", - "10": "நவம்பர்", - "11": "டிசம்பர்" - }, - "SHORTDAY": { - "0": "ஞா", - "1": "தி", - "2": "செ", - "3": "பு", - "4": "வி", - "5": "வெ", - "6": "ச" - }, - "SHORTMONTH": { - "0": "ஜன.", - "1": "பிப்.", - "2": "மார்.", - "3": "ஏப்.", - "4": "மே", - "5": "ஜூன்", - "6": "ஜூலை", - "7": "ஆக.", - "8": "செப்.", - "9": "அக்.", - "10": "நவ.", - "11": "டிச." - }, - "fullDate": "EEEE, d MMMM, y", - "longDate": "d MMMM, y", - "medium": "d MMM, y h:mm:ss a", - "mediumDate": "d MMM, y", - "mediumTime": "h:mm:ss a", - "short": "d-M-yy h:mm a", - "shortDate": "d-M-yy", - "shortTime": "h:mm a" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "₹", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 2, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 2, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "\u00A4 -", - "negSuf": "", - "posPre": "\u00A4 ", - "posSuf": "" - } - } - }, - "id": "ta-lk", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_tl-ph.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_tl-ph.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_tl-ph.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,5 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", {"NUMBER_FORMATS":{"DECIMAL_SEP":".","GROUP_SEP":",","PATTERNS":[{"minInt":1,"minFrac":0,"macFrac":0,"posPre":"","posSuf":"","negPre":"-","negSuf":"","gSize":3,"lgSize":3,"maxFrac":3},{"minInt":1,"minFrac":2,"macFrac":0,"posPre":"\u00A4 ","posSuf":"","negPre":"\u00A4 -","negSuf":"","gSize":3,"lgSize":3,"maxFrac":2}],"CURRENCY_SYM":"P"},"pluralCat":function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;},"DATETIME_FORMATS":{"MONTH":["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Setyembre","Oktubre","Nobyembre","Disyembre"],"SHORTMONTH":["Ene","Peb","Mar","Abr","May","Hun","Hul","Ago","Set","Okt","Nob","Dis"],"DAY":["Linggo","Lunes","Martes","Miyerkules","Huwebes","Biyernes","Sabado"],"SHORTDAY":["Lin","Lun","Mar","Mye","Huw","Bye","Sab"],"AMPMS":["AM","PM"],"medium":"MMM d, y HH:mm:ss","short":"M/d/yy HH:mm","fullDate":"EEEE, MMMM dd y","longDate":"MMMM d, y","mediumDate":"MMM d, y","shortDate":"M/d/yy","mediumTime":"HH:mm:ss","shortTime":"HH:mm"},"id":"tl-ph"}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ur-in.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ur-in.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_ur-in.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "دن", - "1": "رات" - }, - "DAY": { - "0": "اتوار", - "1": "پير", - "2": "منگل", - "3": "بده", - "4": "جمعرات", - "5": "جمعہ", - "6": "ہفتہ" - }, - "MONTH": { - "0": "جنوری", - "1": "فروری", - "2": "مارچ", - "3": "اپريل", - "4": "مئ", - "5": "جون", - "6": "جولائ", - "7": "اگست", - "8": "ستمبر", - "9": "اکتوبر", - "10": "نومبر", - "11": "دسمبر" - }, - "SHORTDAY": { - "0": "اتوار", - "1": "پير", - "2": "منگل", - "3": "بده", - "4": "جمعرات", - "5": "جمعہ", - "6": "ہفتہ" - }, - "SHORTMONTH": { - "0": "جنوری", - "1": "فروری", - "2": "مارچ", - "3": "اپريل", - "4": "مئ", - "5": "جون", - "6": "جولائ", - "7": "اگست", - "8": "ستمبر", - "9": "اکتوبر", - "10": "نومبر", - "11": "دسمبر" - }, - "fullDate": "EEEE؍ d؍ MMMM y", - "longDate": "d؍ MMMM y", - "medium": "d؍ MMM y h:mm:ss a", - "mediumDate": "d؍ MMM y", - "mediumTime": "h:mm:ss a", - "short": "d/M/yy h:mm a", - "shortDate": "d/M/yy", - "shortTime": "h:mm a" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "Rs", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "\u00A4-", - "negSuf": "", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "ur-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-hk.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-hk.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-hk.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "上午", - "1": "下午" - }, - "DAY": { - "0": "星期日", - "1": "星期一", - "2": "星期二", - "3": "星期三", - "4": "星期四", - "5": "星期五", - "6": "星期六" - }, - "MONTH": { - "0": "一月", - "1": "二月", - "2": "三月", - "3": "四月", - "4": "五月", - "5": "六月", - "6": "七月", - "7": "八月", - "8": "九月", - "9": "十月", - "10": "十一月", - "11": "十二月" - }, - "SHORTDAY": { - "0": "周日", - "1": "周一", - "2": "周二", - "3": "周三", - "4": "周四", - "5": "周五", - "6": "周六" - }, - "SHORTMONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "fullDate": "y年M月d日EEEE", - "longDate": "y年M月d日", - "medium": "y年M月d日 ah:mm:ss", - "mediumDate": "y年M月d日", - "mediumTime": "ah:mm:ss", - "short": "d/M/yy ah:mm", - "shortDate": "d/M/yy", - "shortTime": "ah:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "¥", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "zh-hans-hk", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-mo.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-mo.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-mo.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "上午", - "1": "下午" - }, - "DAY": { - "0": "星期日", - "1": "星期一", - "2": "星期二", - "3": "星期三", - "4": "星期四", - "5": "星期五", - "6": "星期六" - }, - "MONTH": { - "0": "一月", - "1": "二月", - "2": "三月", - "3": "四月", - "4": "五月", - "5": "六月", - "6": "七月", - "7": "八月", - "8": "九月", - "9": "十月", - "10": "十一月", - "11": "十二月" - }, - "SHORTDAY": { - "0": "周日", - "1": "周一", - "2": "周二", - "3": "周三", - "4": "周四", - "5": "周五", - "6": "周六" - }, - "SHORTMONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "fullDate": "y年M月d日EEEE", - "longDate": "y年M月d日", - "medium": "y年M月d日 ah:mm:ss", - "mediumDate": "y年M月d日", - "mediumTime": "ah:mm:ss", - "short": "d/M/yy ah:mm", - "shortDate": "d/M/yy", - "shortTime": "ah:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "¥", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "zh-hans-mo", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-sg.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-sg.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans-sg.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "上午", - "1": "下午" - }, - "DAY": { - "0": "星期日", - "1": "星期一", - "2": "星期二", - "3": "星期三", - "4": "星期四", - "5": "星期五", - "6": "星期六" - }, - "MONTH": { - "0": "一月", - "1": "二月", - "2": "三月", - "3": "四月", - "4": "五月", - "5": "六月", - "6": "七月", - "7": "八月", - "8": "九月", - "9": "十月", - "10": "十一月", - "11": "十二月" - }, - "SHORTDAY": { - "0": "周日", - "1": "周一", - "2": "周二", - "3": "周三", - "4": "周四", - "5": "周五", - "6": "周六" - }, - "SHORTMONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "fullDate": "y年M月d日EEEE", - "longDate": "y年M月d日", - "medium": "y年M月d日 ah:mm:ss", - "mediumDate": "y年M月d日", - "mediumTime": "ah:mm:ss", - "short": "dd/MM/yy ahh:mm", - "shortDate": "dd/MM/yy", - "shortTime": "ahh:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "¥", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "zh-hans-sg", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hans.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "上午", - "1": "下午" - }, - "DAY": { - "0": "星期日", - "1": "星期一", - "2": "星期二", - "3": "星期三", - "4": "星期四", - "5": "星期五", - "6": "星期六" - }, - "MONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "SHORTDAY": { - "0": "周日", - "1": "周一", - "2": "周二", - "3": "周三", - "4": "周四", - "5": "周五", - "6": "周六" - }, - "SHORTMONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "fullDate": "y年M月d日EEEE", - "longDate": "y年M月d日", - "medium": "yyyy-M-d ah:mm:ss", - "mediumDate": "yyyy-M-d", - "mediumTime": "ah:mm:ss", - "short": "yy-M-d ah:mm", - "shortDate": "yy-M-d", - "shortTime": "ah:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "¥", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "zh-hans", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-hk.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-hk.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-hk.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "上午", - "1": "下午" - }, - "DAY": { - "0": "星期日", - "1": "星期一", - "2": "星期二", - "3": "星期三", - "4": "星期四", - "5": "星期五", - "6": "星期六" - }, - "MONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "SHORTDAY": { - "0": "週日", - "1": "週一", - "2": "週二", - "3": "週三", - "4": "週四", - "5": "週五", - "6": "週六" - }, - "SHORTMONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "fullDate": "y年M月d日EEEE", - "longDate": "y年M月d日", - "medium": "y年M月d日 ahh:mm:ss", - "mediumDate": "y年M月d日", - "mediumTime": "ahh:mm:ss", - "short": "yy年M月d日 ah:mm", - "shortDate": "yy年M月d日", - "shortTime": "ah:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "¥", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "zh-hant-hk", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-mo.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-mo.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-mo.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "上午", - "1": "下午" - }, - "DAY": { - "0": "星期日", - "1": "星期一", - "2": "星期二", - "3": "星期三", - "4": "星期四", - "5": "星期五", - "6": "星期六" - }, - "MONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "SHORTDAY": { - "0": "週日", - "1": "週一", - "2": "週二", - "3": "週三", - "4": "週四", - "5": "週五", - "6": "週六" - }, - "SHORTMONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "fullDate": "y年MM月dd日EEEE", - "longDate": "y年MM月dd日", - "medium": "y年M月d日 ahh:mm:ss", - "mediumDate": "y年M月d日", - "mediumTime": "ahh:mm:ss", - "short": "yy年M月d日 ah:mm", - "shortDate": "yy年M月d日", - "shortTime": "ah:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "¥", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "zh-hant-mo", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-tw.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-tw.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant-tw.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "上午", - "1": "下午" - }, - "DAY": { - "0": "星期日", - "1": "星期一", - "2": "星期二", - "3": "星期三", - "4": "星期四", - "5": "星期五", - "6": "星期六" - }, - "MONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "SHORTDAY": { - "0": "週日", - "1": "週一", - "2": "週二", - "3": "週三", - "4": "週四", - "5": "週五", - "6": "週六" - }, - "SHORTMONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "fullDate": "y年M月d日EEEE", - "longDate": "y年M月d日", - "medium": "yyyy/M/d ah:mm:ss", - "mediumDate": "yyyy/M/d", - "mediumTime": "ah:mm:ss", - "short": "y/M/d ah:mm", - "shortDate": "y/M/d", - "shortTime": "ah:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "¥", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "zh-hant-tw", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file Deleted: sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant.js =================================================================== --- sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant.js 2013-08-27 08:38:39 UTC (rev 205) +++ sandbox/nuiton-js-angular/src/main/resources/nuiton-js-angular/i18n/angular-locale_zh-hant.js 2013-09-09 09:04:12 UTC (rev 206) @@ -1,99 +0,0 @@ -/* %%Ignore-License */ -angular.module("ngLocale", [], ["$provide", function($provide) { -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; -$provide.value("$locale", { - "DATETIME_FORMATS": { - "AMPMS": { - "0": "上午", - "1": "下午" - }, - "DAY": { - "0": "星期日", - "1": "星期一", - "2": "星期二", - "3": "星期三", - "4": "星期四", - "5": "星期五", - "6": "星期六" - }, - "MONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "SHORTDAY": { - "0": "週日", - "1": "週一", - "2": "週二", - "3": "週三", - "4": "週四", - "5": "週五", - "6": "週六" - }, - "SHORTMONTH": { - "0": "1月", - "1": "2月", - "2": "3月", - "3": "4月", - "4": "5月", - "5": "6月", - "6": "7月", - "7": "8月", - "8": "9月", - "9": "10月", - "10": "11月", - "11": "12月" - }, - "fullDate": "y年M月d日EEEE", - "longDate": "y年M月d日", - "medium": "yyyy/M/d ah:mm:ss", - "mediumDate": "yyyy/M/d", - "mediumTime": "ah:mm:ss", - "short": "y/M/d ah:mm", - "shortDate": "y/M/d", - "shortTime": "ah:mm" - }, - "NUMBER_FORMATS": { - "CURRENCY_SYM": "¥", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", - "PATTERNS": { - "0": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 3, - "minFrac": 0, - "minInt": 1, - "negPre": "-", - "negSuf": "", - "posPre": "", - "posSuf": "" - }, - "1": { - "gSize": 3, - "lgSize": 3, - "macFrac": 0, - "maxFrac": 2, - "minFrac": 2, - "minInt": 1, - "negPre": "(\u00A4", - "negSuf": ")", - "posPre": "\u00A4", - "posSuf": "" - } - } - }, - "id": "zh-hant", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} -}); -}]); \ No newline at end of file
participants (1)
-
echatellier@users.nuiton.org