RANGER-964: Fix NOTICE and LICENSE file contents Signed-off-by: Velmurugan Periasamy <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/2b7122d3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/2b7122d3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/2b7122d3 Branch: refs/heads/master Commit: 2b7122d3ca51623ebe2dc058c228631bd4c37a35 Parents: 9b791db Author: Gautam Borad <[email protected]> Authored: Fri Jun 17 16:25:00 2016 +0530 Committer: Velmurugan Periasamy <[email protected]> Committed: Mon Jun 20 13:46:46 2016 -0400 ---------------------------------------------------------------------- LICENSE.txt | 30 +- .../main/webapp/libs/bower/globalize/LICENSE | 21 - .../main/webapp/libs/bower/globalize/README.md | 865 - .../globalize/examples/browser/browser.css | 80 - .../bower/globalize/examples/browser/browser.js | 115 - .../bower/globalize/examples/browser/index.html | 265 - .../globalize/examples/browser/jquery-1.4.4.js | 7179 ----- .../globalize/examples/browser/jquery.tmpl.js | 131 - .../bower/globalize/generator/HijriCalendar.js | 70 - .../libs/bower/globalize/generator/Program.cs | 672 - .../generator/Properties/AssemblyInfo.cs | 36 - .../libs/bower/globalize/generator/StringExt.cs | 43 - .../globalize/generator/UmAlQuraCalendar.js | 190 - .../bower/globalize/generator/generator.csproj | 61 - .../main/webapp/libs/bower/globalize/grunt.js | 36 - .../webapp/libs/bower/globalize/js/globalize.js | 1586 -- .../lib/cultures/globalize.culture.af-ZA.js | 67 - .../lib/cultures/globalize.culture.af.js | 67 - .../lib/cultures/globalize.culture.am-ET.js | 74 - .../lib/cultures/globalize.culture.am.js | 74 - .../lib/cultures/globalize.culture.ar-AE.js | 457 - .../lib/cultures/globalize.culture.ar-BH.js | 462 - .../lib/cultures/globalize.culture.ar-DZ.js | 458 - .../lib/cultures/globalize.culture.ar-EG.js | 484 - .../lib/cultures/globalize.culture.ar-IQ.js | 457 - .../lib/cultures/globalize.culture.ar-JO.js | 462 - .../lib/cultures/globalize.culture.ar-KW.js | 462 - .../lib/cultures/globalize.culture.ar-LB.js | 457 - .../lib/cultures/globalize.culture.ar-LY.js | 462 - .../lib/cultures/globalize.culture.ar-MA.js | 458 - .../lib/cultures/globalize.culture.ar-OM.js | 458 - .../lib/cultures/globalize.culture.ar-QA.js | 457 - .../lib/cultures/globalize.culture.ar-SA.js | 457 - .../lib/cultures/globalize.culture.ar-SY.js | 457 - .../lib/cultures/globalize.culture.ar-TN.js | 463 - .../lib/cultures/globalize.culture.ar-YE.js | 457 - .../lib/cultures/globalize.culture.ar.js | 457 - .../lib/cultures/globalize.culture.arn-CL.js | 78 - .../lib/cultures/globalize.culture.arn.js | 78 - .../lib/cultures/globalize.culture.as-IN.js | 78 - .../lib/cultures/globalize.culture.as.js | 78 - .../cultures/globalize.culture.az-Cyrl-AZ.js | 81 - .../lib/cultures/globalize.culture.az-Cyrl.js | 81 - .../cultures/globalize.culture.az-Latn-AZ.js | 81 - .../lib/cultures/globalize.culture.az-Latn.js | 81 - .../lib/cultures/globalize.culture.az.js | 81 - .../lib/cultures/globalize.culture.ba-RU.js | 81 - .../lib/cultures/globalize.culture.ba.js | 81 - .../lib/cultures/globalize.culture.be-BY.js | 80 - .../lib/cultures/globalize.culture.be.js | 80 - .../lib/cultures/globalize.culture.bg-BG.js | 79 - .../lib/cultures/globalize.culture.bg.js | 79 - .../lib/cultures/globalize.culture.bn-BD.js | 74 - .../lib/cultures/globalize.culture.bn-IN.js | 74 - .../lib/cultures/globalize.culture.bn.js | 74 - .../lib/cultures/globalize.culture.bo-CN.js | 77 - .../lib/cultures/globalize.culture.bo.js | 77 - .../lib/cultures/globalize.culture.br-FR.js | 79 - .../lib/cultures/globalize.culture.br.js | 79 - .../cultures/globalize.culture.bs-Cyrl-BA.js | 78 - .../lib/cultures/globalize.culture.bs-Cyrl.js | 78 - .../cultures/globalize.culture.bs-Latn-BA.js | 76 - .../lib/cultures/globalize.culture.bs-Latn.js | 76 - .../lib/cultures/globalize.culture.bs.js | 76 - .../lib/cultures/globalize.culture.ca-ES.js | 79 - .../lib/cultures/globalize.culture.ca.js | 79 - .../lib/cultures/globalize.culture.co-FR.js | 79 - .../lib/cultures/globalize.culture.co.js | 79 - .../lib/cultures/globalize.culture.cs-CZ.js | 85 - .../lib/cultures/globalize.culture.cs.js | 85 - .../lib/cultures/globalize.culture.cy-GB.js | 70 - .../lib/cultures/globalize.culture.cy.js | 70 - .../lib/cultures/globalize.culture.da-DK.js | 78 - .../lib/cultures/globalize.culture.da.js | 78 - .../lib/cultures/globalize.culture.de-AT.js | 81 - .../lib/cultures/globalize.culture.de-CH.js | 78 - .../lib/cultures/globalize.culture.de-DE.js | 81 - .../lib/cultures/globalize.culture.de-LI.js | 78 - .../lib/cultures/globalize.culture.de-LU.js | 81 - .../lib/cultures/globalize.culture.de.js | 81 - .../lib/cultures/globalize.culture.dsb-DE.js | 84 - .../lib/cultures/globalize.culture.dsb.js | 84 - .../lib/cultures/globalize.culture.dv-MV.js | 164 - .../lib/cultures/globalize.culture.dv.js | 164 - .../lib/cultures/globalize.culture.el-GR.js | 82 - .../lib/cultures/globalize.culture.el.js | 82 - .../lib/cultures/globalize.culture.en-029.js | 47 - .../lib/cultures/globalize.culture.en-AU.js | 52 - .../lib/cultures/globalize.culture.en-BZ.js | 54 - .../lib/cultures/globalize.culture.en-CA.js | 49 - .../lib/cultures/globalize.culture.en-GB.js | 55 - .../lib/cultures/globalize.culture.en-IE.js | 57 - .../lib/cultures/globalize.culture.en-IN.js | 60 - .../lib/cultures/globalize.culture.en-JM.js | 51 - .../lib/cultures/globalize.culture.en-MY.js | 56 - .../lib/cultures/globalize.culture.en-NZ.js | 54 - .../lib/cultures/globalize.culture.en-PH.js | 39 - .../lib/cultures/globalize.culture.en-SG.js | 53 - .../lib/cultures/globalize.culture.en-TT.js | 54 - .../lib/cultures/globalize.culture.en-US.js | 33 - .../lib/cultures/globalize.culture.en-ZA.js | 61 - .../lib/cultures/globalize.culture.en-ZW.js | 39 - .../lib/cultures/globalize.culture.es-AR.js | 77 - .../lib/cultures/globalize.culture.es-BO.js | 78 - .../lib/cultures/globalize.culture.es-CL.js | 78 - .../lib/cultures/globalize.culture.es-CO.js | 77 - .../lib/cultures/globalize.culture.es-CR.js | 77 - .../lib/cultures/globalize.culture.es-DO.js | 69 - .../lib/cultures/globalize.culture.es-EC.js | 77 - .../lib/cultures/globalize.culture.es-ES.js | 79 - .../lib/cultures/globalize.culture.es-GT.js | 69 - .../lib/cultures/globalize.culture.es-HN.js | 71 - .../lib/cultures/globalize.culture.es-MX.js | 69 - .../lib/cultures/globalize.culture.es-NI.js | 71 - .../lib/cultures/globalize.culture.es-PA.js | 70 - .../lib/cultures/globalize.culture.es-PE.js | 70 - .../lib/cultures/globalize.culture.es-PR.js | 70 - .../lib/cultures/globalize.culture.es-PY.js | 79 - .../lib/cultures/globalize.culture.es-SV.js | 69 - .../lib/cultures/globalize.culture.es-US.js | 62 - .../lib/cultures/globalize.culture.es-UY.js | 79 - .../lib/cultures/globalize.culture.es-VE.js | 78 - .../lib/cultures/globalize.culture.es.js | 79 - .../lib/cultures/globalize.culture.et-EE.js | 79 - .../lib/cultures/globalize.culture.et.js | 79 - .../lib/cultures/globalize.culture.eu-ES.js | 78 - .../lib/cultures/globalize.culture.eu.js | 78 - .../lib/cultures/globalize.culture.fa-IR.js | 213 - .../lib/cultures/globalize.culture.fa.js | 213 - .../lib/cultures/globalize.culture.fi-FI.js | 78 - .../lib/cultures/globalize.culture.fi.js | 78 - .../lib/cultures/globalize.culture.fil-PH.js | 54 - .../lib/cultures/globalize.culture.fil.js | 54 - .../lib/cultures/globalize.culture.fo-FO.js | 79 - .../lib/cultures/globalize.culture.fo.js | 79 - .../lib/cultures/globalize.culture.fr-BE.js | 79 - .../lib/cultures/globalize.culture.fr-CA.js | 77 - .../lib/cultures/globalize.culture.fr-CH.js | 77 - .../lib/cultures/globalize.culture.fr-FR.js | 79 - .../lib/cultures/globalize.culture.fr-LU.js | 79 - .../lib/cultures/globalize.culture.fr-MC.js | 79 - .../lib/cultures/globalize.culture.fr.js | 79 - .../lib/cultures/globalize.culture.fy-NL.js | 76 - .../lib/cultures/globalize.culture.fy.js | 76 - .../lib/cultures/globalize.culture.ga-IE.js | 67 - .../lib/cultures/globalize.culture.ga.js | 67 - .../lib/cultures/globalize.culture.gd-GB.js | 69 - .../lib/cultures/globalize.culture.gd.js | 69 - .../lib/cultures/globalize.culture.gl-ES.js | 79 - .../lib/cultures/globalize.culture.gl.js | 79 - .../lib/cultures/globalize.culture.gsw-FR.js | 79 - .../lib/cultures/globalize.culture.gsw.js | 79 - .../lib/cultures/globalize.culture.gu-IN.js | 72 - .../lib/cultures/globalize.culture.gu.js | 72 - .../cultures/globalize.culture.ha-Latn-NG.js | 60 - .../lib/cultures/globalize.culture.ha-Latn.js | 60 - .../lib/cultures/globalize.culture.ha.js | 60 - .../lib/cultures/globalize.culture.he-IL.js | 97 - .../lib/cultures/globalize.culture.he.js | 97 - .../lib/cultures/globalize.culture.hi-IN.js | 72 - .../lib/cultures/globalize.culture.hi.js | 72 - .../lib/cultures/globalize.culture.hr-BA.js | 80 - .../lib/cultures/globalize.culture.hr-HR.js | 81 - .../lib/cultures/globalize.culture.hr.js | 81 - .../lib/cultures/globalize.culture.hsb-DE.js | 84 - .../lib/cultures/globalize.culture.hsb.js | 84 - .../lib/cultures/globalize.culture.hu-HU.js | 80 - .../lib/cultures/globalize.culture.hu.js | 80 - .../lib/cultures/globalize.culture.hy-AM.js | 67 - .../lib/cultures/globalize.culture.hy.js | 67 - .../lib/cultures/globalize.culture.id-ID.js | 75 - .../lib/cultures/globalize.culture.id.js | 75 - .../lib/cultures/globalize.culture.ig-NG.js | 60 - .../lib/cultures/globalize.culture.ig.js | 60 - .../lib/cultures/globalize.culture.ii-CN.js | 76 - .../lib/cultures/globalize.culture.ii.js | 76 - .../lib/cultures/globalize.culture.is-IS.js | 80 - .../lib/cultures/globalize.culture.is.js | 80 - .../lib/cultures/globalize.culture.it-CH.js | 78 - .../lib/cultures/globalize.culture.it-IT.js | 80 - .../lib/cultures/globalize.culture.it.js | 80 - .../cultures/globalize.culture.iu-Cans-CA.js | 65 - .../lib/cultures/globalize.culture.iu-Cans.js | 65 - .../cultures/globalize.culture.iu-Latn-CA.js | 60 - .../lib/cultures/globalize.culture.iu-Latn.js | 60 - .../lib/cultures/globalize.culture.iu.js | 60 - .../lib/cultures/globalize.culture.ja-JP.js | 100 - .../lib/cultures/globalize.culture.ja.js | 100 - .../lib/cultures/globalize.culture.ka-GE.js | 76 - .../lib/cultures/globalize.culture.ka.js | 76 - .../lib/cultures/globalize.culture.kk-KZ.js | 77 - .../lib/cultures/globalize.culture.kk.js | 77 - .../lib/cultures/globalize.culture.kl-GL.js | 81 - .../lib/cultures/globalize.culture.kl.js | 81 - .../lib/cultures/globalize.culture.km-KH.js | 99 - .../lib/cultures/globalize.culture.km.js | 99 - .../lib/cultures/globalize.culture.kn-IN.js | 72 - .../lib/cultures/globalize.culture.kn.js | 72 - .../lib/cultures/globalize.culture.ko-KR.js | 96 - .../lib/cultures/globalize.culture.ko.js | 96 - .../lib/cultures/globalize.culture.kok-IN.js | 72 - .../lib/cultures/globalize.culture.kok.js | 72 - .../lib/cultures/globalize.culture.ky-KG.js | 77 - .../lib/cultures/globalize.culture.ky.js | 77 - .../lib/cultures/globalize.culture.lb-LU.js | 79 - .../lib/cultures/globalize.culture.lb.js | 79 - .../lib/cultures/globalize.culture.lo-LA.js | 72 - .../lib/cultures/globalize.culture.lo.js | 72 - .../lib/cultures/globalize.culture.lt-LT.js | 83 - .../lib/cultures/globalize.culture.lt.js | 83 - .../lib/cultures/globalize.culture.lv-LV.js | 83 - .../lib/cultures/globalize.culture.lv.js | 83 - .../lib/cultures/globalize.culture.mi-NZ.js | 67 - .../lib/cultures/globalize.culture.mi.js | 67 - .../lib/cultures/globalize.culture.mk-MK.js | 76 - .../lib/cultures/globalize.culture.mk.js | 76 - .../lib/cultures/globalize.culture.ml-IN.js | 72 - .../lib/cultures/globalize.culture.ml.js | 72 - .../lib/cultures/globalize.culture.mn-Cyrl.js | 80 - .../lib/cultures/globalize.culture.mn-MN.js | 80 - .../cultures/globalize.culture.mn-Mong-CN.js | 77 - .../lib/cultures/globalize.culture.mn-Mong.js | 77 - .../lib/cultures/globalize.culture.mn.js | 80 - .../lib/cultures/globalize.culture.moh-CA.js | 52 - .../lib/cultures/globalize.culture.moh.js | 52 - .../lib/cultures/globalize.culture.mr-IN.js | 72 - .../lib/cultures/globalize.culture.mr.js | 72 - .../lib/cultures/globalize.culture.ms-BN.js | 74 - .../lib/cultures/globalize.culture.ms-MY.js | 67 - .../lib/cultures/globalize.culture.ms.js | 67 - .../lib/cultures/globalize.culture.mt-MT.js | 68 - .../lib/cultures/globalize.culture.mt.js | 68 - .../lib/cultures/globalize.culture.nb-NO.js | 78 - .../lib/cultures/globalize.culture.nb.js | 78 - .../lib/cultures/globalize.culture.ne-NP.js | 68 - .../lib/cultures/globalize.culture.ne.js | 68 - .../lib/cultures/globalize.culture.nl-BE.js | 79 - .../lib/cultures/globalize.culture.nl-NL.js | 76 - .../lib/cultures/globalize.culture.nl.js | 76 - .../lib/cultures/globalize.culture.nn-NO.js | 78 - .../lib/cultures/globalize.culture.nn.js | 78 - .../lib/cultures/globalize.culture.no.js | 78 - .../lib/cultures/globalize.culture.nso-ZA.js | 67 - .../lib/cultures/globalize.culture.nso.js | 67 - .../lib/cultures/globalize.culture.oc-FR.js | 83 - .../lib/cultures/globalize.culture.oc.js | 83 - .../lib/cultures/globalize.culture.or-IN.js | 70 - .../lib/cultures/globalize.culture.or.js | 70 - .../lib/cultures/globalize.culture.pa-IN.js | 72 - .../lib/cultures/globalize.culture.pa.js | 72 - .../lib/cultures/globalize.culture.pl-PL.js | 84 - .../lib/cultures/globalize.culture.pl.js | 84 - .../lib/cultures/globalize.culture.prs-AF.js | 174 - .../lib/cultures/globalize.culture.prs.js | 174 - .../lib/cultures/globalize.culture.ps-AF.js | 176 - .../lib/cultures/globalize.culture.ps.js | 176 - .../lib/cultures/globalize.culture.pt-BR.js | 79 - .../lib/cultures/globalize.culture.pt-PT.js | 81 - .../lib/cultures/globalize.culture.pt.js | 79 - .../lib/cultures/globalize.culture.qut-GT.js | 69 - .../lib/cultures/globalize.culture.qut.js | 69 - .../lib/cultures/globalize.culture.quz-BO.js | 74 - .../lib/cultures/globalize.culture.quz-EC.js | 73 - .../lib/cultures/globalize.culture.quz-PE.js | 68 - .../lib/cultures/globalize.culture.quz.js | 74 - .../lib/cultures/globalize.culture.rm-CH.js | 77 - .../lib/cultures/globalize.culture.rm.js | 77 - .../lib/cultures/globalize.culture.ro-RO.js | 77 - .../lib/cultures/globalize.culture.ro.js | 77 - .../lib/cultures/globalize.culture.ru-RU.js | 82 - .../lib/cultures/globalize.culture.ru.js | 82 - .../lib/cultures/globalize.culture.rw-RW.js | 65 - .../lib/cultures/globalize.culture.rw.js | 65 - .../lib/cultures/globalize.culture.sa-IN.js | 71 - .../lib/cultures/globalize.culture.sa.js | 71 - .../lib/cultures/globalize.culture.sah-RU.js | 83 - .../lib/cultures/globalize.culture.sah.js | 83 - .../lib/cultures/globalize.culture.se-FI.js | 80 - .../lib/cultures/globalize.culture.se-NO.js | 81 - .../lib/cultures/globalize.culture.se-SE.js | 80 - .../lib/cultures/globalize.culture.se.js | 81 - .../lib/cultures/globalize.culture.si-LK.js | 72 - .../lib/cultures/globalize.culture.si.js | 72 - .../lib/cultures/globalize.culture.sk-SK.js | 85 - .../lib/cultures/globalize.culture.sk.js | 85 - .../lib/cultures/globalize.culture.sl-SI.js | 79 - .../lib/cultures/globalize.culture.sl.js | 79 - .../lib/cultures/globalize.culture.sma-NO.js | 81 - .../lib/cultures/globalize.culture.sma-SE.js | 80 - .../lib/cultures/globalize.culture.sma.js | 80 - .../lib/cultures/globalize.culture.smj-NO.js | 81 - .../lib/cultures/globalize.culture.smj-SE.js | 80 - .../lib/cultures/globalize.culture.smj.js | 80 - .../lib/cultures/globalize.culture.smn-FI.js | 76 - .../lib/cultures/globalize.culture.smn.js | 76 - .../lib/cultures/globalize.culture.sms-FI.js | 80 - .../lib/cultures/globalize.culture.sms.js | 80 - .../lib/cultures/globalize.culture.sq-AL.js | 77 - .../lib/cultures/globalize.culture.sq.js | 77 - .../cultures/globalize.culture.sr-Cyrl-BA.js | 78 - .../cultures/globalize.culture.sr-Cyrl-CS.js | 80 - .../cultures/globalize.culture.sr-Cyrl-ME.js | 80 - .../cultures/globalize.culture.sr-Cyrl-RS.js | 80 - .../lib/cultures/globalize.culture.sr-Cyrl.js | 80 - .../cultures/globalize.culture.sr-Latn-BA.js | 79 - .../cultures/globalize.culture.sr-Latn-CS.js | 80 - .../cultures/globalize.culture.sr-Latn-ME.js | 80 - .../cultures/globalize.culture.sr-Latn-RS.js | 80 - .../lib/cultures/globalize.culture.sr-Latn.js | 80 - .../lib/cultures/globalize.culture.sr.js | 80 - .../lib/cultures/globalize.culture.sv-FI.js | 78 - .../lib/cultures/globalize.culture.sv-SE.js | 78 - .../lib/cultures/globalize.culture.sv.js | 78 - .../lib/cultures/globalize.culture.sw-KE.js | 53 - .../lib/cultures/globalize.culture.sw.js | 53 - .../lib/cultures/globalize.culture.syr-SY.js | 67 - .../lib/cultures/globalize.culture.syr.js | 67 - .../lib/cultures/globalize.culture.ta-IN.js | 73 - .../lib/cultures/globalize.culture.ta.js | 73 - .../lib/cultures/globalize.culture.te-IN.js | 72 - .../lib/cultures/globalize.culture.te.js | 72 - .../cultures/globalize.culture.tg-Cyrl-TJ.js | 84 - .../lib/cultures/globalize.culture.tg-Cyrl.js | 84 - .../lib/cultures/globalize.culture.tg.js | 84 - .../lib/cultures/globalize.culture.th-TH.js | 90 - .../lib/cultures/globalize.culture.th.js | 90 - .../lib/cultures/globalize.culture.tk-TM.js | 78 - .../lib/cultures/globalize.culture.tk.js | 78 - .../lib/cultures/globalize.culture.tn-ZA.js | 67 - .../lib/cultures/globalize.culture.tn.js | 67 - .../lib/cultures/globalize.culture.tr-TR.js | 77 - .../lib/cultures/globalize.culture.tr.js | 77 - .../lib/cultures/globalize.culture.tt-RU.js | 81 - .../lib/cultures/globalize.culture.tt.js | 81 - .../cultures/globalize.culture.tzm-Latn-DZ.js | 77 - .../lib/cultures/globalize.culture.tzm-Latn.js | 77 - .../lib/cultures/globalize.culture.tzm.js | 77 - .../lib/cultures/globalize.culture.ug-CN.js | 75 - .../lib/cultures/globalize.culture.ug.js | 75 - .../lib/cultures/globalize.culture.uk-UA.js | 83 - .../lib/cultures/globalize.culture.uk.js | 83 - .../lib/cultures/globalize.culture.ur-PK.js | 157 - .../lib/cultures/globalize.culture.ur.js | 157 - .../cultures/globalize.culture.uz-Cyrl-UZ.js | 81 - .../lib/cultures/globalize.culture.uz-Cyrl.js | 81 - .../cultures/globalize.culture.uz-Latn-UZ.js | 77 - .../lib/cultures/globalize.culture.uz-Latn.js | 77 - .../lib/cultures/globalize.culture.uz.js | 77 - .../lib/cultures/globalize.culture.vi-VN.js | 73 - .../lib/cultures/globalize.culture.vi.js | 73 - .../lib/cultures/globalize.culture.wo-SN.js | 79 - .../lib/cultures/globalize.culture.wo.js | 79 - .../lib/cultures/globalize.culture.xh-ZA.js | 65 - .../lib/cultures/globalize.culture.xh.js | 65 - .../lib/cultures/globalize.culture.yo-NG.js | 60 - .../lib/cultures/globalize.culture.yo.js | 60 - .../lib/cultures/globalize.culture.zh-CHS.js | 73 - .../lib/cultures/globalize.culture.zh-CHT.js | 72 - .../lib/cultures/globalize.culture.zh-CN.js | 73 - .../lib/cultures/globalize.culture.zh-HK.js | 72 - .../lib/cultures/globalize.culture.zh-Hans.js | 73 - .../lib/cultures/globalize.culture.zh-Hant.js | 72 - .../lib/cultures/globalize.culture.zh-MO.js | 72 - .../lib/cultures/globalize.culture.zh-SG.js | 63 - .../lib/cultures/globalize.culture.zh-TW.js | 99 - .../lib/cultures/globalize.culture.zh.js | 73 - .../lib/cultures/globalize.culture.zu-ZA.js | 66 - .../lib/cultures/globalize.culture.zu.js | 66 - .../lib/cultures/globalize.cultures.js | 24063 ----------------- .../webapp/libs/bower/globalize/package.json | 56 - .../webapp/libs/bower/globalize/test/culture.js | 18 - .../libs/bower/globalize/test/cultures.js | 15 - .../bower/globalize/test/findClosestCulture.js | 62 - .../webapp/libs/bower/globalize/test/format.js | 74 - .../webapp/libs/bower/globalize/test/index.html | 26 - .../libs/bower/globalize/test/instance.js | 13 - .../webapp/libs/bower/globalize/test/parse.js | 57 - .../libs/bower/globalize/test/qunit/qunit.css | 226 - .../libs/bower/globalize/test/qunit/qunit.js | 1506 -- .../libs/bower/globalize/test/testsuite.js | 19 - .../webapp/libs/other/backgrid/backgrid.css | 15 + .../main/webapp/libs/other/backgrid/backgrid.js | 25 +- .../jquery-ui/js/jquery-ui-1.10.3.custom.js | 10 +- .../libs/other/visualsearch/css/reset.css | 9 +- .../PasswordComparisonAuthenticator.java | 1 - 385 files changed, 66 insertions(+), 71400 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/2b7122d3/LICENSE.txt ---------------------------------------------------------------------- diff --git a/LICENSE.txt b/LICENSE.txt index ec8da73..4f716dc 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -214,7 +214,7 @@ licenses. The Apache Ranger project bundles the following files under the MIT License: -This product includes jQuery (http://jquery.org - MIT license), Copyright © 2014, John Resig. +This product includes jQuery (http://jquery.org - MIT license), Copyright © 2014, John Resig. This product includes jQuery UI (http://jqueryui.com - MIT license), Copyright © 2013 jQuery Foundation. This product includes Backbone (http://backbonejs.org - MIT license), Copyright © 2010-2014 Jeremy Ashkenas, DocumentCloud. This product includes underscore (http:underscorejs.org - MIT license), Copyright © 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors. @@ -235,13 +235,18 @@ This product includes jQuery UI Tag-it! (http://aehlke.github.com/tag-it/ - MIT This product includes bootbox.js v3.3.0 (http://bootboxjs.com/ - MIT license), Copyright © 2011-2014 by Nick Payne. This product includes moment.js (http://moment.js - MIT license), Copyright © 2011-2014 Tim Wood, Iskren Chernev, Moment.js contributors. This product includes Globalize (http://github.com/jquery/globalize - MIT license), Copyright Software Freedom Conservancy, Inc. Globalize license applies to all files under globalize including globalize/generator. -This product includes RequireJS 2.1.8 (http://github.com/jrburke/requirejs - New BSD or MIT licensed), Copyright © 2010-2012, The Dojo Foundation All Rights Reserved. +This product includes RequireJS 2.1.8 (https://github.com/requirejs/requirejs - MIT licensed), Copyright jQuery Foundation and other contributors. This product includes Handlebars.js (http://handlebarsjs.com/ - MIT license), Copyright © 2011-2014 by Yehuda Katz. -This product includes Font Awesome 3.2.1 (http://fontawesome.io/ - MIT licence) by Dave Gandy +This product includes Font Awesome 3.2.1 (http://fontawesome.io/ - MIT license) by Dave Gandy This product includes Qunit(https://qunitjs.com/ - MIT license) Copyright (c) 2011 John Resig, Jörn Zaefferer This product includes jQuery Migrate-v1.1.1 (https://plugins.jquery.com/migrate/ - MIT license) Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors This product includes bootstrap v2.3.2 (http://getbootstrap.com/ - MIT License) Copyright 2013 Twitter, Inc. This product includes Block UI v1.1.1 (https://github.com/dreamerslab/jquery.msg/ - MIT License) Copyright 2011, Ben Lin. +This product includes Sizzle (http://sizzlejs.com/ - MIT license), Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors +This product includes ES5 15.5.4.20 (https://github.com/kriskowal/es5-shim - MIT license), Copyright 2009, 2010 Kristopher Michael Kowal. +This product includes PURE CSS GUI ICONS 1.0.1(http://nicolasgallagher.com/pure-css-gui-icons/ - Dual licensed under MIT and GNU GPLv2), by Nicolas Gallagher + + All rights reserved. @@ -318,10 +323,27 @@ This product includes Bootstrap Datepicker (http://www.eyecon.ro/bootstrap-datep This product includes bootstrap-transition.js v2.3.2 (http://twbs.github.com/bootstrap/javascript.html#transitions - Apache License - 2.0), Copyright 2013 Twitter, Inc. This product includes Select2 3.4.3 (http://ivaynberg.github.io/select2/ - Apache License - 2.0), Copyright 2012 Igor Vaynberg. This product includes bootstrap-notify v1.0 (http://goodybag.github.io/bootstrap-notify/ - Apache License - 2.0), Copyright 2012 Goodybag, Inc. -This product includes Open Sans font (http://www.opensans.com/ - Apache License - 2.0), © 2016 OpenSans.com +This product includes Open Sans font (http://www.opensans.com/ - Apache License - 2.0), © 2016 OpenSans.com +This product includes Jisql (https://bitbucket.org/stdunbar/jisql - Apache License - 2.0), © 2004-2011 Scott Dunbar +This product includes PasswordComparisonAuthenticator.java in Spring Security (https://github.com/spring-projects/spring-security - Apache License - 2.0), Copyright 2004, 2005, 2006 Acegi Technology Pty Limited ----------------------------------------------------------------------- BSD license ----------------------------------------------------------------------- This product includes jsDump v1.0.0(http://flesler.blogspot.com -BSD licence) Copyright (c) 2008 Ariel Flesler. +This product includes Easing Functions in jQuery UI v1.10.3 (http://www.robertpenner.com/easing - BSD License), Copyright © 2001 by Robert Penner. + +----------------------------------------------------------------------- + SIL Open Font License (OFL) +----------------------------------------------------------------------- +This product includes Font Awesome 3.2.1 (http://fontawesome.io/ - SIL Open Font License (OFL) licensee) by Dave Gandy + +----------------------------------------------------------------------- + Public Domain License +----------------------------------------------------------------------- +This product includes reset.css in VisualSearch.js 0.4.0 (http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ - Public Domain licensee) by Eric Meyer's +This product includes json2.js (https://github.com/douglascrockford/JSON-js - Public Domain license) by Douglas Crockford + +------------------------------------------------------------------------------------------------------------------------------------------ + http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/2b7122d3/security-admin/src/main/webapp/libs/bower/globalize/LICENSE ---------------------------------------------------------------------- diff --git a/security-admin/src/main/webapp/libs/bower/globalize/LICENSE b/security-admin/src/main/webapp/libs/bower/globalize/LICENSE deleted file mode 100644 index 9c8b022..0000000 --- a/security-admin/src/main/webapp/libs/bower/globalize/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -Copyright Software Freedom Conservancy, Inc. -http://jquery.org/license - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/2b7122d3/security-admin/src/main/webapp/libs/bower/globalize/README.md ---------------------------------------------------------------------- diff --git a/security-admin/src/main/webapp/libs/bower/globalize/README.md b/security-admin/src/main/webapp/libs/bower/globalize/README.md deleted file mode 100644 index cfbbe61..0000000 --- a/security-admin/src/main/webapp/libs/bower/globalize/README.md +++ /dev/null @@ -1,865 +0,0 @@ -# Globalize - -A JavaScript library for globalization and localization. Enables complex -culture-aware number and date parsing and formatting, including the raw -culture information for hundreds of different languages and countries, as well -as an extensible system for localization. - -<hr> -<ul> -<li><a href="#why">Why Globalization</a></li> -<li><a href="#what">What is a Culture?</a></li> -<li><a href="#addCultureInfo">Globalize.addCultureInfo</a></li> -<li><a href="#cultures">Globalize.cultures</a></li> -<li><a href="#culture">Globalize.culture</a></li> -<li><a href="#find">Globalize.findClosestCulture</a></li> -<li><a href="#format">Globalize.format</a></li> -<li><a href="#localize">Globalize.localize</a></li> -<li><a href="#parseInt">Globalize.parseInt</a></li> -<li><a href="#parseFloat">Globalize.parseFloat</a></li> -<li><a href="#parseDate">Globalize.parseDate</a></li> -<li><a href="#extend">Utilizing and Extending Cultures</a></li> -<li><a href="#defining">Defining Culture Information</a></li> -<li><a href="#numbers">Number Formatting</a></li> -<li><a href="#currency">Currency Formatting</a></li> -<li><a href="#dates">Date Formatting</a></li> -<li><a href="#generating">Generating Culture Files</a></li> -<li><a href="#building">Building Globalize</a></li> -</ul> - -<a name="why"></a> -<h2 id="why">Why Globalization?</h2> -<p> -Each language, and the countries that speak that language, have different -expectations when it comes to how numbers (including currency and percentages) -and dates should appear. Obviously, each language has different names for the -days of the week and the months of the year. But they also have different -expectations for the structure of dates, such as what order the day, month and -year are in. In number formatting, not only does the character used to -delineate number groupings and the decimal portion differ, but the placement of -those characters differ as well. -</p> -<p> -A user using an application should be able to read and write dates and numbers -in the format they are accustomed to. This library makes this possible, -providing an API to convert user-entered number and date strings - in their -own format - into actual numbers and dates, and conversely, to format numbers -and dates into that string format. -</p> - -<a name="what"></a> -<h2 id="what">What is a Culture?</h2> -<p> -Globalize defines roughly 350 cultures. Part of the reason for this large -number, besides there being a lot of cultures in the world, is because for -some languages, expectations differ among the countries that speak it. -English, for example, is an official language in dozens of countries. Despite -the language being English, the expected date formatting still greatly differs -between them. -</p> -<p> -So, it does not seem useful to define cultures by their language alone. Nor -is it useful to define a culture by its country alone, as many countries have -several official languages, spoken by sizable populations. Therefore, cultures -are defined as a combination of the language and the country speaking it. Each -culture is given a unique code that is a combination of an ISO 639 two-letter -lowercase culture code for the language, and a two-letter uppercase code for -the country or region. For example, "en-US" is the culture code for English in -the United States. -</p> -<p> -Yet, it is perhaps unreasonable to expect application developers to cater to -every possible language/country combination perfectly. It is important then to -define so-called "neutral" cultures based on each language. These cultures -define the most likely accepted set of rules by anyone speaking that language, -whatever the country. Neutral cultures are defined only by their language code. -For example, "es" is the neutral culture for Spanish. -</p> - -<a name="addCultureInfo"></a> -<h2 id="addCultureInfo">Globalize.addCultureInfo( cultureName, extendCultureName, info )</h2> -<p> -This method allows you to create a new culture based on an existing culture or -add to existing culture info. If the optional argument <pre>extendCultureName</pre> -is not supplied, it will extend the existing culture if it exists or create a new -culture based on the default culture if it doesn't exist. If cultureName is not -supplied, it will add the supplied info to the current culture. See .culture(). -</p> - - -<a name="cultures"></a> -<h2 id="cultures">Globalize.cultures</h2> -<p> -A mapping of culture codes to culture objects. For example, -Globalize.cultures.fr is an object representing the complete culture -definition for the neutral French culture. Note that the main globalize.js file -alone only includes a neutral English culture. To get additional cultures, you -must include one or more of the culture scripts that come with it. You -can see in the section <a href="#defining">Defining Culture Information</a> -below which fields are defined in each culture. -</p> - -<a name="culture"></a> -<h2 id="culture">Globalize.culture( selector )</h2> -<p> -An application that supports globalization and/or localization will need to -have a way to determine the user's preference. Attempting to automatically -determine the appropriate culture is useful, but it is good practice to always -offer the user a choice, by whatever means. -</p> -<p> -Whatever your mechanism, it is likely that you will have to correlate the -user's preferences with the list of cultures supported in the app. This -method allows you to select the best match given the culture scripts that you -have included and to set the Globalize culture to the culture which the user -prefers. -</p> -<p> -If you pass an array of names instead of a single name string, the first -culture for which there is a match (that culture's script has been referenced) -will be used. If none match, the search restarts using the corresponding -neutral cultures. For example, if the application has included only the neutral -"fr" culture, any of these would select it: -<pre> -Globalize.culture( "fr" ); -console.log( Globalize.culture().name ) // "fr" - -Globalize.culture( "fr-FR" ); -console.log( Globalize.culture().name ) // "fr-FR" - -Globalize.culture([ "es-MX", "fr-FR" ]); -console.log( Globalize.culture().name ) // "es-MX" -</pre> - -In any case, if no match is found, the neutral English culture "en" is selected -by default. - -If you don't pass a selector, .culture() will return the current Globalize -culture. -</p> -<p> -Each culture string may also follow the pattern defined in -<a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4" ->RFC2616 sec 14.4</a>. That is, a culture name may include a "quality" value -that indicates an estimate of the user's preference for the language. - -<pre> -Globalize.culture( "fr;q=0.4, es;q=0.5, he" ); -</pre> -In this example, the neutral Hebrew culture "he" is given top priority (an -unspecified quality is equal to 1). If that language is not an exact match for -any of the cultures available in Globalize.cultures, then "es" is the next -highest priority with 0.5, etc. If none of these match, just like with the array -syntax, the search starts over and the same rules are applied to the -corresponding neutral language culture for each. If still none match, the -neutral English culture "en" is used. -</p> - -<a name="find"></a> -<h2 id="find">Globalize.findClosestCulture( selector )</h2> -<p> -Just like .culture( selector ), but it just returns the matching culture, if -any, without setting it to the current Globalize culture, returned by -.culture(). -</p> - -<a name="format"></a> -<h2 id="format">Globalize.format( value, format, culture )</h2> -<p> -Formats a date or number according to the given format string and the given -culture (or the current culture if not specified). See the sections -<a href="#numbers">Number Formatting</a> and -<a href="#dates">Date Formatting</a> below for details on the available -formats. -<pre> -// assuming a culture with number grouping of 3 digits, -// using "," separator and "." decimal symbol. -Globalize.format( 1234.567, "n" ); // "1,234.57" -Globalize.format( 1234.567, "n1" ); // "1,234.6" -Globalize.format( 1234.567, "n0" ); // "1,235" - -// assuming a culture with "/" as the date separator symbol -Globalize.format( new Date(1955,10,5), "yyyy/MM/dd" ); // "1955/11/05" -Globalize.format( new Date(1955,10,5), "dddd MMMM d, yyyy" ); // "Saturday November 5, 1955" -</pre> -</p> - -<a name="localize"></a> -<h2 id="localize">Globalize.localize( key, culture )</h2> -<p> -Gets or sets a localized value. This method allows you to extend the -information available to a particular culture, and to easily retrieve it -without worrying about finding the most appropriate culture. For example, to -define the word "translate" in French: -<pre> -Globalize.addCultureInfo( "fr", { - messages: { - "translate": "traduire" - } -}); -console.log( Globalize.localize( "translate", "fr" ) ); // "traduire" -</pre> -Note that localize() will find the closest match available per the same -semantics as the Globalize.findClosestCulture() method. If there is no -match, the translation given is for the neutral English culture "en" by -default. -</p> - - -<a name="parseInt"></a> -<h2 id="parseInt">Globalize.parseInt( value, radix, culture )</h2> -<p> -Parses a string representing a whole number in the given radix (10 by default), -taking into account any formatting rules followed by the given culture (or the -current culture, if not specified). - -If a percentage is passed into parseInt, the percent sign will be removed and the number parsed as is. -Example: 12.34% would be returned as 12. -<pre> -// assuming a culture where "," is the group separator -// and "." is the decimal separator -Globalize.parseInt( "1,234.56" ); // 1234 -// assuming a culture where "." is the group separator -// and "," is the decimal separator -Globalize.parseInt( "1.234,56" ); // 1234 -</pre> -</p> - -<a name="parseFloat"></a> -<h2 id="parseFloat">Globalize.parseFloat( value, radix, culture )</h2> -<p> -Parses a string representing a floating point number in the given radix (10 by -default), taking into account any formatting rules followed by the given -culture (or the current culture, if not specified). - -If a percentage is passed into parseFloat, the percent sign will be removed and the number parsed as is. -Example: 12.34% would be returned as 12.34 -<pre> -// assuming a culture where "," is the group separator -// and "." is the decimal separator -Globalize.parseFloat( "1,234.56" ); // 1234.56 -// assuming a culture where "." is the group separator -// and "," is the decimal separator -Globalize.parseFloat( "1.234,56" ); // 1234.56 -</pre> -</p> - -<a name="parseDate"></a> -<h2 id="parseDate">Globalize.parseDate( value, formats, culture )</h2> -<p> -Parses a string representing a date into a JavaScript Date object, taking into -account the given possible formats (or the given culture's set of default -formats if not given). As before, the current culture is used if one is not -specified. -<pre> -Globalize.culture( "en" ); -Globalize.parseDate( "1/2/2003" ); // Thu Jan 02 2003 -Globalize.culture( "fr" ); -Globalize.parseDate( "1/2/2003" ); // Sat Feb 01 2003 -</pre> -</p> - -<a name="extend"></a> -<h2 id="extend">Utilizing and Extending Cultures</h2> -<p> -The culture information included with each culture is mostly necessary for the -parsing and formatting methods, but not all of it. For example, the Native and -English names for each culture is given, as well as a boolean indicating -whether the language is right-to-left. This may be useful information for your -own purposes. You may also add to the culture information directly if so -desired. -</p> -<p> -As an example, in the U.S., the word "billion" means the number 1,000,000,000 -(9 zeros). But in other countries, that number is "1000 million" or a -"milliard", and a billion is 1,000,000,000,000 (12 zeros). If you needed to -provide functionality to your app or custom plugin that needed to know how many -zeros are in a "billion", you could extend the culture information as follows: -<pre> -// define additional culture information for a possibly existing culture -Globalize.addCultureInfo( "fr", { - numberFormat: { - billionZeroes: 12 - } -}); -</pre> -Using this mechanism, the "fr" culture will be created if it does not exist. -And if it does, the given values will be added to it. -</p> - -<a name="defining"></a> -<h2 id="defining">Defining Culture Information</h2> -<p> -Each culture is defined in its own script with the naming scheme -globalize.culture.<name>.js. You may include any number of these scripts, -making them available in the Globalize.cultures mapping. Including one of -these scripts does NOT automatically make it the current culture selected in the -Globalize.culture property. -</p> -<p> -The neutral English culture is defined directly in globalize.js, and set -both to the properties "en" and "default" of the Globalize.cultures mapping. -Extensive comments describe the purpose of each of the fields defined. -</p> -<p> -Looking at the source code of the scripts for each culture, you will notice -that each script uses Globalize.addCultureInfo() to have the "default" neutral -English culture "en", as a common basis, and defines only the properties that -differ from neutral English. -</p> -<p> -The neutral English culture is listed here along with the comments: -<pre> -Globalize.cultures[ "default" ] = { - // A unique name for the culture in the form - // <language code>-<country/region code> - name: "English", - // the name of the culture in the English language - englishName: "English", - // the name of the culture in its own language - nativeName: "English", - // whether the culture uses right-to-left text - isRTL: false, - // "language" is used for so-called "specific" cultures. - // For example, the culture "es-CL" means Spanish in Chili. - // It represents the Spanish-speaking culture as it is in Chili, - // which might have different formatting rules or even translations - // than Spanish in Spain. A "neutral" culture is one that is not - // specific to a region. For example, the culture "es" is the generic - // Spanish culture, which may be a more generalized version of the language - // that may or may not be what a specific culture expects. - // For a specific culture like "es-CL", the "language" field refers to the - // neutral, generic culture information for the language it is using. - // This is not always a simple matter of the string before the dash. - // For example, the "zh-Hans" culture is neutral (Simplified Chinese). - // And the "zh-SG" culture is Simplified Chinese in Singapore, whose - // language field is "zh-CHS", not "zh". - // This field should be used to navigate from a specific culture to its - // more general, neutral culture. If a culture is already as general as it - // can get, the language may refer to itself. - language: "en", - // "numberFormat" defines general number formatting rules, like the digits - // in each grouping, the group separator, and how negative numbers are - // displayed. - numberFormat: { - // [negativePattern] - // Note, numberFormat.pattern has no "positivePattern" unlike percent - // and currency, but is still defined as an array for consistency with - // them. - // negativePattern: one of "(n)|-n|- n|n-|n -" - pattern: [ "-n" ], - // number of decimal places normally shown - decimals: 2, - // string that separates number groups, as in 1,000,000 - ",": ",", - // string that separates a number from the fractional portion, - // as in 1.99 - ".": ".", - // array of numbers indicating the size of each number group. - groupSizes: [ 3 ], - // symbol used for positive numbers - "+": "+", - // symbol used for negative numbers - "-": "-", - percent: { - // [negativePattern, positivePattern] - // negativePattern: one of "-n %|-n%|-%n|%-n|%n-|n-%|n%-|-% n|n %-|% n-|% -n|n- %" - // positivePattern: one of "n %|n%|%n|% n" - pattern: [ "-n %", "n %" ], - // number of decimal places normally shown - decimals: 2, - // array of numbers indicating the size of each number group. - groupSizes: [ 3 ], - // string that separates number groups, as in 1,000,000 - ",": ",", - // string that separates a number from the fractional portion, as in 1.99 - ".": ".", - // symbol used to represent a percentage - symbol: "%" - }, - currency: { - // [negativePattern, positivePattern] - // negativePattern: one of "($n)|-$n|$-n|$n-|(n$)|-n$|n-$|n$-|-n $|-$ n|n $-|$ n-|$ -n|n- $|($ n)|(n $)" - // positivePattern: one of "$n|n$|$ n|n $" - pattern: [ "($n)", "$n" ], - // number of decimal places normally shown - decimals: 2, - // array of numbers indicating the size of each number group. - groupSizes: [ 3 ], - // string that separates number groups, as in 1,000,000 - ",": ",", - // string that separates a number from the fractional portion, as in 1.99 - ".": ".", - // symbol used to represent currency - symbol: "$" - } - }, - // "calendars" property defines all the possible calendars used by this - // culture. There should be at least one defined with name "standard" which - // is the default calendar used by the culture. - // A calendar contains information about how dates are formatted, - // information about the calendar's eras, a standard set of the date - // formats, translations for day and month names, and if the calendar is - // not based on the Gregorian calendar, conversion functions to and from - // the Gregorian calendar. - calendars: { - standard: { - // name that identifies the type of calendar this is - name: "Gregorian_USEnglish", - // separator of parts of a date (e.g. "/" in 11/05/1955) - "/": "/", - // separator of parts of a time (e.g. ":" in 05:44 PM) - ":": ":", - // the first day of the week (0 = Sunday, 1 = Monday, etc) - firstDay: 0, - days: { - // full day names - names: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], - // abbreviated day names - namesAbbr: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], - // shortest day names - namesShort: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ] - }, - months: [ - // full month names (13 months for lunar calendars -- 13th month should be "" if not lunar) - names: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "" ], - // abbreviated month names - namesAbbr: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "" ] - ], - // AM and PM designators in one of these forms: - // The usual view, and the upper and lower case versions - // [standard,lowercase,uppercase] - // The culture does not use AM or PM (likely all standard date - // formats use 24 hour time) - // null - AM: [ "AM", "am", "AM" ], - PM: [ "PM", "pm", "PM" ], - eras: [ - // eras in reverse chronological order. - // name: the name of the era in this culture (e.g. A.D., C.E.) - // start: when the era starts in ticks, null if it is the - // earliest supported era. - // offset: offset in years from gregorian calendar - {"name":"A.D.","start":null,"offset":0} - ], - // when a two digit year is given, it will never be parsed as a - // four digit year greater than this year (in the appropriate era - // for the culture) - // Set it as a full year (e.g. 2029) or use an offset format - // starting from the current year: "+19" would correspond to 2029 - // if the current year is 2010. - twoDigitYearMax: 2029, - // set of predefined date and time patterns used by the culture. - // These represent the format someone in this culture would expect - // to see given the portions of the date that are shown. - patterns: { - // short date pattern - d: "M/d/yyyy", - // long date pattern - D: "dddd, MMMM dd, yyyy", - // short time pattern - t: "h:mm tt", - // long time pattern - T: "h:mm:ss tt", - // long date, short time pattern - f: "dddd, MMMM dd, yyyy h:mm tt", - // long date, long time pattern - F: "dddd, MMMM dd, yyyy h:mm:ss tt", - // month/day pattern - M: "MMMM dd", - // month/year pattern - Y: "yyyy MMMM", - // S is a sortable format that does not vary by culture - S: "yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss" - } - // optional fields for each calendar: - /* - monthsGenitive: - Same as months but used when the day preceeds the month. - Omit if the culture has no genitive distinction in month names. - For an explanation of genitive months, see - http://blogs.msdn.com/michkap/archive/2004/12/25/332259.aspx - convert: - Allows for the support of non-gregorian based calendars. This - "convert" object defines two functions to convert a date to and - from a gregorian calendar date: - fromGregorian( date ) - Given the date as a parameter, return an array with - parts [ year, month, day ] corresponding to the - non-gregorian based year, month, and day for the - calendar. - toGregorian( year, month, day ) - Given the non-gregorian year, month, and day, return a - new Date() object set to the corresponding date in the - gregorian calendar. - */ - } - }, - // Map of messages used by .localize() - messages: {} -} -</pre> -</p> -<p> -Each culture can have several possible calendars. The calendar named "standard" -is the default calendar used by that culture. You may change the calendar in -use by setting the "calendar" field. Take a look at the calendars defined by -each culture by looking at the script or enumerating its calendars collection. -<pre> -// switch to a non-standard calendar -Globalize.culture().calendar = Globalize.culture().calendars.SomeOtherCalendar; -// back to the standard calendar -Globalize.culture().calendar = Globalize.culture().calendars.standard; -</pre> - -</p> - -<a name="numbers"></a> -<h2 id="numbers">Number Formatting</h2> -<p> -When formatting a number with format(), the main purpose is to convert the -number into a human readable string using the culture's standard grouping and -decimal rules. The rules between cultures can vary a lot. For example, in some -cultures, the grouping of numbers is done unevenly. In the "te-IN" culture -(Telugu in India), groups have 3 digits and then 2 digits. The number 1000000 -(one million) is written as "10,00,000". Some cultures do not group numbers at -all. -</p> -<p> -There are four main types of number formatting: -<ul> -<li><strong>n</strong> for number</li> -<li><strong>d</strong> for decimal digits</li> -<li><strong>p</strong> for percentage</li> -<li><strong>c</strong> for currency</li> -</ul> -Even within the same culture, the formatting rules can vary between these four -types of numbers. For example, the expected number of decimal places may differ -from the number format to the currency format. Each format token may also be -followed by a number. The number determines how many decimal places to display -for all the format types except decimal, for which it means the minimum number -of digits to display, zero padding it if necessary. Also note that the way -negative numbers are represented in each culture can vary, such as what the -negative sign is, and whether the negative sign appears before or after the -number. This is especially apparent with currency formatting, where many -cultures use parentheses instead of a negative sign. -<pre> -// just for example - will vary by culture -Globalize.format( 123.45, "n" ); // 123.45 -Globalize.format( 123.45, "n0" ); // 123 -Globalize.format( 123.45, "n1" ); // 123.5 - -Globalize.format( 123.45, "d" ); // 123 -Globalize.format( 12, "d3" ); // 012 - -Globalize.format( 123.45, "c" ); // $123.45 -Globalize.format( 123.45, "c0" ); // $123 -Globalize.format( 123.45, "c1" ); // $123.5 -Globalize.format( -123.45, "c" ); // ($123.45) - -Globalize.format( 0.12345, "p" ); // 12.35 % -Globalize.format( 0.12345, "p0" ); // 12 % -Globalize.format( 0.12345, "p4" ); // 12.3450 % -</pre> -Parsing with parseInt and parseFloat also accepts any of these formats. -</p> - -<a name="currency"></a> -<h2 id="currency">Currency Formatting</h2> -<p> -Globalize has a default currency symbol for each locale. This is used when -formatting a currency value such as -<pre> -Globalize.format( 1234.56, "c" ); // $1,234.56 -</pre> -You can change the currency symbol for a locale by modifying the culture's -<code>numberFormat.currency.symbol</code> property: -<pre> -Globalize.culture( "en-US" ).numberFormat.currency.symbol = '\u20ac'; // euro sign U+20AC -</pre> -If you need to switch between currency symbols, you could write a function -to do that, such as -<pre> -function setCurrency( currSym ) { - Globalize.culture().numberFormat.currency.symbol = currSym; -} -</pre> - -<a name="dates"></a> -<h2 id="dates">Date Formatting</h2> -<p> -Date formatting varies wildly by culture, not just in the spelling of month and -day names, and the date separator, but by the expected order of the various -date components, whether to use a 12 or 24 hour clock, and how months and days -are abbreviated. Many cultures even include "genitive" month names, which are -different from the typical names and are used only in certain cases. -</p> -<p> -Also, each culture has a set of "standard" or "typical" formats. For example, -in "en-US", when displaying a date in its fullest form, it looks like -"Saturday, November 05, 1955". Note the non-abbreviated day and month name, the -zero padded date, and four digit year. So, Globalize expects a certain set -of "standard" formatting strings for dates in the "patterns" property of the -"standard" calendar of each culture, that describe specific formats for the -culture. The third column shows example values in the neutral English culture -"en-US"; see the second table for the meaning tokens used in date formats. - -<pre> -// just for example - will vary by culture -Globalize.format( new Date(2012, 1, 20), 'd' ); // 2/20/2012 -Globalize.format( new Date(2012, 1, 20), 'D' ); // Monday, February 20, 2012 -</pre> -<p> - -</p> -<table> -<tr> - <th>Format</th> - <th>Meaning</th> - <th>"en-US"</th> -</tr> -<tr> - <td>f</td> - <td>Long Date, Short Time</td> - <td>dddd, MMMM dd, yyyy h:mm tt</td> -</tr> -<tr> - <td>F</td> - <td>Long Date, Long Time</td> - <td>dddd, MMMM dd, yyyy h:mm:ss tt</td> -</tr> -<tr> - <td>t</td> - <td>Short Time</td> - <td>h:mm tt</td> -</tr> -<tr> - <td>T</td> - <td>Long Time</td> - <td>h:mm:ss tt</td> -</tr> -<tr> - <td>d</td> - <td>Short Date</td> - <td>M/d/yyyy</td> -</tr> -<tr> - <td>D</td> - <td>Long Date</td> - <td>dddd, MMMM dd, yyyy</td> -</tr> -<tr> - <td>Y</td> - <td>Month/Year</td> - <td>MMMM, yyyy</td> -</tr> -<tr> - <td>M</td> - <td>Month/Day</td> - <td>MMMM dd</td> -</tr> -</table> -</p> -<p> -In addition to these standard formats, there is the "S" format. This is a -sortable format that is identical in every culture: -"<strong>yyyy'-'MM'-'dd'T'HH':'mm':'ss</strong>". -</p> -<p> -When more specific control is needed over the formatting, you may use any -format you wish by specifying the following custom tokens: -<table> -<tr> - <th>Token</th> - <th>Meaning</th> - <th>Example</th> -</tr> -<tr> - <td>d</td> - <td>Day of month (no leading zero)</td> - <td>5</td> -</tr> -<tr> - <td>dd</td> - <td>Day of month (leading zero)</td> - <td>05</td> -</tr> -<tr> - <td>ddd</td> - <td>Day name (abbreviated)</td> - <td>Sat</td> -</tr> -<tr> - <td>dddd</td> - <td>Day name (full)</td> - <td>Saturday</td> -</tr> -<tr> - <td>M</td> - <td>Month of year (no leading zero)</td> - <td>9</td> -</tr> -<tr> - <td>MM</td> - <td>Month of year (leading zero)</td> - <td>09</td> -</tr> -<tr> - <td>MMM</td> - <td>Month name (abbreviated)</td> - <td>Sep</td> -</tr> -<tr> - <td>MMMM</td> - <td>Month name (full)</td> - <td>September</td> -</tr> -<tr> - <td>yy</td> - <td>Year (two digits)</td> - <td>55</td> -</tr> -<tr> - <td>yyyy</td> - <td>Year (four digits)</td> - <td>1955</td> -</tr> -<tr> - <td>'literal'</td> - <td>Literal Text</td> - <td>'of the clock'</td> -</tr> -<tr> - <td>\'</td> - <td>Single Quote</td> - <td>'o'\''clock'</td><!-- o'clock --> -</tr> -<tr> - <td>m</td> - <td>Minutes (no leading zero)</td> - <td>9</td> -</tr> -<tr> - <td>mm</td> - <td>Minutes (leading zero)</td> - <td>09</td> -</tr> -<tr> - <td>h</td> - <td>Hours (12 hour time, no leading zero)</td> - <td>6</td> -</tr> -<tr> - <td>hh</td> - <td>Hours (12 hour time, leading zero)</td> - <td>06</td> -</tr> -<tr> - <td>H</td> - <td>Hours (24 hour time, no leading zero)</td> - <td>5 (5am) 15 (3pm)</td> -</tr> -<tr> - <td>HH</td> - <td>Hours (24 hour time, leading zero)</td> - <td>05 (5am) 15 (3pm)</td> -</tr> -<tr> - <td>s</td> - <td>Seconds (no leading zero)</td> - <td>9</td> -</tr> -<tr> - <td>ss</td> - <td>Seconds (leading zero)</td> - <td>09</td> -</tr> -<tr> - <td>f</td> - <td>Deciseconds</td> - <td>1</td> -</tr> -<tr> - <td>ff</td> - <td>Centiseconds</td> - <td>11</td> -</tr> -<tr> - <td>fff</td> - <td>Milliseconds</td> - <td>111</td> -</tr> -<tr> - <td>t</td> - <td>AM/PM indicator (first letter)</td> - <td>A or P</td> -</tr> -<tr> - <td>tt</td> - <td>AM/PM indicator (full)</td> - <td>AM or PM</td> -</tr> -<tr> - <td>z</td> - <td>Timezone offset (hours only, no leading zero)</td> - <td>-8</td> -</tr> -<tr> - <td>zz</td> - <td>Timezone offset (hours only, leading zero)</td> - <td>-08</td> -</tr> -<tr> - <td>zzz</td> - <td>Timezone offset (full hours/minutes)</td> - <td>-08:00</td> -</tr> -<tr> - <td>g or gg</td> - <td>Era name</td> - <td>A.D.</td> -</tr> -</table> -</p> - -<a name="generating"></a> -<h1 id="generating">Generating Culture Files</h1> - -The Globalize culture files are generated JavaScript containing metadata and -functions based on culture info in the Microsoft .Net Framework 4. - -<h2>Requirements</h2> - -<ul> - <li>Windows</li> - <li>Microsoft .Net Framework 4 (Full, not just Client Profile) <a href="http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7">download dotNetFx40_Full_x86_x64.exe</a></li> -</ul> - -<h2>Building the generator</h2> - -1. Open a Windows Command Prompt ( Start -> Run... -> cmd ) -1. Change directory to root of Globalize project (where README.md file is located) -1. >"C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild" generator\generator.csproj - -<h2>Running the generator</h2> - -1. Open a Windows Command Prompt -1. Change directory to root of Globalize project (where README.md file is located) -1. >"generator\bin\Debug\generator.exe" - -<a name="building"></a> -<h1 id="building">Building Globalize</h1> - -Globalize is built using <a href="https://github.com/cowboy/grunt">grunt</a>, a -node-based build utility. First, make sure grunt is installed globally: - -<pre> -> npm install -g grunt -</pre> - -then you can lint and test by simply running grunt in the globalize folder - -<pre> -> cd globalize -> grunt -</pre> http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/2b7122d3/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/browser.css ---------------------------------------------------------------------- diff --git a/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/browser.css b/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/browser.css deleted file mode 100644 index 3b8bc5b..0000000 --- a/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/browser.css +++ /dev/null @@ -1,80 +0,0 @@ -body { - font-family: Arial -} -a { - color: #6D929B; -} -input { - width: 100px; - margin: 5px; -} -.results { - border-collapse: collapse; -} -.results td { - border: 1px solid #C1DAD7; - padding: 2px 2px 2px 2px; - color: #6D929B; - font-size: x-small; - white-space: nowrap; - text-align: center; -} -.results th { - border: 1px solid #C1DAD7; - letter-spacing: 2px; - text-align: center; - padding: 6px 6px 6px 12px; - white-space: nowrap; -} -table { - width: 100%; -} -fieldset.info { - width: 45%; - float: left; -} -.info td { - font-size: x-small; -} - -.tab { - margin-top: 5px; - margin-right: 5px; - padding: 2px; - cursor: pointer; - background-color: #EEEEEE; -} - -.active { - border: 1px solid black; - float: left; -} - -.inactive { - float: left; -} - -.tab.active { - font-weight: bold; - border: 1px solid black; - float: left; -} - -div.inactive { - display: none; -} - -div.active { - clear: both; - min-width: 100%; -} - -.pane { - margin-top: 10px; - clear: both; -} - -#intro { - font-size: x-small; - margin-bottom: 10px; -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/2b7122d3/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/browser.js ---------------------------------------------------------------------- diff --git a/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/browser.js b/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/browser.js deleted file mode 100644 index a639435..0000000 --- a/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/browser.js +++ /dev/null @@ -1,115 +0,0 @@ -(function( $ ) { - -$(function() { - - // setup sample data - window.numbers = [ - 0, 1, 10, 100, 1000, 10000, 0.1, 0.12, 0.123, 0.1234, 0.12345, 1000.123, 10000.12345, - -1, -10, -100, -1000, -10000, -0.1, -0.12, -0.123, -0.1234, -0.12345, -1000.123, -10000.12345 - ]; - window.formats = [ - "n", "n1", "n3", "d", "d2", "d3", "p", "p1", "p3", "c", "c0" - ]; - window.dates = $.map([ - "Jan 1, 1970 1:34 PM", "Dec 31, 1970 1:34 PM", "Apr 1, 1999 1:34 PM", "Dec 31, 1999 1:34 PM", "Jan 1, 2000 1:34 PM", "Nov 5, 1955 1:34 PM" - ], function(d) { return d instanceof Date ? d : new Date(Date.parse(d)); } ); - - window.dateFormats = [ - "d", "D", "f", "F", "M", "S", "t", "T", "Y" - ]; - - // add template extensions to format numbers and dates declaratively - $.extend( $.tmplcmd, { - demoFormat: { - _default: [0,0], - prefix: "_.push(Globalize.format(numbers[$2],formats[$1]));" - }, - demoDateFormat: { - _default: [0,0], - prefix: "_.push(Globalize.format(dates[$2],typeof $1 === 'number' ? dateFormats[$1] : $1));" - } - }); - - // activate tabs - $(".tab").click(function() { - $(".active").removeClass("active").addClass("inactive"); - $("#" + this.id + "content").removeClass("inactive").addClass("active"); - $(this).removeClass("inactive").addClass("active"); - }); - - // fill cultures dropdown with the available cultures - $.each(sortByName(Globalize.cultures), function(i, culture) { - $("<option/>", { - value: culture.name, - text: culture.name + ": " + culture.englishName + " (" + culture.nativeName + ")" - }).appendTo("#cultures"); - }); - - // re-render templates after selecting a culture - $("#cultures").bind("change keyup", selectCulture) - // set default culture to Japanese in Japan - .val("ja-JP"); - - // re-render templates after selecting a calendar - var calendars = $("#calendars").bind("change keyup", function() { - Globalize.culture().calendar = Globalize.culture().calendars[calendars.val()] || Globalize.culture().calendars.standard; - render(); - }); - - $("#parseDate").change(function() { - $("#parseDateResult").text(Globalize.parseDate($(this).val()).toString()); - }); - $("#parseNumber").change(function() { - $("#parseNumberResult").text(Globalize.parseFloat($(this).val()).toString()); - }); - - function sortByName(map) { - // converts a dictionary into a sorted dictionary based on obj.name - var arr = []; - $.each(map, function(name, value) { - arr.push(value); - }); - arr.sort(function(a, b) { - return a.name < b.name ? -1 : 1; - }); - return arr; - } - - function selectCulture() { - // sets the current culture to the value specified in the cultures dropdown, - // populates the calendars dropdown with that cultures calendars, - // and renders the formatting templates. - Globalize.culture($("#cultures").val()); - - calendars.empty(); - $.each(sortByName(Globalize.culture().calendars), function(i, cal) { - $("<option/>", { value: cal.name, text: cal.name }).appendTo(calendars); - }); - calendars.val(Globalize.culture().calendar.name); - - render(); - } - - function render() { - $("#dateformat").empty(); - $("#dateformattmpl").render({}).appendTo("#dateformat"); - - $("#format").empty(); - $("#formattmpl").render({}).appendTo("#format"); - - $("#englishName").text(Globalize.culture().englishName); - $("#nativeName").text(Globalize.culture().nativeName); - $("#isRTL").text(Globalize.culture().isRTL ? "YES" : "no"); - - $("#infonumber").empty(); - $("#infonumbertmpl").render(Globalize.culture().numberFormat).appendTo("#infonumber"); - - $("#infodate").empty(); - $("#infodatetmpl").render(Globalize.culture().calendar).appendTo("#infodate"); - } - - // initial rendering - selectCulture(); -}); - -}( jQuery )); http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/2b7122d3/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/index.html ---------------------------------------------------------------------- diff --git a/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/index.html b/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/index.html deleted file mode 100644 index c7af94d..0000000 --- a/security-admin/src/main/webapp/libs/bower/globalize/examples/browser/index.html +++ /dev/null @@ -1,265 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="UTF-8"> - <title>Globalization Demo</title> - <link type="text/css" rel="Stylesheet" href="browser.css"> - <script src="../../lib/globalize.js"></script> - <script src="../../lib/cultures/globalize.cultures.js"></script> - <script src="jquery-1.4.4.js"></script> - <script src="jquery.tmpl.js"></script> - <script src="browser.js"></script> - <script id="formattmpl" type="text/x-jquery-tmpl"> - <tr> - <th>Number</th> - {{each formats}} - <th>{{=}}</th> - {{/each}} - </tr> - {{each(i) numbers}} - <tr class="result"> - <td> - ${numbers[i]} - </td> - {{each(j) formats}} - <td> - {{demoFormat(i) j}} - </td> - {{/each}} - </tr> - {{/each}} - </script> - <script id="dateformattmpl" type="text/x-jquery-tmpl"> - <tr> - <th>Date</th> - {{each dateFormats}} - <th>{{=}}</th> - {{/each}} - </tr> - {{each(i) dates}} - <tr class="result"> - <td> - {{=}} - </td> - {{each(j) dateFormats}} - <td> - {{demoDateFormat(i) j}} - </td> - {{/each}} - </tr> - {{/each}} - </script> - <script id="infonumbertmpl" type="text/x-jquery-tmpl"> - <legend>Number Formatting</legend> - <table class="info"> - <tr> - <td>Pattern</td> - <td>${pattern}</td> - <td>Decimals</td> - <td>${decimals} (${$data['.']})</td> - </tr> - <tr> - <td>Grouping</td> - <td>${$data[',']}</td> - <td>Group Size</td> - <td>${groupSizes}</td> - </tr> - <tr> - <td>Positive</td> - <td>${$data['+']}</td> - <td>Negative</td> - <td>${$data['-']}</td> - </tr> - <tr> - <td colspan="4" align="center">Percent (symbol = ${percent.symbol})</td> - </tr> - <tr> - <td>Pattern</td> - <td>${percent.pattern}</td> - <td>Decimals</td> - <td>${percent.decimals} (${percent['.']})</td> - </tr> - <tr> - <td>Grouping</td> - <td>${percent[',']}</td> - <td>Group Size</td> - <td>${percent.groupSizes}</td> - </tr> - <tr> - <td colspan="4" align="center">Currency (symbol = ${currency.symbol})</td> - </tr> - <tr> - <td>Pattern</td> - <td>${currency.pattern}</td> - <td>Decimals</td> - <td>${currency.decimals} (${currency['.']})</td> - </tr> - <tr> - <td>Grouping</td> - <td>${currency[',']}</td> - <td>Group Size</td> - <td>${currency.groupSizes}</td> - </tr> - </table> - </script> - <script id="infodatetmpl" type="text/x-jquery-tmpl"> - <legend>Date Formatting</legend> - <table class="info"> - <tr> - <td>Name</td> - <td colspan="3">${name}</td> - </tr> - <tr> - <td>AM</td> - <td>${AM}</td> - <td>PM</td> - <td>${PM}</td> - </tr> - <tr> - <td>Eras</td> - <td colspan="3"> - <ol> - {{each eras}} - <li>${name} (year offset ${offset})</li> - {{/each}} - </ol> - </td> - </tr> - <tr> - <td>Days</td> - <td colspan="3"> - <ol> - {{each days.names}} - <li>{{=}}</li> - {{/each}} - </ol> - </td> - </tr> - <tr> - <td>Days (abbreviated)</td> - <td colspan="3"> - <ol> - {{each days.namesAbbr}} - <li>{{=}}</li> - {{/each}} - </ol> - </td> - </tr> - <tr> - <td>Days (shortest)</td> - <td colspan="3"> - <ol> - {{each days.namesShort}} - <li>{{=}}</li> - {{/each}} - </ol> - </td> - </tr> - <tr> - <td>Months</td> - <td colspan="3"> - <ol> - {{each months.names}} - <li>{{=}}</li> - {{/each}} - </ol> - </td> - </tr> - <tr> - <td>Months (abbreviated)</td> - <td colspan="3"> - <ol> - {{each months.namesAbbr}} - <li>{{=}}</li> - {{/each}} - </ol> - </td> - </tr> - {{if typeof monthsGenitive !== 'undefined'}} - <tr> - <td>Months (Genitive)</td> - <td>${monthsGenitive.names}</td> - <td>Months (Abbr. Gen.)</td> - <td>${monthsGenitive.namesAbbr}</td> - </tr> - {{/if}} - <tr> - <td align="center" colspan="4">Patterns</td> - </tr> - {{each(n,v) patterns}} - <tr> - <td>${n}</td> - <td colspan="3">{{=}}</td> - </tr> - {{/each}} - </table> - </script> -</head> - -<body> -<div id="intro"> -This is a demo of the Globalize library. You can follow the discussion and provide feedback on the planning page, here: -<br/><a href="http://wiki.jqueryui.com/Globalization">Globalization wiki page</a> -<br/> -And you can view the source from here or keep up to date with it on github, here: -<br/><a href="https://github.com/jquery/globalize/">Globalize on GitHub</a> -</div> - -<div> - Culture: - <select id="cultures"></select> -</div> -<div> - Calendar: - <select id="calendars"></select> -</div> - -<div class="pane"> - <span class="tab active" id="dates">Dates</span> - <span class="tab inactive" id="numbers">Numbers</span> - <span class="tab inactive" id="info">Info</span> - - <div id="datescontent" class="active"> - <table id="dateformat" class="results"> - </table> - <b>Parsing:</b> Type a date in one of the culture formats: - <input id="parseDate" type="text" /><span id="parseDateResult"></span> - </div> - - <div id="numberscontent" class="inactive"> - <table id="format" class="results"> - </table> - <b>Parsing:</b> Type a number using the culture group and decimal separators: - <input id="parseNumber" type="text" /><span id="parseNumberResult"></span> - </div> - - <div id="infocontent" class="inactive"> - <p> - Name (in English) "<span id="englishName"></span>"<br /> - Name (in Native Language) "<span id="nativeName"></span>".<br /> - Is RTL culture? <span id="isRTL"></span>. - </p> - <fieldset id="infonumber" class="info"> - </fieldset> - <fieldset id="infodate" class="info"> - </fieldset> - </div> - -</div> - -<div class="pane"> - -Interesting cultures to preview: -<ul> - <li>ja-JP: Has an optional calendar that has 4 different eras.</li> - <li>th-TH: Standard calendar has a year offset.</li> - <li>te-IN: Numbers have unequal groupings.</li> - <li>ar-SA: Standard calendar is UmAlQura, a non-gregorian based calendar that requires custom conversion logic. - It also supports the Hijri calendar, and a standard gregorian calendar translated into one of <i>4 languages</i>. - </li> -</ul> - -</div> - -</body> -</html>
