├── .bowerrc
├── .gitignore
├── .gitmodules
├── README.md
├── bower.json
├── components
├── NodeBind
│ ├── .bower.json
│ ├── README.md
│ ├── bower.json
│ ├── codereview.settings
│ ├── conf
│ │ ├── karma.conf.js
│ │ └── mocha.conf.js
│ ├── gruntfile.js
│ ├── package.json
│ └── src
│ │ └── NodeBind.js
├── TemplateBinding
│ ├── .bower.json
│ ├── README.md
│ ├── benchmark
│ │ ├── benchmark.js
│ │ ├── codereview-diff.html
│ │ ├── d8_benchmark.js
│ │ ├── data.js
│ │ ├── dom.js
│ │ └── index.html
│ ├── bower.json
│ ├── build.json
│ ├── codereview.settings
│ ├── docs
│ │ └── images
│ │ │ └── README
│ │ │ ├── DOM.png
│ │ │ ├── arrayUpdate.png
│ │ │ ├── input.png
│ │ │ ├── output.png
│ │ │ ├── templateContent.png
│ │ │ ├── templateInstance.png
│ │ │ └── updateData.png
│ ├── examples
│ │ ├── how_to
│ │ │ ├── bind_to_attributes.html
│ │ │ ├── bind_to_input_elements.html
│ │ │ ├── bind_to_text.html
│ │ │ ├── conditional_attributes.html
│ │ │ ├── conditional_template.html
│ │ │ ├── custom_syntax.html
│ │ │ ├── nested_templates.html
│ │ │ ├── recursive_templates.html
│ │ │ └── template_ref.html
│ │ ├── tic-tac-toe.html
│ │ └── util
│ │ │ ├── view_controller.js
│ │ │ ├── view_controller_test.html
│ │ │ └── view_controller_test.js
│ ├── gruntfile.js
│ ├── load.js
│ ├── package.json
│ ├── sample.html
│ ├── src
│ │ ├── TemplateBinding.js
│ │ └── template_element.css
│ └── template-instantiation.md
├── URL
│ ├── .bower.json
│ ├── playground.html
│ ├── testharness.css
│ ├── testharness.js
│ ├── testharnessreport.js
│ ├── url.js
│ ├── urltestgenerator.html
│ ├── urltestharness.html
│ ├── urltestparser.js
│ ├── urltestrunner.html
│ └── urltests.txt
├── core-component-page
│ ├── .bower.json
│ ├── README.md
│ ├── bowager-logo.png
│ ├── bower.json
│ ├── core-component-page.html
│ ├── demo.html
│ └── index.html
├── core-icon
│ ├── .bower.json
│ ├── README.md
│ ├── bower.json
│ ├── core-icon.css
│ ├── core-icon.html
│ ├── demo.html
│ ├── index.html
│ └── metadata.html
├── core-icons
│ ├── .bower.json
│ ├── .gitignore
│ ├── README.md
│ ├── av-icons.html
│ ├── bower.json
│ ├── communication-icons.html
│ ├── core-icons.html
│ ├── demo.html
│ ├── device-icons.html
│ ├── editor-icons.html
│ ├── hardware-icons.html
│ ├── image-icons.html
│ ├── index.html
│ ├── maps-icons.html
│ ├── notification-icons.html
│ └── social-icons.html
├── core-iconset-svg
│ ├── .bower.json
│ ├── README.md
│ ├── bower.json
│ ├── core-iconset-svg.html
│ ├── demo.html
│ ├── index.html
│ └── svg-sample-icons.html
├── core-iconset
│ ├── .bower.json
│ ├── README.md
│ ├── bower.json
│ ├── core-iconset.html
│ ├── demo.html
│ ├── index.html
│ ├── my-icons-big.png
│ └── my-icons.png
├── core-meta
│ ├── .bower.json
│ ├── README.md
│ ├── bower.json
│ ├── core-meta.html
│ ├── demo.html
│ └── index.html
├── core-selection
│ ├── .bower.json
│ ├── README.md
│ ├── bower.json
│ ├── core-selection.html
│ ├── demo.html
│ ├── index.html
│ └── test
│ │ ├── basic.html
│ │ ├── index.html
│ │ └── multi.html
├── core-selector
│ ├── .bower.json
│ ├── .gitignore
│ ├── README.md
│ ├── bower.json
│ ├── core-selector.html
│ ├── demo.html
│ ├── index.html
│ ├── metadata.html
│ └── test
│ │ ├── activate-event.html
│ │ ├── basic.html
│ │ ├── content.html
│ │ ├── index.html
│ │ ├── multi.html
│ │ ├── next-previous.html
│ │ ├── selected-attr-prop.html
│ │ └── template-repeat.html
├── globalize
│ ├── .bower.json
│ ├── .gitignore
│ ├── .npmignore
│ ├── LICENSE
│ ├── README.md
│ ├── examples
│ │ └── browser
│ │ │ ├── browser.css
│ │ │ ├── browser.js
│ │ │ ├── index.html
│ │ │ ├── jquery-1.4.4.js
│ │ │ └── jquery.tmpl.js
│ ├── generator
│ │ ├── HijriCalendar.js
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── StringExt.cs
│ │ ├── UmAlQuraCalendar.js
│ │ └── generator.csproj
│ ├── grunt.js
│ ├── lib
│ │ ├── cultures
│ │ │ ├── globalize.culture.af-ZA.js
│ │ │ ├── globalize.culture.af.js
│ │ │ ├── globalize.culture.am-ET.js
│ │ │ ├── globalize.culture.am.js
│ │ │ ├── globalize.culture.ar-AE.js
│ │ │ ├── globalize.culture.ar-BH.js
│ │ │ ├── globalize.culture.ar-DZ.js
│ │ │ ├── globalize.culture.ar-EG.js
│ │ │ ├── globalize.culture.ar-IQ.js
│ │ │ ├── globalize.culture.ar-JO.js
│ │ │ ├── globalize.culture.ar-KW.js
│ │ │ ├── globalize.culture.ar-LB.js
│ │ │ ├── globalize.culture.ar-LY.js
│ │ │ ├── globalize.culture.ar-MA.js
│ │ │ ├── globalize.culture.ar-OM.js
│ │ │ ├── globalize.culture.ar-QA.js
│ │ │ ├── globalize.culture.ar-SA.js
│ │ │ ├── globalize.culture.ar-SY.js
│ │ │ ├── globalize.culture.ar-TN.js
│ │ │ ├── globalize.culture.ar-YE.js
│ │ │ ├── globalize.culture.ar.js
│ │ │ ├── globalize.culture.arn-CL.js
│ │ │ ├── globalize.culture.arn.js
│ │ │ ├── globalize.culture.as-IN.js
│ │ │ ├── globalize.culture.as.js
│ │ │ ├── globalize.culture.az-Cyrl-AZ.js
│ │ │ ├── globalize.culture.az-Cyrl.js
│ │ │ ├── globalize.culture.az-Latn-AZ.js
│ │ │ ├── globalize.culture.az-Latn.js
│ │ │ ├── globalize.culture.az.js
│ │ │ ├── globalize.culture.ba-RU.js
│ │ │ ├── globalize.culture.ba.js
│ │ │ ├── globalize.culture.be-BY.js
│ │ │ ├── globalize.culture.be.js
│ │ │ ├── globalize.culture.bg-BG.js
│ │ │ ├── globalize.culture.bg.js
│ │ │ ├── globalize.culture.bn-BD.js
│ │ │ ├── globalize.culture.bn-IN.js
│ │ │ ├── globalize.culture.bn.js
│ │ │ ├── globalize.culture.bo-CN.js
│ │ │ ├── globalize.culture.bo.js
│ │ │ ├── globalize.culture.br-FR.js
│ │ │ ├── globalize.culture.br.js
│ │ │ ├── globalize.culture.bs-Cyrl-BA.js
│ │ │ ├── globalize.culture.bs-Cyrl.js
│ │ │ ├── globalize.culture.bs-Latn-BA.js
│ │ │ ├── globalize.culture.bs-Latn.js
│ │ │ ├── globalize.culture.bs.js
│ │ │ ├── globalize.culture.ca-ES.js
│ │ │ ├── globalize.culture.ca.js
│ │ │ ├── globalize.culture.co-FR.js
│ │ │ ├── globalize.culture.co.js
│ │ │ ├── globalize.culture.cs-CZ.js
│ │ │ ├── globalize.culture.cs.js
│ │ │ ├── globalize.culture.cy-GB.js
│ │ │ ├── globalize.culture.cy.js
│ │ │ ├── globalize.culture.da-DK.js
│ │ │ ├── globalize.culture.da.js
│ │ │ ├── globalize.culture.de-AT.js
│ │ │ ├── globalize.culture.de-CH.js
│ │ │ ├── globalize.culture.de-DE.js
│ │ │ ├── globalize.culture.de-LI.js
│ │ │ ├── globalize.culture.de-LU.js
│ │ │ ├── globalize.culture.de.js
│ │ │ ├── globalize.culture.dsb-DE.js
│ │ │ ├── globalize.culture.dsb.js
│ │ │ ├── globalize.culture.dv-MV.js
│ │ │ ├── globalize.culture.dv.js
│ │ │ ├── globalize.culture.el-GR.js
│ │ │ ├── globalize.culture.el.js
│ │ │ ├── globalize.culture.en-029.js
│ │ │ ├── globalize.culture.en-AU.js
│ │ │ ├── globalize.culture.en-BZ.js
│ │ │ ├── globalize.culture.en-CA.js
│ │ │ ├── globalize.culture.en-GB.js
│ │ │ ├── globalize.culture.en-IE.js
│ │ │ ├── globalize.culture.en-IN.js
│ │ │ ├── globalize.culture.en-JM.js
│ │ │ ├── globalize.culture.en-MY.js
│ │ │ ├── globalize.culture.en-NZ.js
│ │ │ ├── globalize.culture.en-PH.js
│ │ │ ├── globalize.culture.en-SG.js
│ │ │ ├── globalize.culture.en-TT.js
│ │ │ ├── globalize.culture.en-US.js
│ │ │ ├── globalize.culture.en-ZA.js
│ │ │ ├── globalize.culture.en-ZW.js
│ │ │ ├── globalize.culture.es-AR.js
│ │ │ ├── globalize.culture.es-BO.js
│ │ │ ├── globalize.culture.es-CL.js
│ │ │ ├── globalize.culture.es-CO.js
│ │ │ ├── globalize.culture.es-CR.js
│ │ │ ├── globalize.culture.es-DO.js
│ │ │ ├── globalize.culture.es-EC.js
│ │ │ ├── globalize.culture.es-ES.js
│ │ │ ├── globalize.culture.es-GT.js
│ │ │ ├── globalize.culture.es-HN.js
│ │ │ ├── globalize.culture.es-MX.js
│ │ │ ├── globalize.culture.es-NI.js
│ │ │ ├── globalize.culture.es-PA.js
│ │ │ ├── globalize.culture.es-PE.js
│ │ │ ├── globalize.culture.es-PR.js
│ │ │ ├── globalize.culture.es-PY.js
│ │ │ ├── globalize.culture.es-SV.js
│ │ │ ├── globalize.culture.es-US.js
│ │ │ ├── globalize.culture.es-UY.js
│ │ │ ├── globalize.culture.es-VE.js
│ │ │ ├── globalize.culture.es.js
│ │ │ ├── globalize.culture.et-EE.js
│ │ │ ├── globalize.culture.et.js
│ │ │ ├── globalize.culture.eu-ES.js
│ │ │ ├── globalize.culture.eu.js
│ │ │ ├── globalize.culture.fa-IR.js
│ │ │ ├── globalize.culture.fa.js
│ │ │ ├── globalize.culture.fi-FI.js
│ │ │ ├── globalize.culture.fi.js
│ │ │ ├── globalize.culture.fil-PH.js
│ │ │ ├── globalize.culture.fil.js
│ │ │ ├── globalize.culture.fo-FO.js
│ │ │ ├── globalize.culture.fo.js
│ │ │ ├── globalize.culture.fr-BE.js
│ │ │ ├── globalize.culture.fr-CA.js
│ │ │ ├── globalize.culture.fr-CH.js
│ │ │ ├── globalize.culture.fr-FR.js
│ │ │ ├── globalize.culture.fr-LU.js
│ │ │ ├── globalize.culture.fr-MC.js
│ │ │ ├── globalize.culture.fr.js
│ │ │ ├── globalize.culture.fy-NL.js
│ │ │ ├── globalize.culture.fy.js
│ │ │ ├── globalize.culture.ga-IE.js
│ │ │ ├── globalize.culture.ga.js
│ │ │ ├── globalize.culture.gd-GB.js
│ │ │ ├── globalize.culture.gd.js
│ │ │ ├── globalize.culture.gl-ES.js
│ │ │ ├── globalize.culture.gl.js
│ │ │ ├── globalize.culture.gsw-FR.js
│ │ │ ├── globalize.culture.gsw.js
│ │ │ ├── globalize.culture.gu-IN.js
│ │ │ ├── globalize.culture.gu.js
│ │ │ ├── globalize.culture.ha-Latn-NG.js
│ │ │ ├── globalize.culture.ha-Latn.js
│ │ │ ├── globalize.culture.ha.js
│ │ │ ├── globalize.culture.he-IL.js
│ │ │ ├── globalize.culture.he.js
│ │ │ ├── globalize.culture.hi-IN.js
│ │ │ ├── globalize.culture.hi.js
│ │ │ ├── globalize.culture.hr-BA.js
│ │ │ ├── globalize.culture.hr-HR.js
│ │ │ ├── globalize.culture.hr.js
│ │ │ ├── globalize.culture.hsb-DE.js
│ │ │ ├── globalize.culture.hsb.js
│ │ │ ├── globalize.culture.hu-HU.js
│ │ │ ├── globalize.culture.hu.js
│ │ │ ├── globalize.culture.hy-AM.js
│ │ │ ├── globalize.culture.hy.js
│ │ │ ├── globalize.culture.id-ID.js
│ │ │ ├── globalize.culture.id.js
│ │ │ ├── globalize.culture.ig-NG.js
│ │ │ ├── globalize.culture.ig.js
│ │ │ ├── globalize.culture.ii-CN.js
│ │ │ ├── globalize.culture.ii.js
│ │ │ ├── globalize.culture.is-IS.js
│ │ │ ├── globalize.culture.is.js
│ │ │ ├── globalize.culture.it-CH.js
│ │ │ ├── globalize.culture.it-IT.js
│ │ │ ├── globalize.culture.it.js
│ │ │ ├── globalize.culture.iu-Cans-CA.js
│ │ │ ├── globalize.culture.iu-Cans.js
│ │ │ ├── globalize.culture.iu-Latn-CA.js
│ │ │ ├── globalize.culture.iu-Latn.js
│ │ │ ├── globalize.culture.iu.js
│ │ │ ├── globalize.culture.ja-JP.js
│ │ │ ├── globalize.culture.ja.js
│ │ │ ├── globalize.culture.ka-GE.js
│ │ │ ├── globalize.culture.ka.js
│ │ │ ├── globalize.culture.kk-KZ.js
│ │ │ ├── globalize.culture.kk.js
│ │ │ ├── globalize.culture.kl-GL.js
│ │ │ ├── globalize.culture.kl.js
│ │ │ ├── globalize.culture.km-KH.js
│ │ │ ├── globalize.culture.km.js
│ │ │ ├── globalize.culture.kn-IN.js
│ │ │ ├── globalize.culture.kn.js
│ │ │ ├── globalize.culture.ko-KR.js
│ │ │ ├── globalize.culture.ko.js
│ │ │ ├── globalize.culture.kok-IN.js
│ │ │ ├── globalize.culture.kok.js
│ │ │ ├── globalize.culture.ky-KG.js
│ │ │ ├── globalize.culture.ky.js
│ │ │ ├── globalize.culture.lb-LU.js
│ │ │ ├── globalize.culture.lb.js
│ │ │ ├── globalize.culture.lo-LA.js
│ │ │ ├── globalize.culture.lo.js
│ │ │ ├── globalize.culture.lt-LT.js
│ │ │ ├── globalize.culture.lt.js
│ │ │ ├── globalize.culture.lv-LV.js
│ │ │ ├── globalize.culture.lv.js
│ │ │ ├── globalize.culture.mi-NZ.js
│ │ │ ├── globalize.culture.mi.js
│ │ │ ├── globalize.culture.mk-MK.js
│ │ │ ├── globalize.culture.mk.js
│ │ │ ├── globalize.culture.ml-IN.js
│ │ │ ├── globalize.culture.ml.js
│ │ │ ├── globalize.culture.mn-Cyrl.js
│ │ │ ├── globalize.culture.mn-MN.js
│ │ │ ├── globalize.culture.mn-Mong-CN.js
│ │ │ ├── globalize.culture.mn-Mong.js
│ │ │ ├── globalize.culture.mn.js
│ │ │ ├── globalize.culture.moh-CA.js
│ │ │ ├── globalize.culture.moh.js
│ │ │ ├── globalize.culture.mr-IN.js
│ │ │ ├── globalize.culture.mr.js
│ │ │ ├── globalize.culture.ms-BN.js
│ │ │ ├── globalize.culture.ms-MY.js
│ │ │ ├── globalize.culture.ms.js
│ │ │ ├── globalize.culture.mt-MT.js
│ │ │ ├── globalize.culture.mt.js
│ │ │ ├── globalize.culture.nb-NO.js
│ │ │ ├── globalize.culture.nb.js
│ │ │ ├── globalize.culture.ne-NP.js
│ │ │ ├── globalize.culture.ne.js
│ │ │ ├── globalize.culture.nl-BE.js
│ │ │ ├── globalize.culture.nl-NL.js
│ │ │ ├── globalize.culture.nl.js
│ │ │ ├── globalize.culture.nn-NO.js
│ │ │ ├── globalize.culture.nn.js
│ │ │ ├── globalize.culture.no.js
│ │ │ ├── globalize.culture.nso-ZA.js
│ │ │ ├── globalize.culture.nso.js
│ │ │ ├── globalize.culture.oc-FR.js
│ │ │ ├── globalize.culture.oc.js
│ │ │ ├── globalize.culture.or-IN.js
│ │ │ ├── globalize.culture.or.js
│ │ │ ├── globalize.culture.pa-IN.js
│ │ │ ├── globalize.culture.pa.js
│ │ │ ├── globalize.culture.pl-PL.js
│ │ │ ├── globalize.culture.pl.js
│ │ │ ├── globalize.culture.prs-AF.js
│ │ │ ├── globalize.culture.prs.js
│ │ │ ├── globalize.culture.ps-AF.js
│ │ │ ├── globalize.culture.ps.js
│ │ │ ├── globalize.culture.pt-BR.js
│ │ │ ├── globalize.culture.pt-PT.js
│ │ │ ├── globalize.culture.pt.js
│ │ │ ├── globalize.culture.qut-GT.js
│ │ │ ├── globalize.culture.qut.js
│ │ │ ├── globalize.culture.quz-BO.js
│ │ │ ├── globalize.culture.quz-EC.js
│ │ │ ├── globalize.culture.quz-PE.js
│ │ │ ├── globalize.culture.quz.js
│ │ │ ├── globalize.culture.rm-CH.js
│ │ │ ├── globalize.culture.rm.js
│ │ │ ├── globalize.culture.ro-RO.js
│ │ │ ├── globalize.culture.ro.js
│ │ │ ├── globalize.culture.ru-RU.js
│ │ │ ├── globalize.culture.ru.js
│ │ │ ├── globalize.culture.rw-RW.js
│ │ │ ├── globalize.culture.rw.js
│ │ │ ├── globalize.culture.sa-IN.js
│ │ │ ├── globalize.culture.sa.js
│ │ │ ├── globalize.culture.sah-RU.js
│ │ │ ├── globalize.culture.sah.js
│ │ │ ├── globalize.culture.se-FI.js
│ │ │ ├── globalize.culture.se-NO.js
│ │ │ ├── globalize.culture.se-SE.js
│ │ │ ├── globalize.culture.se.js
│ │ │ ├── globalize.culture.si-LK.js
│ │ │ ├── globalize.culture.si.js
│ │ │ ├── globalize.culture.sk-SK.js
│ │ │ ├── globalize.culture.sk.js
│ │ │ ├── globalize.culture.sl-SI.js
│ │ │ ├── globalize.culture.sl.js
│ │ │ ├── globalize.culture.sma-NO.js
│ │ │ ├── globalize.culture.sma-SE.js
│ │ │ ├── globalize.culture.sma.js
│ │ │ ├── globalize.culture.smj-NO.js
│ │ │ ├── globalize.culture.smj-SE.js
│ │ │ ├── globalize.culture.smj.js
│ │ │ ├── globalize.culture.smn-FI.js
│ │ │ ├── globalize.culture.smn.js
│ │ │ ├── globalize.culture.sms-FI.js
│ │ │ ├── globalize.culture.sms.js
│ │ │ ├── globalize.culture.sq-AL.js
│ │ │ ├── globalize.culture.sq.js
│ │ │ ├── globalize.culture.sr-Cyrl-BA.js
│ │ │ ├── globalize.culture.sr-Cyrl-CS.js
│ │ │ ├── globalize.culture.sr-Cyrl-ME.js
│ │ │ ├── globalize.culture.sr-Cyrl-RS.js
│ │ │ ├── globalize.culture.sr-Cyrl.js
│ │ │ ├── globalize.culture.sr-Latn-BA.js
│ │ │ ├── globalize.culture.sr-Latn-CS.js
│ │ │ ├── globalize.culture.sr-Latn-ME.js
│ │ │ ├── globalize.culture.sr-Latn-RS.js
│ │ │ ├── globalize.culture.sr-Latn.js
│ │ │ ├── globalize.culture.sr.js
│ │ │ ├── globalize.culture.sv-FI.js
│ │ │ ├── globalize.culture.sv-SE.js
│ │ │ ├── globalize.culture.sv.js
│ │ │ ├── globalize.culture.sw-KE.js
│ │ │ ├── globalize.culture.sw.js
│ │ │ ├── globalize.culture.syr-SY.js
│ │ │ ├── globalize.culture.syr.js
│ │ │ ├── globalize.culture.ta-IN.js
│ │ │ ├── globalize.culture.ta.js
│ │ │ ├── globalize.culture.te-IN.js
│ │ │ ├── globalize.culture.te.js
│ │ │ ├── globalize.culture.tg-Cyrl-TJ.js
│ │ │ ├── globalize.culture.tg-Cyrl.js
│ │ │ ├── globalize.culture.tg.js
│ │ │ ├── globalize.culture.th-TH.js
│ │ │ ├── globalize.culture.th.js
│ │ │ ├── globalize.culture.tk-TM.js
│ │ │ ├── globalize.culture.tk.js
│ │ │ ├── globalize.culture.tn-ZA.js
│ │ │ ├── globalize.culture.tn.js
│ │ │ ├── globalize.culture.tr-TR.js
│ │ │ ├── globalize.culture.tr.js
│ │ │ ├── globalize.culture.tt-RU.js
│ │ │ ├── globalize.culture.tt.js
│ │ │ ├── globalize.culture.tzm-Latn-DZ.js
│ │ │ ├── globalize.culture.tzm-Latn.js
│ │ │ ├── globalize.culture.tzm.js
│ │ │ ├── globalize.culture.ug-CN.js
│ │ │ ├── globalize.culture.ug.js
│ │ │ ├── globalize.culture.uk-UA.js
│ │ │ ├── globalize.culture.uk.js
│ │ │ ├── globalize.culture.ur-PK.js
│ │ │ ├── globalize.culture.ur.js
│ │ │ ├── globalize.culture.uz-Cyrl-UZ.js
│ │ │ ├── globalize.culture.uz-Cyrl.js
│ │ │ ├── globalize.culture.uz-Latn-UZ.js
│ │ │ ├── globalize.culture.uz-Latn.js
│ │ │ ├── globalize.culture.uz.js
│ │ │ ├── globalize.culture.vi-VN.js
│ │ │ ├── globalize.culture.vi.js
│ │ │ ├── globalize.culture.wo-SN.js
│ │ │ ├── globalize.culture.wo.js
│ │ │ ├── globalize.culture.xh-ZA.js
│ │ │ ├── globalize.culture.xh.js
│ │ │ ├── globalize.culture.yo-NG.js
│ │ │ ├── globalize.culture.yo.js
│ │ │ ├── globalize.culture.zh-CHS.js
│ │ │ ├── globalize.culture.zh-CHT.js
│ │ │ ├── globalize.culture.zh-CN.js
│ │ │ ├── globalize.culture.zh-HK.js
│ │ │ ├── globalize.culture.zh-Hans.js
│ │ │ ├── globalize.culture.zh-Hant.js
│ │ │ ├── globalize.culture.zh-MO.js
│ │ │ ├── globalize.culture.zh-SG.js
│ │ │ ├── globalize.culture.zh-TW.js
│ │ │ ├── globalize.culture.zh.js
│ │ │ ├── globalize.culture.zu-ZA.js
│ │ │ ├── globalize.culture.zu.js
│ │ │ └── globalize.cultures.js
│ │ └── globalize.js
│ ├── package.json
│ └── test
│ │ ├── culture.js
│ │ ├── cultures.js
│ │ ├── findClosestCulture.js
│ │ ├── format.js
│ │ ├── index.html
│ │ ├── instance.js
│ │ ├── localize.js
│ │ ├── parse.js
│ │ ├── qunit
│ │ ├── qunit.css
│ │ └── qunit.js
│ │ └── testsuite.js
├── observe-js
│ ├── .bower.json
│ ├── AUTHORS
│ ├── README.md
│ ├── benchmark
│ │ ├── benchmark.js
│ │ ├── d8_benchmarks.js
│ │ ├── index.html
│ │ └── observation_benchmark.js
│ ├── bower.json
│ ├── codereview.settings
│ ├── conf
│ │ ├── karma.conf.js
│ │ └── mocha.conf.js
│ ├── examples
│ │ ├── circles.html
│ │ ├── constrain.html
│ │ ├── constrain.js
│ │ ├── persist.html
│ │ └── persist.js
│ ├── gruntfile.js
│ ├── index.html
│ ├── package.json
│ ├── src
│ │ └── observe.js
│ └── util
│ │ └── planner.js
├── polymer-expressions
│ ├── .bower.json
│ ├── README.md
│ ├── bower.json
│ ├── build.json
│ ├── codereview.settings
│ ├── conf
│ │ ├── karma.conf.js
│ │ └── mocha.conf.js
│ ├── gruntfile.js
│ ├── index.html
│ ├── package.json
│ ├── polymer-expressions.html
│ ├── smoke.html
│ ├── src
│ │ └── polymer-expressions.js
│ └── third_party
│ │ └── esprima
│ │ ├── CONTRIBUTING.md
│ │ ├── LICENSE.BSD
│ │ ├── README.md
│ │ └── esprima.js
├── polymer-gestures
│ ├── .bower.json
│ ├── .gitignore
│ ├── Gruntfile.js
│ ├── README.md
│ ├── banner.txt
│ ├── bower.json
│ ├── build.json
│ ├── conf
│ │ └── karma.conf.js
│ ├── package.json
│ ├── polymer-gestures.html
│ ├── polymer-gestures.js
│ ├── samples
│ │ ├── pinch
│ │ │ └── index.html
│ │ └── simple
│ │ │ └── index.html
│ ├── src
│ │ ├── dispatcher.js
│ │ ├── eventFactory.js
│ │ ├── hold.js
│ │ ├── mouse.js
│ │ ├── ms.js
│ │ ├── pinch.js
│ │ ├── platform-events.js
│ │ ├── pointer.js
│ │ ├── pointermap.js
│ │ ├── scope.js
│ │ ├── tap.js
│ │ ├── targetfind.js
│ │ ├── touch-action.js
│ │ ├── touch.js
│ │ └── track.js
│ └── test
│ │ ├── html
│ │ ├── content-handler.html
│ │ ├── focus.html
│ │ └── ghostclick.html
│ │ ├── js
│ │ ├── eventListeners.js
│ │ ├── fake.js
│ │ ├── gestures.js
│ │ ├── pointermap.js
│ │ └── setup.js
│ │ └── runner.html
├── polymer
│ ├── .bower.json
│ ├── README.md
│ ├── bower.json
│ ├── build.log
│ ├── layout.html
│ ├── polymer.html
│ ├── polymer.js
│ └── polymer.min.js
├── web-component-tester
│ ├── .bower.json
│ ├── bower.json
│ ├── browser.js
│ └── environment.js
└── webcomponentsjs
│ ├── .bower.json
│ ├── CustomElements.js
│ ├── CustomElements.min.js
│ ├── HTMLImports.js
│ ├── HTMLImports.min.js
│ ├── README.md
│ ├── ShadowDOM.js
│ ├── ShadowDOM.min.js
│ ├── bower.json
│ ├── build.log
│ ├── package.json
│ ├── webcomponents-lite.js
│ ├── webcomponents-lite.min.js
│ ├── webcomponents.js
│ └── webcomponents.min.js
└── test
└── index.html
/.bowerrc:
--------------------------------------------------------------------------------
1 | {
2 | "directory": "components"
3 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.sublime-*
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | This repository was designed to facilitate development of early versions of Basic Web Components up to 0.5. **For versions 6.0 and above, please see the newer [consolidated Basic Web Components repository](https://github.com/basic-web-components/basic-web-components).**
2 |
--------------------------------------------------------------------------------
/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "basic-web-components",
3 | "version": "0.0.3",
4 | "dependencies": {
5 | "core-icons": "Polymer/core-icons#master",
6 | "core-selector": "Polymer/core-selector#master",
7 | "polymer": "^0.5.0"
8 | },
9 | "devDependencies": {
10 | "globalize": "0.x",
11 | "web-component-tester": "*"
12 | },
13 | "ignore": [
14 | "components"
15 | ],
16 | "resolutions": {
17 | "polymer": "^0.5.0",
18 | "webcomponentsjs": "^0.5.0",
19 | "core-component-page": "^0.5.0"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/components/NodeBind/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "NodeBind",
3 | "homepage": "https://github.com/Polymer/NodeBind",
4 | "authors": [
5 | "The Polymer Authors"
6 | ],
7 | "license": "BSD",
8 | "private": true,
9 | "ignore": [
10 | "**/.*",
11 | "node_modules",
12 | "bower_components",
13 | "test",
14 | "tests"
15 | ],
16 | "_release": "520c660579",
17 | "_resolution": {
18 | "type": "branch",
19 | "branch": "master",
20 | "commit": "520c660579d2f027f1f97002520a7023e88e092a"
21 | },
22 | "_source": "git://github.com/Polymer/NodeBind.git",
23 | "_target": "master",
24 | "_originalSource": "Polymer/NodeBind"
25 | }
--------------------------------------------------------------------------------
/components/NodeBind/README.md:
--------------------------------------------------------------------------------
1 | NodeBind
2 | =========
3 |
4 | [](https://github.com/igrigorik/ga-beacon)
5 |
--------------------------------------------------------------------------------
/components/NodeBind/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "NodeBind",
3 | "homepage": "https://github.com/Polymer/NodeBind",
4 | "authors": [
5 | "The Polymer Authors"
6 | ],
7 | "license": "BSD",
8 | "private": true,
9 | "ignore": [
10 | "**/.*",
11 | "node_modules",
12 | "bower_components",
13 | "test",
14 | "tests"
15 | ]
16 | }
17 |
--------------------------------------------------------------------------------
/components/NodeBind/codereview.settings:
--------------------------------------------------------------------------------
1 | # This file is used by gcl to get repository specific information.
2 | CODE_REVIEW_SERVER: https://codereview.appspot.com
3 | VIEW_VC: https://github.com/Polymer/NodeBind/commit/
4 |
--------------------------------------------------------------------------------
/components/NodeBind/conf/karma.conf.js:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | module.exports = function(karma) {
12 | var common = require('../../tools/test/karma-common.conf.js');
13 | karma.set(common.mixin_common_opts(karma, {
14 | // base path, that will be used to resolve files and exclude
15 | basePath: '../../',
16 |
17 | // list of files / patterns to load in the browser
18 | files: [
19 | 'NodeBind/node_modules/chai/chai.js',
20 | 'NodeBind/conf/mocha.conf.js',
21 | 'observe-js/src/observe.js',
22 | 'NodeBind/src/NodeBind.js',
23 | 'NodeBind/tests/*.js',
24 | ],
25 | }));
26 | };
27 |
--------------------------------------------------------------------------------
/components/NodeBind/conf/mocha.conf.js:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | mocha.setup({
12 | ui:'tdd',
13 | ignoreLeaks: true
14 | });
15 | var assert = chai.assert;
16 |
17 | var forceCollectObservers = true;
--------------------------------------------------------------------------------
/components/NodeBind/gruntfile.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2 | // This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3 | // The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
4 | // The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
5 | // Code distributed by Google as part of the polymer project is also
6 | // subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
7 |
8 | module.exports = function(grunt) {
9 | grunt.initConfig({
10 | karma: {
11 | options: {
12 | configFile: 'conf/karma.conf.js',
13 | keepalive: true
14 | },
15 | buildbot: {
16 | reporters: ['crbot'],
17 | logLevel: 'OFF'
18 | },
19 | NodeBind: {
20 | }
21 | }
22 | });
23 |
24 | grunt.loadTasks('../tools/tasks');
25 | grunt.loadNpmTasks('grunt-karma');
26 |
27 | grunt.registerTask('default', 'test');
28 | grunt.registerTask('test', ['override-chrome-launcher', 'karma:NodeBind']);
29 | grunt.registerTask('test-buildbot', ['override-chrome-launcher', 'karma:buildbot']);
30 | };
31 |
--------------------------------------------------------------------------------
/components/NodeBind/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "node-bind",
3 | "version": "0.4.2",
4 | "description": "README.md",
5 | "main": "./src/NodeBind.js",
6 | "directories": {
7 | "test": "tests"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/Polymer/NodeBind.git"
12 | },
13 | "author": "The Polymer Authors",
14 | "license": "BSD",
15 | "devDependencies": {
16 | "chai": "*",
17 | "mocha": ">=1.9",
18 | "grunt": "*",
19 | "grunt-karma": "*",
20 | "karma": "~0.12.0",
21 | "karma-mocha": "*",
22 | "karma-firefox-launcher": "*",
23 | "karma-ie-launcher": "*",
24 | "karma-safari-launcher": "*",
25 | "karma-script-launcher": "*",
26 | "karma-crbot-reporter": "*"
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/components/TemplateBinding/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "TemplateBinding",
3 | "homepage": "https://github.com/Polymer/TemplateBinding",
4 | "authors": [
5 | "The Polymer Authors"
6 | ],
7 | "dependencies": {
8 | "NodeBind": "Polymer/NodeBind#master",
9 | "observe-js": "Polymer/observe-js#master"
10 | },
11 | "devDependencies": {
12 | "web-component-tester": "Polymer/web-component-tester#^1.0.1"
13 | },
14 | "license": "BSD",
15 | "private": true,
16 | "ignore": [
17 | "**/.*",
18 | "node_modules",
19 | "bower_components",
20 | "test",
21 | "tests"
22 | ],
23 | "_release": "b46180bf15",
24 | "_resolution": {
25 | "type": "branch",
26 | "branch": "master",
27 | "commit": "b46180bf156f68f5ac27af607def24be1ce57d0c"
28 | },
29 | "_source": "git://github.com/Polymer/TemplateBinding.git",
30 | "_target": "master",
31 | "_originalSource": "Polymer/TemplateBinding"
32 | }
--------------------------------------------------------------------------------
/components/TemplateBinding/README.md:
--------------------------------------------------------------------------------
1 | ## TemplateBinding
2 |
3 | Polymer's TemplateBinding library extends the capabilities of the
4 | [HTML Template Element](http://www.w3.org/TR/html5/scripting-1.html#the-template-element)
5 | by enabling it to create, manage, and remove instances of content bound to data defined in JavaScript.
6 | Although internal in Polymer, it is also useful standalone.
7 |
8 | Full documentation [here](https://www.polymer-project.org/docs/polymer/template.html).
9 |
10 | [](http://build.chromium.org/p/client.polymer/waterfall) [](https://github.com/igrigorik/ga-beacon)
11 |
--------------------------------------------------------------------------------
/components/TemplateBinding/benchmark/d8_benchmark.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2 | // This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3 | // The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
4 | // The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
5 | // Code distributed by Google as part of the polymer project is also
6 | // subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
7 |
8 | var console = {
9 | log: print,
10 | error: print
11 | };
12 |
13 | var requestAnimationFrame = function(callback) {
14 | callback();
15 | }
16 |
17 | var testDiv = document.createElement('div');
18 | var width = 2;
19 | var depth = 4;
20 | var decoration = 8;
21 | var instanceCount = 10;
22 | var oneTime = false;
23 | var compoundBindings = false;
24 | var expressionCheckbox = false;
25 | var bindingDensities = [0, .1, .2, .3, .4, .5, .6, .7, .8, .9, 1];
26 |
27 | function benchmarkComplete(results) {
28 | console.log(JSON.stringify(results));
29 | }
30 |
31 | function updateStatus(b, variation, runCount) {
32 | console.log((100 * b.density) + '% binding density, ' + runCount + ' runs');
33 | }
34 |
35 | var benchmarks = bindingDensities.map(function(density) {
36 | return new MDVBenchmark(testDiv, density, width, depth, decoration,
37 | instanceCount,
38 | oneTime,
39 | compoundBindings,
40 | expressionCheckbox);
41 | });
42 |
43 | Benchmark.all(benchmarks, 0, updateStatus).then(benchmarkComplete);
44 |
--------------------------------------------------------------------------------
/components/TemplateBinding/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "TemplateBinding",
3 | "homepage": "https://github.com/Polymer/TemplateBinding",
4 | "authors": [
5 | "The Polymer Authors"
6 | ],
7 | "dependencies": {
8 | "NodeBind": "Polymer/NodeBind#master",
9 | "observe-js": "Polymer/observe-js#master"
10 | },
11 | "devDependencies": {
12 | "web-component-tester": "Polymer/web-component-tester#^1.0.1"
13 | },
14 | "license": "BSD",
15 | "private": true,
16 | "ignore": [
17 | "**/.*",
18 | "node_modules",
19 | "bower_components",
20 | "test",
21 | "tests"
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------
/components/TemplateBinding/build.json:
--------------------------------------------------------------------------------
1 | [
2 | "../observe-js/src/observe.js",
3 | "../NodeBind/src/NodeBind.js",
4 | "src/TemplateBinding.js"
5 | ]
6 |
--------------------------------------------------------------------------------
/components/TemplateBinding/codereview.settings:
--------------------------------------------------------------------------------
1 | # This file is used by gcl to get repository specific information.
2 | CODE_REVIEW_SERVER: https://codereview.appspot.com
3 | VIEW_VC: https://github.com/Polymer/TemplateBinding/commit/
4 |
5 |
--------------------------------------------------------------------------------
/components/TemplateBinding/docs/images/README/DOM.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/TemplateBinding/docs/images/README/DOM.png
--------------------------------------------------------------------------------
/components/TemplateBinding/docs/images/README/arrayUpdate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/TemplateBinding/docs/images/README/arrayUpdate.png
--------------------------------------------------------------------------------
/components/TemplateBinding/docs/images/README/input.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/TemplateBinding/docs/images/README/input.png
--------------------------------------------------------------------------------
/components/TemplateBinding/docs/images/README/output.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/TemplateBinding/docs/images/README/output.png
--------------------------------------------------------------------------------
/components/TemplateBinding/docs/images/README/templateContent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/TemplateBinding/docs/images/README/templateContent.png
--------------------------------------------------------------------------------
/components/TemplateBinding/docs/images/README/templateInstance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/TemplateBinding/docs/images/README/templateInstance.png
--------------------------------------------------------------------------------
/components/TemplateBinding/docs/images/README/updateData.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/TemplateBinding/docs/images/README/updateData.png
--------------------------------------------------------------------------------
/components/TemplateBinding/examples/how_to/bind_to_attributes.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 | Bind To Attributes
16 |
17 |
18 |
19 | - The style attribute of this list item is bound
20 |
21 |
22 |
23 |
24 |
25 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/components/TemplateBinding/examples/how_to/bind_to_text.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 | Bind To Text
16 |
17 |
18 |
19 | - Text is bound here: {{ value }}
20 |
21 |
22 |
23 |
24 |
25 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/components/TemplateBinding/examples/how_to/conditional_attributes.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 | Conditional Attributes
16 |
17 |
18 |
19 | The hidden attribute of this span is bound conditionally.
20 |
21 |
22 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/components/TemplateBinding/examples/how_to/conditional_template.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 | Conditional Template
16 |
17 |
25 |
26 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/components/TemplateBinding/examples/how_to/custom_syntax.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 | Binding Delegate API
16 |
17 |
22 |
23 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/components/TemplateBinding/examples/how_to/nested_templates.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 | Nested Template
16 |
17 | Managers:
18 |
19 |
20 | - {{ name }}, Employees:
21 |
22 |
23 | - {{ name }}
24 |
25 |
26 |
27 |
28 |
29 |
30 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/components/TemplateBinding/examples/how_to/template_ref.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 | Re-using templates
16 |
17 |
18 | {{ name }}
19 |
20 |
21 | Usage one:
22 | User:
23 |
24 | Usage two:
25 | More users:
26 |
31 |
32 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/components/TemplateBinding/examples/util/view_controller_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | View Controller Tests
13 |
14 |
15 |
16 |
17 |
22 |
23 |
24 |
25 |
26 |
36 |
37 |
38 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/components/TemplateBinding/gruntfile.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2 | // This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3 | // The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
4 | // The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
5 | // Code distributed by Google as part of the polymer project is also
6 | // subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
7 |
8 | module.exports = function(grunt) {
9 |
10 | grunt.initConfig({
11 | 'wct-test': {
12 | local: {
13 | options: {remote: false},
14 | },
15 | 'local-min': {
16 | options: {remote: false, webRunner: 'test/index.html?build=min'},
17 | },
18 | remote: {
19 | options: {remote: true},
20 | },
21 | 'remote-min': {
22 | options: {remote: true, webRunner: 'test/index.html?build=min'},
23 | },
24 | },
25 | concat: {
26 | modules: {
27 | src: grunt.file.readJSON('build.json'),
28 | dest: 'TemplateBinding.min.js',
29 | nonull: true
30 | }
31 | }
32 | });
33 |
34 | grunt.loadTasks('../tools/tasks');
35 | grunt.loadNpmTasks('grunt-contrib-concat');
36 | grunt.loadNpmTasks('web-component-tester');
37 |
38 | grunt.registerTask('default', 'concat');
39 | grunt.registerTask('test', ['wct-test:local']);
40 | grunt.registerTask('test-min', ['concat', 'wct-test:local-min']);
41 | grunt.registerTask('test-remote', ['wct-test:remote']);
42 | grunt.registerTask('test-remote-min', ['concat', 'wct-test:remote-min']);
43 | grunt.registerTask('test-buildbot', ['test-min']);
44 | };
45 |
--------------------------------------------------------------------------------
/components/TemplateBinding/load.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2 | // This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3 | // The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
4 | // The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
5 | // Code distributed by Google as part of the polymer project is also
6 | // subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
7 |
8 | (function() {
9 | var thisFile = 'load.js';
10 | var libLocation = '';
11 |
12 | function write(inSrc) {
13 | document.write('');
14 | }
15 |
16 | var script = document.querySelector('script[src*="' + thisFile + '"]');
17 | if (script)
18 | libLocation = script.src.slice(0, script.src.indexOf(thisFile));
19 |
20 | document.write('');
22 |
23 | write('../observe-js/src/observe.js');
24 | write('../NodeBind/src/NodeBind.js');
25 | if (window.WCT && (WCT.util.getParam('build') === 'min' || WCT.util.getParam('build') === 'min/')) {
26 | write('TemplateBinding.min.js');
27 | } else {
28 | write('src/TemplateBinding.js');
29 | }
30 | })();
31 |
--------------------------------------------------------------------------------
/components/TemplateBinding/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "template-binding",
3 | "version": "0.4.2",
4 | "description": "",
5 | "main": "./src/TemplateBinding.js",
6 | "directories": {
7 | "doc": "docs",
8 | "test": "tests"
9 | },
10 | "scripts": {
11 | "test": "echo \"Error: no test specified\" && exit 1"
12 | },
13 | "repository": {
14 | "type": "git",
15 | "url": "https://github.com/Polymer/TemplateBinding.git"
16 | },
17 | "author": "The Polymer Authors",
18 | "license": "BSD",
19 | "gitHead": "cdd89f1fb6273ede781c9e00a512720df1adffff",
20 | "dependencies": {
21 | "node-bind": "^0.4.2",
22 | "observe-js": "^0.4.2"
23 | },
24 | "devDependencies": {
25 | "grunt": "*",
26 | "grunt-contrib-concat": "~0.3.0",
27 | "web-component-tester": "^1.0.1"
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/components/TemplateBinding/sample.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 | Model-driven Views
16 |
21 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/components/TemplateBinding/src/template_element.css:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | template,
12 | thead[template],
13 | tbody[template],
14 | tfoot[template],
15 | th[template],
16 | tr[template],
17 | td[template],
18 | colgroup[template],
19 | col[template],
20 | option[template] {
21 | display: none;
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/components/TemplateBinding/template-instantiation.md:
--------------------------------------------------------------------------------
1 | This doc has been moved to https://github.com/Polymer/docs/blob/master/docs/polymer/template.md
2 |
3 | Viewable at http://www.polymer-project.org/docs/polymer/template.html
4 |
--------------------------------------------------------------------------------
/components/URL/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "URL",
3 | "homepage": "https://github.com/Polymer/URL",
4 | "_release": "51a71e72af",
5 | "_resolution": {
6 | "type": "branch",
7 | "branch": "master",
8 | "commit": "51a71e72af960b793f6d69507cb9648d7fab3af1"
9 | },
10 | "_source": "git://github.com/Polymer/URL.git",
11 | "_target": "master",
12 | "_originalSource": "Polymer/URL"
13 | }
--------------------------------------------------------------------------------
/components/URL/testharness.css:
--------------------------------------------------------------------------------
1 | html {
2 | font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;
3 | }
4 |
5 | #log .warning,
6 | #log .warning a {
7 | color: black;
8 | background: yellow;
9 | }
10 |
11 | #log .error,
12 | #log .error a {
13 | color: white;
14 | background: red;
15 | }
16 |
17 | #log pre {
18 | border: 1px solid black;
19 | padding: 1em;
20 | }
21 |
22 | section#summary {
23 | margin-bottom:1em;
24 | }
25 |
26 | table#results {
27 | border-collapse:collapse;
28 | table-layout:fixed;
29 | width:100%;
30 | }
31 |
32 | table#results th:first-child,
33 | table#results td:first-child {
34 | width:4em;
35 | }
36 |
37 | table#results th:last-child,
38 | table#results td:last-child {
39 | width:50%;
40 | }
41 |
42 | table#results.assertions th:last-child,
43 | table#results.assertions td:last-child {
44 | width:35%;
45 | }
46 |
47 | table#results th {
48 | padding:0;
49 | padding-bottom:0.5em;
50 | border-bottom:medium solid black;
51 | }
52 |
53 | table#results td {
54 | padding:1em;
55 | padding-bottom:0.5em;
56 | border-bottom:thin solid black;
57 | }
58 |
59 | tr.pass > td:first-child {
60 | color:green;
61 | }
62 |
63 | tr.fail > td:first-child {
64 | color:red;
65 | }
66 |
67 | tr.timeout > td:first-child {
68 | color:red;
69 | }
70 |
71 | tr.notrun > td:first-child {
72 | color:blue;
73 | }
74 |
75 | .pass > td:first-child, .fail > td:first-child, .timeout > td:first-child, .notrun > td:first-child {
76 | font-variant:small-caps;
77 | }
78 |
79 | table#results span {
80 | display:block;
81 | }
82 |
83 | table#results span.expected {
84 | font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
85 | white-space:pre;
86 | }
87 |
88 | table#results span.actual {
89 | font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
90 | white-space:pre;
91 | }
92 |
--------------------------------------------------------------------------------
/components/URL/testharnessreport.js:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/components/URL/urltestharness.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
60 |
--------------------------------------------------------------------------------
/components/core-component-page/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-component-page",
3 | "private": true,
4 | "dependencies": {
5 | "webcomponentsjs": "Polymer/webcomponentsjs#^0.5",
6 | "polymer": "Polymer/polymer#^0.5"
7 | },
8 | "version": "0.5.5",
9 | "homepage": "https://github.com/Polymer/core-component-page",
10 | "_release": "0.5.5",
11 | "_resolution": {
12 | "type": "version",
13 | "tag": "0.5.5",
14 | "commit": "f91588e0297bb3e8e723d4558ab015cf82885571"
15 | },
16 | "_source": "git://github.com/Polymer/core-component-page.git",
17 | "_target": "^0.5",
18 | "_originalSource": "Polymer/core-component-page"
19 | }
--------------------------------------------------------------------------------
/components/core-component-page/README.md:
--------------------------------------------------------------------------------
1 | core-component-page
2 | ===================
3 |
4 | See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-component-page) for more information.
5 |
6 | Note: this is the vulcanized version of [`core-component-page-dev`](https://github.com/Polymer/core-component-page-dev) (the source).
7 |
--------------------------------------------------------------------------------
/components/core-component-page/bowager-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/core-component-page/bowager-logo.png
--------------------------------------------------------------------------------
/components/core-component-page/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-component-page",
3 | "private": true,
4 | "dependencies": {
5 | "webcomponentsjs": "Polymer/webcomponentsjs#^0.5",
6 | "polymer": "Polymer/polymer#^0.5"
7 | },
8 | "version": "0.5.5"
9 | }
--------------------------------------------------------------------------------
/components/core-component-page/demo.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/components/core-component-page/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/core-icon/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-icon",
3 | "private": true,
4 | "dependencies": {
5 | "core-iconset": "Polymer/core-iconset#master",
6 | "core-icons": "Polymer/core-icons#master"
7 | },
8 | "homepage": "https://github.com/Polymer/core-icon",
9 | "_release": "9441fa3f99",
10 | "_resolution": {
11 | "type": "branch",
12 | "branch": "master",
13 | "commit": "9441fa3f998b4238d018086014df1e52abbe10f2"
14 | },
15 | "_source": "git://github.com/Polymer/core-icon.git",
16 | "_target": "master",
17 | "_originalSource": "Polymer/core-icon"
18 | }
--------------------------------------------------------------------------------
/components/core-icon/README.md:
--------------------------------------------------------------------------------
1 | core-icon
2 | =========
3 |
4 | See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-icon) for more information.
5 |
--------------------------------------------------------------------------------
/components/core-icon/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-icon",
3 | "private": true,
4 | "dependencies": {
5 | "core-iconset": "Polymer/core-iconset#master",
6 | "core-icons": "Polymer/core-icons#master"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/components/core-icon/core-icon.css:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2 | This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3 | The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
4 | The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
5 | Code distributed by Google as part of the polymer project is also
6 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */
7 |
8 | html /deep/ core-icon {
9 | display: inline-block;
10 | vertical-align: middle;
11 | background-repeat: no-repeat;
12 | fill: currentcolor;
13 | position: relative;
14 | height: 24px;
15 | width: 24px;
16 | }
--------------------------------------------------------------------------------
/components/core-icon/demo.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-icon
13 |
14 |
15 |
16 |
17 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 | {{icon}}
46 |
47 |
48 |
49 |
50 |
51 | Sized icon:
52 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/components/core-icon/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/core-icon/metadata.html:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/components/core-icons/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-icons",
3 | "private": true,
4 | "dependencies": {
5 | "core-icon": "Polymer/core-icon#master",
6 | "core-iconset-svg": "Polymer/core-iconset-svg#master",
7 | "polymer": "Polymer/polymer#master"
8 | },
9 | "ignore": [
10 | "util",
11 | "update-icons.sh"
12 | ],
13 | "homepage": "https://github.com/Polymer/core-icons",
14 | "_release": "e6a82a5a4c",
15 | "_resolution": {
16 | "type": "branch",
17 | "branch": "master",
18 | "commit": "e6a82a5a4c5486b5be4d6834a097cbcffe65e16e"
19 | },
20 | "_source": "git://github.com/Polymer/core-icons.git",
21 | "_target": "master",
22 | "_originalSource": "Polymer/core-icons"
23 | }
--------------------------------------------------------------------------------
/components/core-icons/.gitignore:
--------------------------------------------------------------------------------
1 | util/node_modules
2 | material-design-icons
3 |
--------------------------------------------------------------------------------
/components/core-icons/README.md:
--------------------------------------------------------------------------------
1 | core-icons
2 | =========
3 |
4 | See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-icons) for more information.
5 |
6 | ## Building
7 | Running `update-icons.sh` will checkout [material-design-icons](https://github.com/google/material-design-icons), reduce
8 | the fileset to 24px svgs, and compile the iconsets.
9 |
--------------------------------------------------------------------------------
/components/core-icons/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-icons",
3 | "private": true,
4 | "dependencies": {
5 | "core-icon": "Polymer/core-icon#master",
6 | "core-iconset-svg": "Polymer/core-iconset-svg#master",
7 | "polymer": "Polymer/polymer#master"
8 | },
9 | "ignore": [
10 | "util",
11 | "update-icons.sh"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/components/core-icons/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/core-iconset-svg/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-iconset-svg",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master",
6 | "core-iconset": "Polymer/core-iconset#master"
7 | },
8 | "homepage": "https://github.com/Polymer/core-iconset-svg",
9 | "_release": "46f721bdc2",
10 | "_resolution": {
11 | "type": "branch",
12 | "branch": "master",
13 | "commit": "46f721bdc2c685b912cbf1598b186863fc1c1766"
14 | },
15 | "_source": "git://github.com/Polymer/core-iconset-svg.git",
16 | "_target": "master",
17 | "_originalSource": "Polymer/core-iconset-svg"
18 | }
--------------------------------------------------------------------------------
/components/core-iconset-svg/README.md:
--------------------------------------------------------------------------------
1 | core-iconset-svg
2 | =========
3 |
4 | See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-iconset-svg) for more information.
5 |
--------------------------------------------------------------------------------
/components/core-iconset-svg/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-iconset-svg",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master",
6 | "core-iconset": "Polymer/core-iconset#master"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/components/core-iconset-svg/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/core-iconset/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-iconset",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master",
6 | "core-meta": "Polymer/core-meta#master",
7 | "core-icon": "Polymer/core-icon#master"
8 | },
9 | "homepage": "https://github.com/Polymer/core-iconset",
10 | "_release": "c9f1aeb236",
11 | "_resolution": {
12 | "type": "branch",
13 | "branch": "master",
14 | "commit": "c9f1aeb2362696ea767ee876f55bb2087af51029"
15 | },
16 | "_source": "git://github.com/Polymer/core-iconset.git",
17 | "_target": "master",
18 | "_originalSource": "Polymer/core-iconset"
19 | }
--------------------------------------------------------------------------------
/components/core-iconset/README.md:
--------------------------------------------------------------------------------
1 | core-iconset
2 | ============
3 |
4 | See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-iconset) for more information.
5 |
--------------------------------------------------------------------------------
/components/core-iconset/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-iconset",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master",
6 | "core-meta": "Polymer/core-meta#master",
7 | "core-icon": "Polymer/core-icon#master"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/components/core-iconset/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/core-iconset/my-icons-big.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/core-iconset/my-icons-big.png
--------------------------------------------------------------------------------
/components/core-iconset/my-icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basic-web-components/components-dev/b76d1aadc3333fd5fafc107f0753b494355fa24c/components/core-iconset/my-icons.png
--------------------------------------------------------------------------------
/components/core-meta/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-meta",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master"
6 | },
7 | "homepage": "https://github.com/Polymer/core-meta",
8 | "_release": "b4743140c8",
9 | "_resolution": {
10 | "type": "branch",
11 | "branch": "master",
12 | "commit": "b4743140c8ec417451343dae5a12b636201283e6"
13 | },
14 | "_source": "git://github.com/Polymer/core-meta.git",
15 | "_target": "master",
16 | "_originalSource": "Polymer/core-meta"
17 | }
--------------------------------------------------------------------------------
/components/core-meta/README.md:
--------------------------------------------------------------------------------
1 | core-meta
2 | =========
3 |
4 | See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-meta) for more information.
5 |
--------------------------------------------------------------------------------
/components/core-meta/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-meta",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master"
6 | }
7 | }
--------------------------------------------------------------------------------
/components/core-meta/demo.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-meta
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | meta-data
29 |
30 |
31 | {{label}}
32 |
33 |
34 | meta-data (type: fruit)
35 |
36 |
37 | {{label}}
38 |
39 |
40 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/components/core-meta/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/core-selection/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-selection",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master"
6 | },
7 | "devDependencies": {
8 | "web-component-tester": "Polymer/web-component-tester#^1.1.0"
9 | },
10 | "homepage": "https://github.com/Polymer/core-selection",
11 | "_release": "f34bd8f1ed",
12 | "_resolution": {
13 | "type": "branch",
14 | "branch": "master",
15 | "commit": "f34bd8f1ed34e474a10ab13f58a2da14bf16c54f"
16 | },
17 | "_source": "git://github.com/Polymer/core-selection.git",
18 | "_target": "master",
19 | "_originalSource": "Polymer/core-selection"
20 | }
--------------------------------------------------------------------------------
/components/core-selection/README.md:
--------------------------------------------------------------------------------
1 | core-selection
2 | ==============
3 |
4 | See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-selection) for more information.
5 |
--------------------------------------------------------------------------------
/components/core-selection/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-selection",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master"
6 | },
7 | "devDependencies": {
8 | "web-component-tester": "Polymer/web-component-tester#^1.1.0"
9 | }
10 | }
--------------------------------------------------------------------------------
/components/core-selection/demo.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | Selection
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
32 |
33 |
36 |
37 |
38 |
39 |
40 |
50 |
51 |
52 |
53 | Red
54 | Green
55 | Blue
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/components/core-selection/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/core-selection/test/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 | Tests
15 |
16 |
17 |
18 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/components/core-selector/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-selector",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master",
6 | "core-selection": "Polymer/core-selection#master"
7 | },
8 | "devDependencies": {
9 | "web-component-tester": "Polymer/web-component-tester#^1.4.2"
10 | },
11 | "homepage": "https://github.com/Polymer/core-selector",
12 | "_release": "8c2bc5b435",
13 | "_resolution": {
14 | "type": "branch",
15 | "branch": "master",
16 | "commit": "8c2bc5b4350030e4420b01665cc7cfb95567b558"
17 | },
18 | "_source": "git://github.com/Polymer/core-selector.git",
19 | "_target": "master",
20 | "_originalSource": "Polymer/core-selector"
21 | }
--------------------------------------------------------------------------------
/components/core-selector/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules/
2 | .DS_Store
3 |
--------------------------------------------------------------------------------
/components/core-selector/README.md:
--------------------------------------------------------------------------------
1 | core-selector
2 | ==============
3 |
4 | See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-selector) for more information.
5 |
--------------------------------------------------------------------------------
/components/core-selector/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-selector",
3 | "private": true,
4 | "dependencies": {
5 | "polymer": "Polymer/polymer#master",
6 | "core-selection": "Polymer/core-selection#master"
7 | },
8 | "devDependencies": {
9 | "web-component-tester": "Polymer/web-component-tester#^1.4.2"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/core-selector/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/components/core-selector/metadata.html:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/components/core-selector/test/activate-event.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 | core-selector-activate-event
14 |
15 |
16 |
17 |
18 |
19 |
20 |
25 |
26 |
27 |
28 |
29 |
30 | Item 1
31 | Item 2
32 | Item 3
33 | Item 4
34 | Item 5
35 |
36 |
37 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/components/core-selector/test/index.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 | Tests
15 |
16 |
17 |
18 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/components/globalize/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "globalize",
3 | "homepage": "https://github.com/jquery/globalize",
4 | "version": "0.1.1",
5 | "_release": "0.1.1",
6 | "_resolution": {
7 | "type": "version",
8 | "tag": "v0.1.1",
9 | "commit": "2cbbe9e30609735aab9dc29d8c53c5cd8f810149"
10 | },
11 | "_source": "git://github.com/jquery/globalize.git",
12 | "_target": "0.x",
13 | "_originalSource": "globalize"
14 | }
--------------------------------------------------------------------------------
/components/globalize/.gitignore:
--------------------------------------------------------------------------------
1 | .project
2 | *~
3 | *.diff
4 | *.patch
5 | .DS_Store
6 | generator/bin
7 | generator/obj
8 | node_modules
9 | dist
--------------------------------------------------------------------------------
/components/globalize/.npmignore:
--------------------------------------------------------------------------------
1 | generator/
2 |
--------------------------------------------------------------------------------
/components/globalize/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright Software Freedom Conservancy, Inc.
2 | http://jquery.org/license
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining
5 | a copy of this software and associated documentation files (the
6 | "Software"), to deal in the Software without restriction, including
7 | without limitation the rights to use, copy, modify, merge, publish,
8 | distribute, sublicense, and/or sell copies of the Software, and to
9 | permit persons to whom the Software is furnished to do so, subject to
10 | the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be
13 | included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/components/globalize/examples/browser/browser.css:
--------------------------------------------------------------------------------
1 | body {
2 | font-family: Arial
3 | }
4 | a {
5 | color: #6D929B;
6 | }
7 | input {
8 | width: 100px;
9 | margin: 5px;
10 | }
11 | .results {
12 | border-collapse: collapse;
13 | }
14 | .results td {
15 | border: 1px solid #C1DAD7;
16 | padding: 2px 2px 2px 2px;
17 | color: #6D929B;
18 | font-size: x-small;
19 | white-space: nowrap;
20 | text-align: center;
21 | }
22 | .results th {
23 | border: 1px solid #C1DAD7;
24 | letter-spacing: 2px;
25 | text-align: center;
26 | padding: 6px 6px 6px 12px;
27 | white-space: nowrap;
28 | }
29 | table {
30 | width: 100%;
31 | }
32 | fieldset.info {
33 | width: 45%;
34 | float: left;
35 | }
36 | .info td {
37 | font-size: x-small;
38 | }
39 |
40 | .tab {
41 | margin-top: 5px;
42 | margin-right: 5px;
43 | padding: 2px;
44 | cursor: pointer;
45 | background-color: #EEEEEE;
46 | }
47 |
48 | .active {
49 | border: 1px solid black;
50 | float: left;
51 | }
52 |
53 | .inactive {
54 | float: left;
55 | }
56 |
57 | .tab.active {
58 | font-weight: bold;
59 | border: 1px solid black;
60 | float: left;
61 | }
62 |
63 | div.inactive {
64 | display: none;
65 | }
66 |
67 | div.active {
68 | clear: both;
69 | min-width: 100%;
70 | }
71 |
72 | .pane {
73 | margin-top: 10px;
74 | clear: both;
75 | }
76 |
77 | #intro {
78 | font-size: x-small;
79 | margin-bottom: 10px;
80 | }
--------------------------------------------------------------------------------
/components/globalize/generator/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("GlobalizationCultures")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("jQuery")]
12 | [assembly: AssemblyProduct("GlobalizeCultureGenerator")]
13 | [assembly: AssemblyCopyright("Copyright Software Freedom Conservancy, Inc.")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("d485ddf1-b620-429a-bc9e-619e9aa5edc4")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/components/globalize/generator/StringExt.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using Globalization;
6 |
7 | namespace Globalization {
8 | public static class StringExtensions {
9 | public static IEnumerable Split(this string str, Func controller) {
10 | int nextPiece = 0;
11 |
12 | for (int c = 0; c < str.Length; c++) {
13 | if (controller(str[c])) {
14 | yield return str.Substring(nextPiece, c - nextPiece);
15 | nextPiece = c + 1;
16 | }
17 | }
18 |
19 | yield return str.Substring(nextPiece);
20 | }
21 |
22 | public static string TrimMatchingQuotes(this string input, char quote) {
23 | if ((input.Length >= 2) &&
24 | (input[0] == quote) && (input[input.Length - 1] == quote))
25 | return input.Substring(1, input.Length - 2);
26 |
27 | return input;
28 | }
29 |
30 | public static IEnumerable SplitCommandLine(this string commandLine) {
31 | bool inQuotes = false;
32 |
33 | return commandLine.Split(c => {
34 | if (c == '\"')
35 | inQuotes = !inQuotes;
36 |
37 | return !inQuotes && c == ' ';
38 | }).Select(arg => arg.Trim().TrimMatchingQuotes('\"'))
39 | .Where(arg => !string.IsNullOrEmpty(arg));
40 | }
41 |
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/components/globalize/grunt.js:
--------------------------------------------------------------------------------
1 | module.exports = function( grunt ) {
2 |
3 | grunt.initConfig({
4 | pkg: "",
5 | meta: {
6 | banner: "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " +
7 | "<%= grunt.template.today('isoDate') %>\n" +
8 | "<%= pkg.homepage ? '* ' + pkg.homepage + '\n' : '' %>" +
9 | "* Copyright <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>;" +
10 | " Licensed <%= _.pluck(pkg.licenses, 'type').join(', ') %> */"
11 | },
12 | lint: {
13 | files: [ "lib/globalize.js", "lib/cultures/*.js", "test/*.js" ]
14 | },
15 | qunit: {
16 | files: [ "test/*.html" ]
17 | },
18 | watch: {
19 | files: [ "", "test/*.html" ],
20 | tasks: "lint qunit"
21 | },
22 | jshint: {
23 | options: {
24 | eqnull: true
25 | }
26 | },
27 | min: {
28 | "dist/globalize.min.js": [ "", "lib/globalize.js" ]
29 | }
30 | });
31 |
32 | // Default task.
33 | grunt.registerTask( "default", "lint qunit" );
34 |
35 | }
36 |
37 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.af-ZA.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture af-ZA
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "af-ZA", "default", {
29 | name: "af-ZA",
30 | englishName: "Afrikaans (South Africa)",
31 | nativeName: "Afrikaans (Suid Afrika)",
32 | language: "af",
33 | numberFormat: {
34 | percent: {
35 | pattern: ["-n%","n%"]
36 | },
37 | currency: {
38 | pattern: ["$-n","$ n"],
39 | symbol: "R"
40 | }
41 | },
42 | calendars: {
43 | standard: {
44 | days: {
45 | names: ["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],
46 | namesAbbr: ["Son","Maan","Dins","Woen","Dond","Vry","Sat"],
47 | namesShort: ["So","Ma","Di","Wo","Do","Vr","Sa"]
48 | },
49 | months: {
50 | names: ["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],
51 | namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""]
52 | },
53 | patterns: {
54 | d: "yyyy/MM/dd",
55 | D: "dd MMMM yyyy",
56 | t: "hh:mm tt",
57 | T: "hh:mm:ss tt",
58 | f: "dd MMMM yyyy hh:mm tt",
59 | F: "dd MMMM yyyy hh:mm:ss tt",
60 | M: "dd MMMM",
61 | Y: "MMMM yyyy"
62 | }
63 | }
64 | }
65 | });
66 |
67 | }( this ));
68 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.af.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture af
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "af", "default", {
29 | name: "af",
30 | englishName: "Afrikaans",
31 | nativeName: "Afrikaans",
32 | language: "af",
33 | numberFormat: {
34 | percent: {
35 | pattern: ["-n%","n%"]
36 | },
37 | currency: {
38 | pattern: ["$-n","$ n"],
39 | symbol: "R"
40 | }
41 | },
42 | calendars: {
43 | standard: {
44 | days: {
45 | names: ["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],
46 | namesAbbr: ["Son","Maan","Dins","Woen","Dond","Vry","Sat"],
47 | namesShort: ["So","Ma","Di","Wo","Do","Vr","Sa"]
48 | },
49 | months: {
50 | names: ["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],
51 | namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""]
52 | },
53 | patterns: {
54 | d: "yyyy/MM/dd",
55 | D: "dd MMMM yyyy",
56 | t: "hh:mm tt",
57 | T: "hh:mm:ss tt",
58 | f: "dd MMMM yyyy hh:mm tt",
59 | F: "dd MMMM yyyy hh:mm:ss tt",
60 | M: "dd MMMM",
61 | Y: "MMMM yyyy"
62 | }
63 | }
64 | }
65 | });
66 |
67 | }( this ));
68 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-029.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-029
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-029", "default", {
29 | name: "en-029",
30 | englishName: "English (Caribbean)",
31 | nativeName: "English (Caribbean)",
32 | numberFormat: {
33 | currency: {
34 | pattern: ["-$n","$n"]
35 | }
36 | },
37 | calendars: {
38 | standard: {
39 | firstDay: 1,
40 | patterns: {
41 | d: "MM/dd/yyyy"
42 | }
43 | }
44 | }
45 | });
46 |
47 | }( this ));
48 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-AU.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-AU
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-AU", "default", {
29 | name: "en-AU",
30 | englishName: "English (Australia)",
31 | nativeName: "English (Australia)",
32 | numberFormat: {
33 | currency: {
34 | pattern: ["-$n","$n"]
35 | }
36 | },
37 | calendars: {
38 | standard: {
39 | firstDay: 1,
40 | patterns: {
41 | d: "d/MM/yyyy",
42 | D: "dddd, d MMMM yyyy",
43 | f: "dddd, d MMMM yyyy h:mm tt",
44 | F: "dddd, d MMMM yyyy h:mm:ss tt",
45 | M: "dd MMMM",
46 | Y: "MMMM yyyy"
47 | }
48 | }
49 | }
50 | });
51 |
52 | }( this ));
53 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-BZ.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-BZ
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-BZ", "default", {
29 | name: "en-BZ",
30 | englishName: "English (Belize)",
31 | nativeName: "English (Belize)",
32 | numberFormat: {
33 | currency: {
34 | groupSizes: [3,0],
35 | symbol: "BZ$"
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | patterns: {
41 | d: "dd/MM/yyyy",
42 | D: "dddd, dd MMMM yyyy",
43 | t: "hh:mm tt",
44 | T: "hh:mm:ss tt",
45 | f: "dddd, dd MMMM yyyy hh:mm tt",
46 | F: "dddd, dd MMMM yyyy hh:mm:ss tt",
47 | M: "dd MMMM",
48 | Y: "MMMM yyyy"
49 | }
50 | }
51 | }
52 | });
53 |
54 | }( this ));
55 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-CA.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-CA
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-CA", "default", {
29 | name: "en-CA",
30 | englishName: "English (Canada)",
31 | nativeName: "English (Canada)",
32 | numberFormat: {
33 | currency: {
34 | pattern: ["-$n","$n"]
35 | }
36 | },
37 | calendars: {
38 | standard: {
39 | patterns: {
40 | d: "dd/MM/yyyy",
41 | D: "MMMM-dd-yy",
42 | f: "MMMM-dd-yy h:mm tt",
43 | F: "MMMM-dd-yy h:mm:ss tt"
44 | }
45 | }
46 | }
47 | });
48 |
49 | }( this ));
50 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-GB.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-GB
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-GB", "default", {
29 | name: "en-GB",
30 | englishName: "English (United Kingdom)",
31 | nativeName: "English (United Kingdom)",
32 | numberFormat: {
33 | currency: {
34 | pattern: ["-$n","$n"],
35 | symbol: "£"
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | firstDay: 1,
41 | patterns: {
42 | d: "dd/MM/yyyy",
43 | D: "dd MMMM yyyy",
44 | t: "HH:mm",
45 | T: "HH:mm:ss",
46 | f: "dd MMMM yyyy HH:mm",
47 | F: "dd MMMM yyyy HH:mm:ss",
48 | M: "dd MMMM",
49 | Y: "MMMM yyyy"
50 | }
51 | }
52 | }
53 | });
54 |
55 | }( this ));
56 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-IE.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-IE
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-IE", "default", {
29 | name: "en-IE",
30 | englishName: "English (Ireland)",
31 | nativeName: "English (Ireland)",
32 | numberFormat: {
33 | currency: {
34 | pattern: ["-$n","$n"],
35 | symbol: "€"
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | firstDay: 1,
41 | AM: null,
42 | PM: null,
43 | patterns: {
44 | d: "dd/MM/yyyy",
45 | D: "dd MMMM yyyy",
46 | t: "HH:mm",
47 | T: "HH:mm:ss",
48 | f: "dd MMMM yyyy HH:mm",
49 | F: "dd MMMM yyyy HH:mm:ss",
50 | M: "dd MMMM",
51 | Y: "MMMM yyyy"
52 | }
53 | }
54 | }
55 | });
56 |
57 | }( this ));
58 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-IN.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-IN
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-IN", "default", {
29 | name: "en-IN",
30 | englishName: "English (India)",
31 | nativeName: "English (India)",
32 | numberFormat: {
33 | groupSizes: [3,2],
34 | percent: {
35 | groupSizes: [3,2]
36 | },
37 | currency: {
38 | pattern: ["$ -n","$ n"],
39 | groupSizes: [3,2],
40 | symbol: "Rs."
41 | }
42 | },
43 | calendars: {
44 | standard: {
45 | "/": "-",
46 | firstDay: 1,
47 | patterns: {
48 | d: "dd-MM-yyyy",
49 | D: "dd MMMM yyyy",
50 | t: "HH:mm",
51 | T: "HH:mm:ss",
52 | f: "dd MMMM yyyy HH:mm",
53 | F: "dd MMMM yyyy HH:mm:ss",
54 | M: "dd MMMM"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-JM.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-JM
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-JM", "default", {
29 | name: "en-JM",
30 | englishName: "English (Jamaica)",
31 | nativeName: "English (Jamaica)",
32 | numberFormat: {
33 | currency: {
34 | pattern: ["-$n","$n"],
35 | symbol: "J$"
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | patterns: {
41 | d: "dd/MM/yyyy",
42 | t: "hh:mm tt",
43 | T: "hh:mm:ss tt",
44 | f: "dddd, MMMM dd, yyyy hh:mm tt",
45 | F: "dddd, MMMM dd, yyyy hh:mm:ss tt"
46 | }
47 | }
48 | }
49 | });
50 |
51 | }( this ));
52 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-MY.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-MY
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-MY", "default", {
29 | name: "en-MY",
30 | englishName: "English (Malaysia)",
31 | nativeName: "English (Malaysia)",
32 | numberFormat: {
33 | percent: {
34 | pattern: ["-n%","n%"]
35 | },
36 | currency: {
37 | symbol: "RM"
38 | }
39 | },
40 | calendars: {
41 | standard: {
42 | days: {
43 | namesShort: ["S","M","T","W","T","F","S"]
44 | },
45 | patterns: {
46 | d: "d/M/yyyy",
47 | D: "dddd, d MMMM, yyyy",
48 | f: "dddd, d MMMM, yyyy h:mm tt",
49 | F: "dddd, d MMMM, yyyy h:mm:ss tt",
50 | M: "d MMMM"
51 | }
52 | }
53 | }
54 | });
55 |
56 | }( this ));
57 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-NZ.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-NZ
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-NZ", "default", {
29 | name: "en-NZ",
30 | englishName: "English (New Zealand)",
31 | nativeName: "English (New Zealand)",
32 | numberFormat: {
33 | currency: {
34 | pattern: ["-$n","$n"]
35 | }
36 | },
37 | calendars: {
38 | standard: {
39 | firstDay: 1,
40 | AM: ["a.m.","a.m.","A.M."],
41 | PM: ["p.m.","p.m.","P.M."],
42 | patterns: {
43 | d: "d/MM/yyyy",
44 | D: "dddd, d MMMM yyyy",
45 | f: "dddd, d MMMM yyyy h:mm tt",
46 | F: "dddd, d MMMM yyyy h:mm:ss tt",
47 | M: "dd MMMM",
48 | Y: "MMMM yyyy"
49 | }
50 | }
51 | }
52 | });
53 |
54 | }( this ));
55 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-PH.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-PH
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-PH", "default", {
29 | name: "en-PH",
30 | englishName: "English (Republic of the Philippines)",
31 | nativeName: "English (Philippines)",
32 | numberFormat: {
33 | currency: {
34 | symbol: "Php"
35 | }
36 | }
37 | });
38 |
39 | }( this ));
40 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-SG.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-SG
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-SG", "default", {
29 | name: "en-SG",
30 | englishName: "English (Singapore)",
31 | nativeName: "English (Singapore)",
32 | numberFormat: {
33 | percent: {
34 | pattern: ["-n%","n%"]
35 | }
36 | },
37 | calendars: {
38 | standard: {
39 | days: {
40 | namesShort: ["S","M","T","W","T","F","S"]
41 | },
42 | patterns: {
43 | d: "d/M/yyyy",
44 | D: "dddd, d MMMM, yyyy",
45 | f: "dddd, d MMMM, yyyy h:mm tt",
46 | F: "dddd, d MMMM, yyyy h:mm:ss tt",
47 | M: "d MMMM"
48 | }
49 | }
50 | }
51 | });
52 |
53 | }( this ));
54 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-TT.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-TT
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-TT", "default", {
29 | name: "en-TT",
30 | englishName: "English (Trinidad and Tobago)",
31 | nativeName: "English (Trinidad y Tobago)",
32 | numberFormat: {
33 | currency: {
34 | groupSizes: [3,0],
35 | symbol: "TT$"
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | patterns: {
41 | d: "dd/MM/yyyy",
42 | D: "dddd, dd MMMM yyyy",
43 | t: "hh:mm tt",
44 | T: "hh:mm:ss tt",
45 | f: "dddd, dd MMMM yyyy hh:mm tt",
46 | F: "dddd, dd MMMM yyyy hh:mm:ss tt",
47 | M: "dd MMMM",
48 | Y: "MMMM yyyy"
49 | }
50 | }
51 | }
52 | });
53 |
54 | }( this ));
55 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-US.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-US
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-US", "default", {
29 | name: "en-US",
30 | englishName: "English (United States)"
31 | });
32 |
33 | }( this ));
34 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-ZA.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-ZA
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-ZA", "default", {
29 | name: "en-ZA",
30 | englishName: "English (South Africa)",
31 | nativeName: "English (South Africa)",
32 | numberFormat: {
33 | ",": " ",
34 | percent: {
35 | pattern: ["-n%","n%"],
36 | ",": " "
37 | },
38 | currency: {
39 | pattern: ["$-n","$ n"],
40 | ",": " ",
41 | ".": ",",
42 | symbol: "R"
43 | }
44 | },
45 | calendars: {
46 | standard: {
47 | patterns: {
48 | d: "yyyy/MM/dd",
49 | D: "dd MMMM yyyy",
50 | t: "hh:mm tt",
51 | T: "hh:mm:ss tt",
52 | f: "dd MMMM yyyy hh:mm tt",
53 | F: "dd MMMM yyyy hh:mm:ss tt",
54 | M: "dd MMMM",
55 | Y: "MMMM yyyy"
56 | }
57 | }
58 | }
59 | });
60 |
61 | }( this ));
62 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.en-ZW.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture en-ZW
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "en-ZW", "default", {
29 | name: "en-ZW",
30 | englishName: "English (Zimbabwe)",
31 | nativeName: "English (Zimbabwe)",
32 | numberFormat: {
33 | currency: {
34 | symbol: "Z$"
35 | }
36 | }
37 | });
38 |
39 | }( this ));
40 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.es-US.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture es-US
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "es-US", "default", {
29 | name: "es-US",
30 | englishName: "Spanish (United States)",
31 | nativeName: "Español (Estados Unidos)",
32 | language: "es",
33 | numberFormat: {
34 | groupSizes: [3,0],
35 | "NaN": "NeuN",
36 | negativeInfinity: "-Infinito",
37 | positiveInfinity: "Infinito",
38 | percent: {
39 | groupSizes: [3,0]
40 | }
41 | },
42 | calendars: {
43 | standard: {
44 | days: {
45 | names: ["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],
46 | namesAbbr: ["dom","lun","mar","mié","jue","vie","sáb"],
47 | namesShort: ["do","lu","ma","mi","ju","vi","sa"]
48 | },
49 | months: {
50 | names: ["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],
51 | namesAbbr: ["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""]
52 | },
53 | eras: [{"name":"d.C.","start":null,"offset":0}],
54 | patterns: {
55 | M: "dd' de 'MMMM",
56 | Y: "MMMM' de 'yyyy"
57 | }
58 | }
59 | }
60 | });
61 |
62 | }( this ));
63 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.fil-PH.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture fil-PH
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "fil-PH", "default", {
29 | name: "fil-PH",
30 | englishName: "Filipino (Philippines)",
31 | nativeName: "Filipino (Pilipinas)",
32 | language: "fil",
33 | numberFormat: {
34 | currency: {
35 | symbol: "PhP"
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | days: {
41 | names: ["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"],
42 | namesAbbr: ["Lin","Lun","Mar","Mier","Hueb","Bier","Saba"],
43 | namesShort: ["L","L","M","M","H","B","S"]
44 | },
45 | months: {
46 | names: ["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],
47 | namesAbbr: ["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""]
48 | },
49 | eras: [{"name":"Anno Domini","start":null,"offset":0}]
50 | }
51 | }
52 | });
53 |
54 | }( this ));
55 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.fil.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture fil
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "fil", "default", {
29 | name: "fil",
30 | englishName: "Filipino",
31 | nativeName: "Filipino",
32 | language: "fil",
33 | numberFormat: {
34 | currency: {
35 | symbol: "PhP"
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | days: {
41 | names: ["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"],
42 | namesAbbr: ["Lin","Lun","Mar","Mier","Hueb","Bier","Saba"],
43 | namesShort: ["L","L","M","M","H","B","S"]
44 | },
45 | months: {
46 | names: ["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],
47 | namesAbbr: ["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""]
48 | },
49 | eras: [{"name":"Anno Domini","start":null,"offset":0}]
50 | }
51 | }
52 | });
53 |
54 | }( this ));
55 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.ha-Latn-NG.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture ha-Latn-NG
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "ha-Latn-NG", "default", {
29 | name: "ha-Latn-NG",
30 | englishName: "Hausa (Latin, Nigeria)",
31 | nativeName: "Hausa (Nigeria)",
32 | language: "ha-Latn",
33 | numberFormat: {
34 | currency: {
35 | pattern: ["$-n","$ n"],
36 | symbol: "N"
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"],
43 | namesAbbr: ["Lah","Lit","Tal","Lar","Alh","Jum","Asa"],
44 | namesShort: ["L","L","T","L","A","J","A"]
45 | },
46 | months: {
47 | names: ["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],
48 | namesAbbr: ["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""]
49 | },
50 | AM: ["Safe","safe","SAFE"],
51 | PM: ["Yamma","yamma","YAMMA"],
52 | eras: [{"name":"AD","start":null,"offset":0}],
53 | patterns: {
54 | d: "d/M/yyyy"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.ha-Latn.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture ha-Latn
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "ha-Latn", "default", {
29 | name: "ha-Latn",
30 | englishName: "Hausa (Latin)",
31 | nativeName: "Hausa",
32 | language: "ha-Latn",
33 | numberFormat: {
34 | currency: {
35 | pattern: ["$-n","$ n"],
36 | symbol: "N"
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"],
43 | namesAbbr: ["Lah","Lit","Tal","Lar","Alh","Jum","Asa"],
44 | namesShort: ["L","L","T","L","A","J","A"]
45 | },
46 | months: {
47 | names: ["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],
48 | namesAbbr: ["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""]
49 | },
50 | AM: ["Safe","safe","SAFE"],
51 | PM: ["Yamma","yamma","YAMMA"],
52 | eras: [{"name":"AD","start":null,"offset":0}],
53 | patterns: {
54 | d: "d/M/yyyy"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.ha.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture ha
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "ha", "default", {
29 | name: "ha",
30 | englishName: "Hausa",
31 | nativeName: "Hausa",
32 | language: "ha",
33 | numberFormat: {
34 | currency: {
35 | pattern: ["$-n","$ n"],
36 | symbol: "N"
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"],
43 | namesAbbr: ["Lah","Lit","Tal","Lar","Alh","Jum","Asa"],
44 | namesShort: ["L","L","T","L","A","J","A"]
45 | },
46 | months: {
47 | names: ["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],
48 | namesAbbr: ["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""]
49 | },
50 | AM: ["Safe","safe","SAFE"],
51 | PM: ["Yamma","yamma","YAMMA"],
52 | eras: [{"name":"AD","start":null,"offset":0}],
53 | patterns: {
54 | d: "d/M/yyyy"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.hy-AM.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture hy-AM
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "hy-AM", "default", {
29 | name: "hy-AM",
30 | englishName: "Armenian (Armenia)",
31 | nativeName: "Հայերեն (Հայաստան)",
32 | language: "hy",
33 | numberFormat: {
34 | currency: {
35 | pattern: ["-n $","n $"],
36 | symbol: "դր."
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | "/": ".",
42 | firstDay: 1,
43 | days: {
44 | names: ["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"],
45 | namesAbbr: ["Կիր","Երկ","Երք","Չրք","Հնգ","ՈՒր","Շբթ"],
46 | namesShort: ["Կ","Ե","Ե","Չ","Հ","Ո","Շ"]
47 | },
48 | months: {
49 | names: ["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],
50 | namesAbbr: ["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""]
51 | },
52 | AM: null,
53 | PM: null,
54 | patterns: {
55 | d: "dd.MM.yyyy",
56 | D: "d MMMM, yyyy",
57 | t: "H:mm",
58 | T: "H:mm:ss",
59 | f: "d MMMM, yyyy H:mm",
60 | F: "d MMMM, yyyy H:mm:ss",
61 | M: "d MMMM"
62 | }
63 | }
64 | }
65 | });
66 |
67 | }( this ));
68 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.hy.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture hy
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "hy", "default", {
29 | name: "hy",
30 | englishName: "Armenian",
31 | nativeName: "Հայերեն",
32 | language: "hy",
33 | numberFormat: {
34 | currency: {
35 | pattern: ["-n $","n $"],
36 | symbol: "դր."
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | "/": ".",
42 | firstDay: 1,
43 | days: {
44 | names: ["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"],
45 | namesAbbr: ["Կիր","Երկ","Երք","Չրք","Հնգ","ՈՒր","Շբթ"],
46 | namesShort: ["Կ","Ե","Ե","Չ","Հ","Ո","Շ"]
47 | },
48 | months: {
49 | names: ["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],
50 | namesAbbr: ["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""]
51 | },
52 | AM: null,
53 | PM: null,
54 | patterns: {
55 | d: "dd.MM.yyyy",
56 | D: "d MMMM, yyyy",
57 | t: "H:mm",
58 | T: "H:mm:ss",
59 | f: "d MMMM, yyyy H:mm",
60 | F: "d MMMM, yyyy H:mm:ss",
61 | M: "d MMMM"
62 | }
63 | }
64 | }
65 | });
66 |
67 | }( this ));
68 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.ig-NG.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture ig-NG
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "ig-NG", "default", {
29 | name: "ig-NG",
30 | englishName: "Igbo (Nigeria)",
31 | nativeName: "Igbo (Nigeria)",
32 | language: "ig",
33 | numberFormat: {
34 | currency: {
35 | pattern: ["$-n","$ n"],
36 | symbol: "N"
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],
43 | namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"],
44 | namesShort: ["A","A","I","O","O","E","A"]
45 | },
46 | months: {
47 | names: ["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],
48 | namesAbbr: ["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""]
49 | },
50 | AM: ["Ututu","ututu","UTUTU"],
51 | PM: ["Efifie","efifie","EFIFIE"],
52 | eras: [{"name":"AD","start":null,"offset":0}],
53 | patterns: {
54 | d: "d/M/yyyy"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.ig.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture ig
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "ig", "default", {
29 | name: "ig",
30 | englishName: "Igbo",
31 | nativeName: "Igbo",
32 | language: "ig",
33 | numberFormat: {
34 | currency: {
35 | pattern: ["$-n","$ n"],
36 | symbol: "N"
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],
43 | namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"],
44 | namesShort: ["A","A","I","O","O","E","A"]
45 | },
46 | months: {
47 | names: ["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],
48 | namesAbbr: ["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""]
49 | },
50 | AM: ["Ututu","ututu","UTUTU"],
51 | PM: ["Efifie","efifie","EFIFIE"],
52 | eras: [{"name":"AD","start":null,"offset":0}],
53 | patterns: {
54 | d: "d/M/yyyy"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.iu-Cans-CA.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture iu-Cans-CA
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "iu-Cans-CA", "default", {
29 | name: "iu-Cans-CA",
30 | englishName: "Inuktitut (Syllabics, Canada)",
31 | nativeName: "ᐃᓄᒃᑎᑐᑦ (ᑲᓇᑕᒥ)",
32 | language: "iu-Cans",
33 | numberFormat: {
34 | groupSizes: [3,0],
35 | percent: {
36 | pattern: ["-n%","n%"],
37 | groupSizes: [3,0]
38 | },
39 | currency: {
40 | groupSizes: [3,0]
41 | }
42 | },
43 | calendars: {
44 | standard: {
45 | days: {
46 | names: ["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"],
47 | namesAbbr: ["ᓈᑦᑏ","ᓇᒡᒐ","ᐊᐃᑉᐱ","ᐱᖓᑦᓯ","ᓯᑕ","ᑕᓪᓕ","ᓯᕙᑖᕐᕕᒃ"],
48 | namesShort: ["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"]
49 | },
50 | months: {
51 | names: ["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],
52 | namesAbbr: ["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""]
53 | },
54 | patterns: {
55 | d: "d/M/yyyy",
56 | D: "dddd,MMMM dd,yyyy",
57 | f: "dddd,MMMM dd,yyyy h:mm tt",
58 | F: "dddd,MMMM dd,yyyy h:mm:ss tt",
59 | Y: "MMMM,yyyy"
60 | }
61 | }
62 | }
63 | });
64 |
65 | }( this ));
66 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.iu-Cans.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture iu-Cans
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "iu-Cans", "default", {
29 | name: "iu-Cans",
30 | englishName: "Inuktitut (Syllabics)",
31 | nativeName: "ᐃᓄᒃᑎᑐᑦ",
32 | language: "iu-Cans",
33 | numberFormat: {
34 | groupSizes: [3,0],
35 | percent: {
36 | pattern: ["-n%","n%"],
37 | groupSizes: [3,0]
38 | },
39 | currency: {
40 | groupSizes: [3,0]
41 | }
42 | },
43 | calendars: {
44 | standard: {
45 | days: {
46 | names: ["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"],
47 | namesAbbr: ["ᓈᑦᑏ","ᓇᒡᒐ","ᐊᐃᑉᐱ","ᐱᖓᑦᓯ","ᓯᑕ","ᑕᓪᓕ","ᓯᕙᑖᕐᕕᒃ"],
48 | namesShort: ["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"]
49 | },
50 | months: {
51 | names: ["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],
52 | namesAbbr: ["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""]
53 | },
54 | patterns: {
55 | d: "d/M/yyyy",
56 | D: "dddd,MMMM dd,yyyy",
57 | f: "dddd,MMMM dd,yyyy h:mm tt",
58 | F: "dddd,MMMM dd,yyyy h:mm:ss tt",
59 | Y: "MMMM,yyyy"
60 | }
61 | }
62 | }
63 | });
64 |
65 | }( this ));
66 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.iu-Latn-CA.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture iu-Latn-CA
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "iu-Latn-CA", "default", {
29 | name: "iu-Latn-CA",
30 | englishName: "Inuktitut (Latin, Canada)",
31 | nativeName: "Inuktitut (Kanatami)",
32 | language: "iu-Latn",
33 | numberFormat: {
34 | groupSizes: [3,0],
35 | percent: {
36 | groupSizes: [3,0]
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"],
43 | namesAbbr: ["Nat","Nag","Aip","Pi","Sit","Tal","Siv"],
44 | namesShort: ["N","N","A","P","S","T","S"]
45 | },
46 | months: {
47 | names: ["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],
48 | namesAbbr: ["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""]
49 | },
50 | patterns: {
51 | d: "d/MM/yyyy",
52 | D: "ddd, MMMM dd,yyyy",
53 | f: "ddd, MMMM dd,yyyy h:mm tt",
54 | F: "ddd, MMMM dd,yyyy h:mm:ss tt"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.iu-Latn.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture iu-Latn
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "iu-Latn", "default", {
29 | name: "iu-Latn",
30 | englishName: "Inuktitut (Latin)",
31 | nativeName: "Inuktitut",
32 | language: "iu-Latn",
33 | numberFormat: {
34 | groupSizes: [3,0],
35 | percent: {
36 | groupSizes: [3,0]
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"],
43 | namesAbbr: ["Nat","Nag","Aip","Pi","Sit","Tal","Siv"],
44 | namesShort: ["N","N","A","P","S","T","S"]
45 | },
46 | months: {
47 | names: ["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],
48 | namesAbbr: ["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""]
49 | },
50 | patterns: {
51 | d: "d/MM/yyyy",
52 | D: "ddd, MMMM dd,yyyy",
53 | f: "ddd, MMMM dd,yyyy h:mm tt",
54 | F: "ddd, MMMM dd,yyyy h:mm:ss tt"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.iu.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture iu
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "iu", "default", {
29 | name: "iu",
30 | englishName: "Inuktitut",
31 | nativeName: "Inuktitut",
32 | language: "iu",
33 | numberFormat: {
34 | groupSizes: [3,0],
35 | percent: {
36 | groupSizes: [3,0]
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"],
43 | namesAbbr: ["Nat","Nag","Aip","Pi","Sit","Tal","Siv"],
44 | namesShort: ["N","N","A","P","S","T","S"]
45 | },
46 | months: {
47 | names: ["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],
48 | namesAbbr: ["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""]
49 | },
50 | patterns: {
51 | d: "d/MM/yyyy",
52 | D: "ddd, MMMM dd,yyyy",
53 | f: "ddd, MMMM dd,yyyy h:mm tt",
54 | F: "ddd, MMMM dd,yyyy h:mm:ss tt"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.moh-CA.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture moh-CA
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "moh-CA", "default", {
29 | name: "moh-CA",
30 | englishName: "Mohawk (Mohawk)",
31 | nativeName: "Kanien'kéha",
32 | language: "moh",
33 | numberFormat: {
34 | groupSizes: [3,0],
35 | percent: {
36 | groupSizes: [3,0]
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"],
43 | namesShort: ["S","M","T","W","T","F","S"]
44 | },
45 | months: {
46 | names: ["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""]
47 | }
48 | }
49 | }
50 | });
51 |
52 | }( this ));
53 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.moh.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture moh
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "moh", "default", {
29 | name: "moh",
30 | englishName: "Mohawk",
31 | nativeName: "Kanien'kéha",
32 | language: "moh",
33 | numberFormat: {
34 | groupSizes: [3,0],
35 | percent: {
36 | groupSizes: [3,0]
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"],
43 | namesShort: ["S","M","T","W","T","F","S"]
44 | },
45 | months: {
46 | names: ["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""]
47 | }
48 | }
49 | }
50 | });
51 |
52 | }( this ));
53 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.ms-MY.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture ms-MY
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "ms-MY", "default", {
29 | name: "ms-MY",
30 | englishName: "Malay (Malaysia)",
31 | nativeName: "Bahasa Melayu (Malaysia)",
32 | language: "ms",
33 | numberFormat: {
34 | currency: {
35 | decimals: 0,
36 | symbol: "RM"
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | firstDay: 1,
42 | days: {
43 | names: ["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],
44 | namesAbbr: ["Ahad","Isnin","Sel","Rabu","Khamis","Jumaat","Sabtu"],
45 | namesShort: ["A","I","S","R","K","J","S"]
46 | },
47 | months: {
48 | names: ["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],
49 | namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""]
50 | },
51 | AM: null,
52 | PM: null,
53 | patterns: {
54 | d: "dd/MM/yyyy",
55 | D: "dd MMMM yyyy",
56 | t: "H:mm",
57 | T: "H:mm:ss",
58 | f: "dd MMMM yyyy H:mm",
59 | F: "dd MMMM yyyy H:mm:ss",
60 | M: "dd MMMM",
61 | Y: "MMMM yyyy"
62 | }
63 | }
64 | }
65 | });
66 |
67 | }( this ));
68 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.ms.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture ms
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "ms", "default", {
29 | name: "ms",
30 | englishName: "Malay",
31 | nativeName: "Bahasa Melayu",
32 | language: "ms",
33 | numberFormat: {
34 | currency: {
35 | decimals: 0,
36 | symbol: "RM"
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | firstDay: 1,
42 | days: {
43 | names: ["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],
44 | namesAbbr: ["Ahad","Isnin","Sel","Rabu","Khamis","Jumaat","Sabtu"],
45 | namesShort: ["A","I","S","R","K","J","S"]
46 | },
47 | months: {
48 | names: ["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],
49 | namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""]
50 | },
51 | AM: null,
52 | PM: null,
53 | patterns: {
54 | d: "dd/MM/yyyy",
55 | D: "dd MMMM yyyy",
56 | t: "H:mm",
57 | T: "H:mm:ss",
58 | f: "dd MMMM yyyy H:mm",
59 | F: "dd MMMM yyyy H:mm:ss",
60 | M: "dd MMMM",
61 | Y: "MMMM yyyy"
62 | }
63 | }
64 | }
65 | });
66 |
67 | }( this ));
68 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.mt.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture mt
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "mt", "default", {
29 | name: "mt",
30 | englishName: "Maltese",
31 | nativeName: "Malti",
32 | language: "mt",
33 | numberFormat: {
34 | percent: {
35 | pattern: ["-%n","%n"]
36 | },
37 | currency: {
38 | pattern: ["-$n","$n"],
39 | symbol: "€"
40 | }
41 | },
42 | calendars: {
43 | standard: {
44 | firstDay: 1,
45 | days: {
46 | names: ["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],
47 | namesAbbr: ["Ħad","Tne","Tli","Erb","Ħam","Ġim","Sib"],
48 | namesShort: ["I","I","I","L","I","I","I"]
49 | },
50 | months: {
51 | names: ["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""],
52 | namesAbbr: ["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Awi","Set","Ott","Nov","Diċ",""]
53 | },
54 | patterns: {
55 | d: "dd/MM/yyyy",
56 | D: "dddd, d' ta\\' 'MMMM yyyy",
57 | t: "HH:mm",
58 | T: "HH:mm:ss",
59 | f: "dddd, d' ta\\' 'MMMM yyyy HH:mm",
60 | F: "dddd, d' ta\\' 'MMMM yyyy HH:mm:ss",
61 | M: "d' ta\\' 'MMMM",
62 | Y: "MMMM yyyy"
63 | }
64 | }
65 | }
66 | });
67 |
68 | }( this ));
69 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.nso.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture nso
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "nso", "default", {
29 | name: "nso",
30 | englishName: "Sesotho sa Leboa",
31 | nativeName: "Sesotho sa Leboa",
32 | language: "nso",
33 | numberFormat: {
34 | percent: {
35 | pattern: ["-%n","%n"]
36 | },
37 | currency: {
38 | pattern: ["$-n","$ n"],
39 | symbol: "R"
40 | }
41 | },
42 | calendars: {
43 | standard: {
44 | days: {
45 | names: ["Lamorena","Mošupologo","Labobedi","Laboraro","Labone","Labohlano","Mokibelo"],
46 | namesAbbr: ["Lam","Moš","Lbb","Lbr","Lbn","Lbh","Mok"],
47 | namesShort: ["L","M","L","L","L","L","M"]
48 | },
49 | months: {
50 | names: ["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""],
51 | namesAbbr: ["Pher","Hlak","Mop","Mor","Mos","Ngwat","Phup","Phat","Lew","Dip","Dib","Man",""]
52 | },
53 | patterns: {
54 | d: "yyyy/MM/dd",
55 | D: "dd MMMM yyyy",
56 | t: "hh:mm tt",
57 | T: "hh:mm:ss tt",
58 | f: "dd MMMM yyyy hh:mm tt",
59 | F: "dd MMMM yyyy hh:mm:ss tt",
60 | M: "dd MMMM",
61 | Y: "MMMM yyyy"
62 | }
63 | }
64 | }
65 | });
66 |
67 | }( this ));
68 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.rw.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture rw
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "rw", "default", {
29 | name: "rw",
30 | englishName: "Kinyarwanda",
31 | nativeName: "Kinyarwanda",
32 | language: "rw",
33 | numberFormat: {
34 | ",": " ",
35 | ".": ",",
36 | percent: {
37 | ",": " ",
38 | ".": ","
39 | },
40 | currency: {
41 | pattern: ["$-n","$ n"],
42 | ",": " ",
43 | ".": ",",
44 | symbol: "RWF"
45 | }
46 | },
47 | calendars: {
48 | standard: {
49 | days: {
50 | names: ["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],
51 | namesAbbr: ["mbe.","kab.","gat.","kan.","gat.","gat.","cyu."],
52 | namesShort: ["mb","ka","ga","ka","ga","ga","cy"]
53 | },
54 | months: {
55 | names: ["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""],
56 | namesAbbr: ["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukwa","Ugu","Uku",""]
57 | },
58 | AM: ["saa moya z.m.","saa moya z.m.","SAA MOYA Z.M."],
59 | PM: ["saa moya z.n.","saa moya z.n.","SAA MOYA Z.N."],
60 | eras: [{"name":"AD","start":null,"offset":0}]
61 | }
62 | }
63 | });
64 |
65 | }( this ));
66 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.sw-KE.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture sw-KE
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "sw-KE", "default", {
29 | name: "sw-KE",
30 | englishName: "Kiswahili (Kenya)",
31 | nativeName: "Kiswahili (Kenya)",
32 | language: "sw",
33 | numberFormat: {
34 | currency: {
35 | symbol: "S"
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | days: {
41 | names: ["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"],
42 | namesAbbr: ["Jumap.","Jumat.","Juman.","Jumat.","Alh.","Iju.","Jumam."],
43 | namesShort: ["P","T","N","T","A","I","M"]
44 | },
45 | months: {
46 | names: ["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],
47 | namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""]
48 | }
49 | }
50 | }
51 | });
52 |
53 | }( this ));
54 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.sw.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture sw
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "sw", "default", {
29 | name: "sw",
30 | englishName: "Kiswahili",
31 | nativeName: "Kiswahili",
32 | language: "sw",
33 | numberFormat: {
34 | currency: {
35 | symbol: "S"
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | days: {
41 | names: ["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"],
42 | namesAbbr: ["Jumap.","Jumat.","Juman.","Jumat.","Alh.","Iju.","Jumam."],
43 | namesShort: ["P","T","N","T","A","I","M"]
44 | },
45 | months: {
46 | names: ["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],
47 | namesAbbr: ["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""]
48 | }
49 | }
50 | }
51 | });
52 |
53 | }( this ));
54 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.xh-ZA.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture xh-ZA
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "xh-ZA", "default", {
29 | name: "xh-ZA",
30 | englishName: "isiXhosa (South Africa)",
31 | nativeName: "isiXhosa (uMzantsi Afrika)",
32 | language: "xh",
33 | numberFormat: {
34 | percent: {
35 | pattern: ["-%n","%n"]
36 | },
37 | currency: {
38 | pattern: ["$-n","$ n"],
39 | symbol: "R"
40 | }
41 | },
42 | calendars: {
43 | standard: {
44 | days: {
45 | names: ["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],
46 | namesShort: ["Ca","Mv","Lb","Lt","Ln","Lh","Mg"]
47 | },
48 | months: {
49 | names: ["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""]
50 | },
51 | patterns: {
52 | d: "yyyy/MM/dd",
53 | D: "dd MMMM yyyy",
54 | t: "hh:mm tt",
55 | T: "hh:mm:ss tt",
56 | f: "dd MMMM yyyy hh:mm tt",
57 | F: "dd MMMM yyyy hh:mm:ss tt",
58 | M: "dd MMMM",
59 | Y: "MMMM yyyy"
60 | }
61 | }
62 | }
63 | });
64 |
65 | }( this ));
66 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.xh.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture xh
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "xh", "default", {
29 | name: "xh",
30 | englishName: "isiXhosa",
31 | nativeName: "isiXhosa",
32 | language: "xh",
33 | numberFormat: {
34 | percent: {
35 | pattern: ["-%n","%n"]
36 | },
37 | currency: {
38 | pattern: ["$-n","$ n"],
39 | symbol: "R"
40 | }
41 | },
42 | calendars: {
43 | standard: {
44 | days: {
45 | names: ["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],
46 | namesShort: ["Ca","Mv","Lb","Lt","Ln","Lh","Mg"]
47 | },
48 | months: {
49 | names: ["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""]
50 | },
51 | patterns: {
52 | d: "yyyy/MM/dd",
53 | D: "dd MMMM yyyy",
54 | t: "hh:mm tt",
55 | T: "hh:mm:ss tt",
56 | f: "dd MMMM yyyy hh:mm tt",
57 | F: "dd MMMM yyyy hh:mm:ss tt",
58 | M: "dd MMMM",
59 | Y: "MMMM yyyy"
60 | }
61 | }
62 | }
63 | });
64 |
65 | }( this ));
66 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.yo-NG.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture yo-NG
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "yo-NG", "default", {
29 | name: "yo-NG",
30 | englishName: "Yoruba (Nigeria)",
31 | nativeName: "Yoruba (Nigeria)",
32 | language: "yo",
33 | numberFormat: {
34 | currency: {
35 | pattern: ["$-n","$ n"],
36 | symbol: "N"
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],
43 | namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"],
44 | namesShort: ["A","A","I","O","O","E","A"]
45 | },
46 | months: {
47 | names: ["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],
48 | namesAbbr: ["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""]
49 | },
50 | AM: ["Owuro","owuro","OWURO"],
51 | PM: ["Ale","ale","ALE"],
52 | eras: [{"name":"AD","start":null,"offset":0}],
53 | patterns: {
54 | d: "d/M/yyyy"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.yo.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture yo
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "yo", "default", {
29 | name: "yo",
30 | englishName: "Yoruba",
31 | nativeName: "Yoruba",
32 | language: "yo",
33 | numberFormat: {
34 | currency: {
35 | pattern: ["$-n","$ n"],
36 | symbol: "N"
37 | }
38 | },
39 | calendars: {
40 | standard: {
41 | days: {
42 | names: ["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],
43 | namesAbbr: ["Aik","Aje","Ise","Ojo","Ojo","Eti","Aba"],
44 | namesShort: ["A","A","I","O","O","E","A"]
45 | },
46 | months: {
47 | names: ["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],
48 | namesAbbr: ["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""]
49 | },
50 | AM: ["Owuro","owuro","OWURO"],
51 | PM: ["Ale","ale","ALE"],
52 | eras: [{"name":"AD","start":null,"offset":0}],
53 | patterns: {
54 | d: "d/M/yyyy"
55 | }
56 | }
57 | }
58 | });
59 |
60 | }( this ));
61 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.zh-SG.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture zh-SG
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "zh-SG", "default", {
29 | name: "zh-SG",
30 | englishName: "Chinese (Simplified, Singapore)",
31 | nativeName: "中文(新加坡)",
32 | language: "zh-CHS",
33 | numberFormat: {
34 | percent: {
35 | pattern: ["-n%","n%"]
36 | }
37 | },
38 | calendars: {
39 | standard: {
40 | days: {
41 | names: ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],
42 | namesAbbr: ["周日","周一","周二","周三","周四","周五","周六"],
43 | namesShort: ["日","一","二","三","四","五","六"]
44 | },
45 | months: {
46 | names: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],
47 | namesAbbr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""]
48 | },
49 | patterns: {
50 | d: "d/M/yyyy",
51 | D: "yyyy'年'M'月'd'日'",
52 | t: "tt h:mm",
53 | T: "tt h:mm:ss",
54 | f: "yyyy'年'M'月'd'日' tt h:mm",
55 | F: "yyyy'年'M'月'd'日' tt h:mm:ss",
56 | M: "M'月'd'日'",
57 | Y: "yyyy'年'M'月'"
58 | }
59 | }
60 | }
61 | });
62 |
63 | }( this ));
64 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.zu-ZA.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture zu-ZA
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "zu-ZA", "default", {
29 | name: "zu-ZA",
30 | englishName: "isiZulu (South Africa)",
31 | nativeName: "isiZulu (iNingizimu Afrika)",
32 | language: "zu",
33 | numberFormat: {
34 | percent: {
35 | pattern: ["-%n","%n"]
36 | },
37 | currency: {
38 | pattern: ["$-n","$ n"],
39 | symbol: "R"
40 | }
41 | },
42 | calendars: {
43 | standard: {
44 | days: {
45 | names: ["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],
46 | namesAbbr: ["Son.","Mso.","Bi.","Tha.","Ne.","Hla.","Mgq."]
47 | },
48 | months: {
49 | names: ["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],
50 | namesAbbr: ["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""]
51 | },
52 | patterns: {
53 | d: "yyyy/MM/dd",
54 | D: "dd MMMM yyyy",
55 | t: "hh:mm tt",
56 | T: "hh:mm:ss tt",
57 | f: "dd MMMM yyyy hh:mm tt",
58 | F: "dd MMMM yyyy hh:mm:ss tt",
59 | M: "dd MMMM",
60 | Y: "MMMM yyyy"
61 | }
62 | }
63 | }
64 | });
65 |
66 | }( this ));
67 |
--------------------------------------------------------------------------------
/components/globalize/lib/cultures/globalize.culture.zu.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Globalize Culture zu
3 | *
4 | * http://github.com/jquery/globalize
5 | *
6 | * Copyright Software Freedom Conservancy, Inc.
7 | * Dual licensed under the MIT or GPL Version 2 licenses.
8 | * http://jquery.org/license
9 | *
10 | * This file was generated by the Globalize Culture Generator
11 | * Translation: bugs found in this file need to be fixed in the generator
12 | */
13 |
14 | (function( window, undefined ) {
15 |
16 | var Globalize;
17 |
18 | if ( typeof require !== "undefined" &&
19 | typeof exports !== "undefined" &&
20 | typeof module !== "undefined" ) {
21 | // Assume CommonJS
22 | Globalize = require( "globalize" );
23 | } else {
24 | // Global variable
25 | Globalize = window.Globalize;
26 | }
27 |
28 | Globalize.addCultureInfo( "zu", "default", {
29 | name: "zu",
30 | englishName: "isiZulu",
31 | nativeName: "isiZulu",
32 | language: "zu",
33 | numberFormat: {
34 | percent: {
35 | pattern: ["-%n","%n"]
36 | },
37 | currency: {
38 | pattern: ["$-n","$ n"],
39 | symbol: "R"
40 | }
41 | },
42 | calendars: {
43 | standard: {
44 | days: {
45 | names: ["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],
46 | namesAbbr: ["Son.","Mso.","Bi.","Tha.","Ne.","Hla.","Mgq."]
47 | },
48 | months: {
49 | names: ["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],
50 | namesAbbr: ["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""]
51 | },
52 | patterns: {
53 | d: "yyyy/MM/dd",
54 | D: "dd MMMM yyyy",
55 | t: "hh:mm tt",
56 | T: "hh:mm:ss tt",
57 | f: "dd MMMM yyyy hh:mm tt",
58 | F: "dd MMMM yyyy hh:mm:ss tt",
59 | M: "dd MMMM",
60 | Y: "MMMM yyyy"
61 | }
62 | }
63 | }
64 | });
65 |
66 | }( this ));
67 |
--------------------------------------------------------------------------------
/components/globalize/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "globalize",
3 | "version": "0.1.1",
4 | "description": "New age globalization and localization. Formats and parses strings, dates and numbers in over 350 cultures.",
5 | "keywords": [
6 | "utility",
7 | "globalization",
8 | "internationalization",
9 | "multilingualization",
10 | "localization",
11 | "g11n",
12 | "i18n",
13 | "m17n",
14 | "L10n",
15 | "localize",
16 | "format",
17 | "parse",
18 | "translate",
19 | "strings",
20 | "numbers",
21 | "dates",
22 | "times",
23 | "calendars",
24 | "cultures",
25 | "languages",
26 | "locales"
27 | ],
28 | "homepage": "https://github.com/jquery/globalize",
29 | "author": "The jQuery Project",
30 | "contributors": [
31 | "Dave Reed (http://weblogs.asp.net/infinitiesloop)",
32 | "Richard D. Worth (http://rdworth.org)",
33 | "Jörn Zaefferer (http://bassistance.de)",
34 | "Legal-Box (http://www.legal-box.com)",
35 | "Nikolaus Graf (http://www.nikgraf.com)",
36 | "Tobie Langel (http://tobielangel.com)",
37 | "Boris Moore (http://www.borismoore.com)"
38 | ],
39 | "main": "./lib/globalize.js",
40 | "repository": {
41 | "type": "git",
42 | "url": "git://github.com/jquery/globalize.git"
43 | },
44 | "bugs": {
45 | "web": "http://github.com/jquery/globalize/issues"
46 | },
47 | "devDependencies": {
48 | "grunt": "0.3.17"
49 | },
50 | "licenses": [
51 | {
52 | "type": "MIT",
53 | "url": "http://jquery.org/license"
54 | }
55 | ]
56 | }
57 |
--------------------------------------------------------------------------------
/components/globalize/test/culture.js:
--------------------------------------------------------------------------------
1 | module( "culture", lifecycle );
2 |
3 | test("culture setter", function() {
4 | // Issue #45: Globalize.culture("es-AO") appears to work but does not set culture
5 | // For this test to be valid, it must use a selector that is a close
6 | // but not exact match, so de-DE does not work as it is an exact match
7 | // de-de would work but is only different by case, so we'll use de-FOO
8 | var closestReturn, closestSet;
9 |
10 | // Set current culture using a close (but not exact) culture selector
11 | closestReturn = Globalize.culture("de-FOO");
12 |
13 | // Get current culture testing set by previous call to culture(sel) setter
14 | closestSet = Globalize.culture();
15 |
16 | equal( closestReturn.name, "de" );
17 | equal( closestSet.name, "de" );
18 | });
19 |
--------------------------------------------------------------------------------
/components/globalize/test/cultures.js:
--------------------------------------------------------------------------------
1 | module( "cultures", lifecycle );
2 |
3 | test("Culture name property and key", function() {
4 | var name,
5 | culture;
6 |
7 | for ( name in Globalize.cultures ) {
8 | // default is an exception since it has the name default
9 | // inside cultures but internally its name is 'en' (neutral English)
10 | if ( name !== "default" ) {
11 | culture = Globalize.cultures[ name ];
12 | equal( culture.name, name, "Name property in culture matches name key in cultures" );
13 | }
14 | }
15 | });
16 |
--------------------------------------------------------------------------------
/components/globalize/test/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Globalize Testsuite
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/components/globalize/test/instance.js:
--------------------------------------------------------------------------------
1 | module("instance", lifecycle );
2 |
3 | test("constructor sets culture", function() {
4 | var globalizeDe = Globalize("de");
5 | equal( Globalize.parseFloat("5.3"), 5.3 );
6 | equal( Globalize.parseFloat("5,3"), 53 );
7 | equal( Globalize.parseFloat("5.3", "de"), 53 );
8 | equal( Globalize.parseFloat("5,3", "de"), 5.3 );
9 | equal( globalizeDe.parseFloat("5.3"), 53 );
10 | equal( globalizeDe.parseFloat("5,3"), 5.3 );
11 | equal( globalizeDe.parseFloat("5.3", "en"), 5.3 );
12 | equal( globalizeDe.parseFloat("5,3", "en"), 53 );
13 | });
14 |
--------------------------------------------------------------------------------
/components/globalize/test/localize.js:
--------------------------------------------------------------------------------
1 | module( "localize", lifecycle );
2 |
3 | test('set and retrieve translations', function() {
4 | Globalize.addCultureInfo("fr", {
5 | messages: {
6 | "translate": "traduire"
7 | }
8 | });
9 | strictEqual( Globalize.localize("translate", "fr"), "traduire", "translate 'translate' to french" );
10 | strictEqual( Globalize("fr").localize("translate"), "traduire", "translate 'translate' to french" );
11 | });
12 |
13 | test('retrieve translations with new culture', function() {
14 | Globalize.addCultureInfo( "pirate", {
15 | messages: {
16 | "translate": "TARRRR"
17 | }
18 | });
19 | Globalize.culture("pirate");
20 | strictEqual( Globalize.localize("translate"), "TARRRR", "translate 'translate' to pirate language" );
21 | });
22 |
23 | test('Retrieve translations for the most appropriate culture', function() {
24 | Globalize.addCultureInfo("default", {
25 | messages: {
26 | "hello": "hello",
27 | "world": "world"
28 | }
29 | });
30 |
31 | Globalize.addCultureInfo("es", {
32 | messages: {
33 | "world": "mundo"
34 | }
35 | });
36 |
37 | Globalize.culture("es");
38 |
39 | strictEqual( Globalize.localize("world"), "mundo", "Key exists in current culture 'es'");
40 | strictEqual( Globalize.localize("world", "es"), "mundo", "Key exists in specified culture");
41 | strictEqual( Globalize.localize("world", "fr"), "world",
42 | "Key does not exist in specified culture but does exist in default culture");
43 | strictEqual( Globalize.localize("hello"), "hello",
44 | "Key does not exist in current culture, but does exist in default culture");
45 | strictEqual( Globalize.localize("goodbye"), undefined,
46 | "Key does not exist in current culture or default culture");
47 | });
48 |
--------------------------------------------------------------------------------
/components/globalize/test/testsuite.js:
--------------------------------------------------------------------------------
1 | // Test suite helper methods
2 | (function( window, undefined ) {
3 | var cultures = Globalize.cultures;
4 |
5 | window.lifecycle = {
6 | setup: function() {
7 | cultures = Globalize.cultures;
8 | Globalize.culture( "default" );
9 | },
10 | teardown: function() {
11 | Globalize.cultures = cultures;
12 | }
13 | };
14 |
15 | window.originalCultures = function( culture ) {
16 | return culture ? cultures[ culture ] : cultures;
17 | };
18 |
19 | })( this );
20 |
--------------------------------------------------------------------------------
/components/observe-js/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "observe-js",
3 | "homepage": "https://github.com/Polymer/observe-js",
4 | "authors": [
5 | "The Polymer Authors"
6 | ],
7 | "description": "A library for observing Arrays, Objects and PathValues",
8 | "main": "src/observe.js",
9 | "keywords": [
10 | "Object.observe"
11 | ],
12 | "license": "BSD",
13 | "private": true,
14 | "ignore": [
15 | "**/.*",
16 | "node_modules",
17 | "bower_components",
18 | "test",
19 | "tests"
20 | ],
21 | "_release": "3cf0621767",
22 | "_resolution": {
23 | "type": "branch",
24 | "branch": "master",
25 | "commit": "3cf0621767815310f65015b6f6095dc6827e3ce4"
26 | },
27 | "_source": "git://github.com/Polymer/observe-js.git",
28 | "_target": "master",
29 | "_originalSource": "Polymer/observe-js"
30 | }
--------------------------------------------------------------------------------
/components/observe-js/AUTHORS:
--------------------------------------------------------------------------------
1 | # Names should be added to this file with this pattern:
2 | #
3 | # For individuals:
4 | # Name
5 | #
6 | # For organizations:
7 | # Organization
8 | #
9 | Google Inc. <*@google.com>
10 |
--------------------------------------------------------------------------------
/components/observe-js/benchmark/d8_benchmarks.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | * Code distributed by Google as part of the polymer project is also
7 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 |
10 | var console = {
11 | log: print
12 | };
13 |
14 | var requestAnimationFrame = function(callback) {
15 | callback();
16 | }
17 |
18 | recordCount = 0;
19 |
20 | var alert = print;
21 |
22 | function reportResults(times) {
23 | console.log(JSON.stringify(times));
24 | }
25 |
26 | function reportStatus(b, variation, count) {
27 | console.log(b.objectCount + ' objects, ' + count + ' runs.');
28 | }
29 |
30 | var objectCounts = [ 4000, 8000, 16000 ];
31 |
32 | var benchmarks = [];
33 |
34 | objectCounts.forEach(function(objectCount, i) {
35 | benchmarks.push(
36 | new SetupPathBenchmark('', objectCount));
37 | });
38 |
39 | Benchmark.all(benchmarks, 0, reportStatus).then(reportResults);
40 |
41 |
--------------------------------------------------------------------------------
/components/observe-js/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "observe-js",
3 | "homepage": "https://github.com/Polymer/observe-js",
4 | "authors": [
5 | "The Polymer Authors"
6 | ],
7 | "description": "A library for observing Arrays, Objects and PathValues",
8 | "main": "src/observe.js",
9 | "keywords": [
10 | "Object.observe"
11 | ],
12 | "license": "BSD",
13 | "private": true,
14 | "ignore": [
15 | "**/.*",
16 | "node_modules",
17 | "bower_components",
18 | "test",
19 | "tests"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/components/observe-js/codereview.settings:
--------------------------------------------------------------------------------
1 | # This file is used by gcl to get repository specific information.
2 | CODE_REVIEW_SERVER: https://codereview.appspot.com
3 | VIEW_VC: https://github.com/Polymer/observe-js/commit/
4 |
5 |
--------------------------------------------------------------------------------
/components/observe-js/conf/karma.conf.js:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | module.exports = function(karma) {
12 | var common = require('../../tools/test/karma-common.conf.js');
13 | karma.set(common.mixin_common_opts(karma, {
14 | // base path, that will be used to resolve files and exclude
15 | basePath: '../',
16 |
17 | // list of files / patterns to load in the browser
18 | files: [
19 | 'node_modules/chai/chai.js',
20 | 'conf/mocha.conf.js',
21 | 'src/observe.js',
22 | 'util/array_reduction.js',
23 | 'tests/*.js'
24 | ],
25 |
26 | // list of files to exclude
27 | exclude: [
28 | 'tests/d8_array_fuzzer.js',
29 | 'tests/d8_planner_test.js'
30 | ],
31 | }));
32 | };
33 |
--------------------------------------------------------------------------------
/components/observe-js/conf/mocha.conf.js:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | mocha.setup({
12 | ui:'tdd',
13 | ignoreLeaks: true
14 | });
15 | var assert = chai.assert;
16 |
--------------------------------------------------------------------------------
/components/observe-js/examples/constrain.html:
--------------------------------------------------------------------------------
1 |
9 |
10 | The world's simplest constraint-solver
11 |
12 |
30 |
--------------------------------------------------------------------------------
/components/observe-js/examples/persist.html:
--------------------------------------------------------------------------------
1 |
9 |
10 | The worlds simplest persistence system
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/components/observe-js/gruntfile.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | * Code distributed by Google as part of the polymer project is also
7 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 |
10 | module.exports = function(grunt) {
11 | grunt.initConfig({
12 | karma: {
13 | options: {
14 | configFile: 'conf/karma.conf.js',
15 | keepalive: true
16 | },
17 | buildbot: {
18 | reporters: ['crbot'],
19 | logLevel: 'OFF'
20 | },
21 | 'observe-js': {
22 | }
23 | }
24 | });
25 |
26 | grunt.loadTasks('../tools/tasks');
27 | grunt.loadNpmTasks('grunt-karma');
28 |
29 | grunt.registerTask('default', 'test');
30 | grunt.registerTask('test', ['override-chrome-launcher', 'karma:observe-js']);
31 | grunt.registerTask('test-buildbot', ['override-chrome-launcher', 'karma:buildbot']);
32 | };
33 |
--------------------------------------------------------------------------------
/components/observe-js/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "observe-js",
3 | "version": "0.4.2",
4 | "description": "observe-js is a library for observing changes on JavaScript objects/arrays",
5 | "main": "src/observe.js",
6 | "directories": {
7 | "example": "examples",
8 | "test": "tests"
9 | },
10 | "scripts": {
11 | "test": "echo \"Error: no test specified\" && exit 1"
12 | },
13 | "repository": {
14 | "type": "git",
15 | "url": "https://github.com/Polymer/observe-js.git"
16 | },
17 | "author": "The Polymer Authors",
18 | "license": "BSD",
19 | "readmeFilename": "README.md",
20 | "devDependencies": {
21 | "chai": "*",
22 | "mocha": "*",
23 | "grunt": "*",
24 | "grunt-karma": "*",
25 | "karma": "~0.12.0",
26 | "karma-mocha": "*",
27 | "karma-firefox-launcher": "*",
28 | "karma-ie-launcher": "*",
29 | "karma-safari-launcher": "*",
30 | "karma-script-launcher": "*",
31 | "karma-crbot-reporter": "*"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/components/polymer-expressions/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "polymer-expressions",
3 | "homepage": "https://github.com/Polymer/polymer-expressions",
4 | "authors": [
5 | "The Polymer Authors"
6 | ],
7 | "dependencies": {
8 | "TemplateBinding": "Polymer/TemplateBinding#master"
9 | },
10 | "license": "BSD",
11 | "private": true,
12 | "ignore": [
13 | "**/.*",
14 | "node_modules",
15 | "bower_components",
16 | "test",
17 | "tests"
18 | ],
19 | "_release": "f2229c2f3d",
20 | "_resolution": {
21 | "type": "branch",
22 | "branch": "master",
23 | "commit": "f2229c2f3db2332aab5c4dba029c17f8bc3f99f2"
24 | },
25 | "_source": "git://github.com/Polymer/polymer-expressions.git",
26 | "_target": "master",
27 | "_originalSource": "Polymer/polymer-expressions"
28 | }
--------------------------------------------------------------------------------
/components/polymer-expressions/README.md:
--------------------------------------------------------------------------------
1 | PolymerExpressions
2 | ==================
3 |
4 | [](http://build.chromium.org/p/client.polymer/waterfall)
5 |
--------------------------------------------------------------------------------
/components/polymer-expressions/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "polymer-expressions",
3 | "homepage": "https://github.com/Polymer/polymer-expressions",
4 | "authors": [
5 | "The Polymer Authors"
6 | ],
7 | "dependencies": {
8 | "TemplateBinding": "Polymer/TemplateBinding#master"
9 | },
10 | "license": "BSD",
11 | "private": true,
12 | "ignore": [
13 | "**/.*",
14 | "node_modules",
15 | "bower_components",
16 | "test",
17 | "tests"
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/components/polymer-expressions/build.json:
--------------------------------------------------------------------------------
1 | [
2 | "third_party/esprima/esprima.js",
3 | "src/polymer-expressions.js"
4 | ]
5 |
--------------------------------------------------------------------------------
/components/polymer-expressions/codereview.settings:
--------------------------------------------------------------------------------
1 | # This file is used by gcl to get repository specific information.
2 | CODE_REVIEW_SERVER: https://codereview.appspot.com
3 | VIEW_VC: https://github.com/Polymer/polymer-expressions/commit/
4 |
--------------------------------------------------------------------------------
/components/polymer-expressions/conf/karma.conf.js:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | module.exports = function(karma) {
12 | var common = require('../../tools/test/karma-common.conf.js');
13 | karma.set(common.mixin_common_opts(karma, {
14 | // base path, that will be used to resolve files and exclude
15 | basePath: '../../',
16 |
17 | // list of files / patterns to load in the browser
18 | files: [
19 | 'polymer-expressions/node_modules/chai/chai.js',
20 | 'polymer-expressions/conf/mocha.conf.js',
21 | 'TemplateBinding/load.js',
22 | 'polymer-expressions/third_party/esprima/esprima.js',
23 | 'polymer-expressions/src/polymer-expressions.js',
24 | 'polymer-expressions/tests/tests.js',
25 | {pattern: 'NodeBind/src/*.js', included: false},
26 | {pattern: 'TemplateBinding/src/*.css', included: false},
27 | {pattern: 'TemplateBinding/src/*.js', included: false},
28 | {pattern: 'observe-js/src/*.js', included: false}
29 | ]
30 | }));
31 | };
32 |
--------------------------------------------------------------------------------
/components/polymer-expressions/conf/mocha.conf.js:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | mocha.setup({
12 | ui:'tdd',
13 | ignoreLeaks: true
14 | });
15 | var assert = chai.assert;
16 |
--------------------------------------------------------------------------------
/components/polymer-expressions/gruntfile.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2 | // This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3 | // The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
4 | // The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
5 | // Code distributed by Google as part of the polymer project is also
6 | // subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
7 |
8 | module.exports = function(grunt) {
9 |
10 | var readManifest = require('../tools/loader/readManifest.js');
11 | grunt.initConfig({
12 | karma: {
13 | options: {
14 | configFile: 'conf/karma.conf.js',
15 | keepalive: true
16 | },
17 | buildbot: {
18 | reporters: ['crbot'],
19 | logLevel: 'OFF'
20 | },
21 | 'polymer-expressions': {
22 | }
23 | },
24 | concat: {
25 | expressions: {
26 | src: readManifest('build.json'),
27 | dest: 'polymer-expressions.min.js',
28 | nonull: true,
29 | }
30 | }
31 | });
32 |
33 | grunt.loadTasks('../tools/tasks');
34 | grunt.loadNpmTasks('grunt-karma');
35 | grunt.loadNpmTasks('grunt-contrib-concat');
36 |
37 | grunt.registerTask('default', 'concat');
38 | grunt.registerTask('test', ['override-chrome-launcher', 'karma:polymer-expressions']);
39 | grunt.registerTask('test-buildbot', ['override-chrome-launcher', 'karma:buildbot']);
40 | };
41 |
--------------------------------------------------------------------------------
/components/polymer-expressions/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "polymer-expressions",
3 | "version": "0.0.0",
4 | "description": "README.md",
5 | "main": "grunt.js",
6 | "directories": {
7 | "test": "tests"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/Polymer/polymer-expressions.git"
12 | },
13 | "author": "",
14 | "license": "Apache License 2.0",
15 | "devDependencies": {
16 | "chai": "*",
17 | "mocha": ">=1.9",
18 | "grunt": "~0.4.1",
19 | "grunt-karma": "*",
20 | "karma": "~0.12.0",
21 | "karma-mocha": "*",
22 | "karma-ie-launcher": "*",
23 | "karma-firefox-launcher": "*",
24 | "karma-safari-launcher": "*",
25 | "karma-script-launcher": "*",
26 | "karma-crbot-reporter": "*",
27 | "grunt-contrib-concat": "~0.3.0"
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/components/polymer-expressions/polymer-expressions.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/components/polymer-expressions/smoke.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | PolymerExpressions tests
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
32 |
33 |
34 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/components/polymer-expressions/third_party/esprima/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contribution Guide
2 |
3 | This page describes how to contribute changes to Esprima.
4 |
5 | Please do **not** create a pull request without reading this guide first. Failure to do so may result in the **rejection** of the pull request.
6 |
7 | **1. Create a ticket in the [issue tracker](http://issues.esprima.org)**.
8 | This serves as a placeholder for important feedback, review, or any future updates.
9 |
10 | **2. Run all the tests**. This requires Node.js: `npm install` to set up, `npm test` to run the tests.
11 |
12 | **3. Work on a feature branch**. If the change still needs some tweaks, it will not clutter the master branch.
13 |
14 | **4. Write a reasonable commit message:**
15 |
16 | * Keep the first line < 72 characters. Write additional paragraphs if necessary.
17 | * Put the link to the ticket. This is important for cross-referencing purposes.
18 |
19 |
20 | For more information, please check the [detailed contribution guide](http://esprima.org/doc/index.html#contribution).
21 |
--------------------------------------------------------------------------------
/components/polymer-expressions/third_party/esprima/LICENSE.BSD:
--------------------------------------------------------------------------------
1 | Redistribution and use in source and binary forms, with or without
2 | modification, are permitted provided that the following conditions are met:
3 |
4 | * Redistributions of source code must retain the above copyright
5 | notice, this list of conditions and the following disclaimer.
6 | * Redistributions in binary form must reproduce the above copyright
7 | notice, this list of conditions and the following disclaimer in the
8 | documentation and/or other materials provided with the distribution.
9 |
10 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
11 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
12 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
13 | ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
14 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
15 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
16 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
17 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
18 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
19 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20 |
--------------------------------------------------------------------------------
/components/polymer-gestures/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "polymer-gestures",
3 | "private": true,
4 | "homepage": "https://github.com/Polymer/polymer-gestures",
5 | "_release": "ccd9dfae58",
6 | "_resolution": {
7 | "type": "branch",
8 | "branch": "master",
9 | "commit": "ccd9dfae58896dff2e4fe9ce123870d321e393d1"
10 | },
11 | "_source": "git://github.com/Polymer/polymer-gestures.git",
12 | "_target": "master",
13 | "_originalSource": "Polymer/polymer-gestures"
14 | }
--------------------------------------------------------------------------------
/components/polymer-gestures/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/components/polymer-gestures/README.md:
--------------------------------------------------------------------------------
1 | ## pointer-gestures
2 | > A set of rich gestures for desktop and mobile.
3 |
4 | Supported events:
5 | * down
6 | * up
7 | * Same target as down, provides the element under the pointer with the relatedTarget property
8 | * trackstart
9 | * track
10 | * Same target as down
11 | * trackend
12 | * Same target as down, provides the element under the pointer with the relatedTarget property
13 | * tap
14 | * Targets the nearest common ancestor of down and up.relatedTarget
15 | * Can be prevented by calling any gesture event's preventTap function
16 | * pinch
17 | * hold
18 | * holdpulse
19 | * release
20 |
21 | Not yet implemented:
22 | * flick
23 | * pinchstart
24 | * pinchend
25 |
26 | More info — https://groups.google.com/forum/#!topic/polymer-dev/ba4aDyOozm8
27 |
28 | ## How to use
29 |
30 | The element, or a parent of the element, should have the `touch-action="none"` attribute.
31 |
32 | ```javascript
33 | PolymerGestures.addEventListener(element, eventname, handler, capture);
34 | ```
35 |
36 | ## How to build
37 |
38 | ```bash
39 | mkdir gestures
40 | cd gestures
41 | git clone git@github.com:Polymer/tools.git
42 | git clone git@github.com:Polymer/polymer-gestures.git
43 | cd polymer-gestures
44 | npm install
45 | grunt
46 | ```
47 |
48 | ## How to run
49 | ```bash
50 | cd gestures
51 | python -m SimpleHTTPServer
52 | open http://localhost:8000/polymer-gestures/samples/simple/
53 | ```
54 | More info — http://www.polymer-project.org/resources/tooling-strategy.html
55 |
--------------------------------------------------------------------------------
/components/polymer-gestures/banner.txt:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
--------------------------------------------------------------------------------
/components/polymer-gestures/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "polymer-gestures",
3 | "private": true
4 | }
5 |
--------------------------------------------------------------------------------
/components/polymer-gestures/build.json:
--------------------------------------------------------------------------------
1 | [
2 | "src/scope.js",
3 | "src/targetfind.js",
4 | "src/touch-action.js",
5 | "src/eventFactory.js",
6 | "src/pointermap.js",
7 | "src/dispatcher.js",
8 | "src/mouse.js",
9 | "src/touch.js",
10 | "src/ms.js",
11 | "src/pointer.js",
12 | "src/platform-events.js",
13 | "src/track.js",
14 | "src/hold.js",
15 | "src/tap.js",
16 | "src/pinch.js"
17 | ]
18 |
--------------------------------------------------------------------------------
/components/polymer-gestures/conf/karma.conf.js:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | module.exports = function(karma) {
12 | var common = require('../../tools/test/karma-common.conf.js');
13 | karma.set(common.mixin_common_opts(karma, {
14 | // base path, that will be used to resolve files and exclude
15 | basePath: '../../',
16 |
17 | // list of files / patterns to load in the browser
18 | files: [
19 | 'polymer-gestures/node_modules/chai/chai.js',
20 | 'polymer-gestures/src/scope.js',
21 | 'polymer-gestures/src/targetfind.js',
22 | 'polymer-gestures/src/touch-action.js',
23 | 'polymer-gestures/src/eventFactory.js',
24 | 'polymer-gestures/src/pointermap.js',
25 | 'polymer-gestures/src/dispatcher.js',
26 | 'polymer-gestures/src/mouse.js',
27 | 'polymer-gestures/src/touch.js',
28 | 'polymer-gestures/src/ms.js',
29 | 'polymer-gestures/src/pointer.js',
30 | 'polymer-gestures/src/platform-events.js',
31 | 'polymer-gestures/src/track.js',
32 | 'polymer-gestures/src/hold.js',
33 | 'polymer-gestures/src/tap.js',
34 | 'polymer-gestures/test/js/setup.js',
35 | 'polymer-gestures/test/js/fake.js',
36 | 'polymer-gestures/test/js/*.js'
37 | ]
38 | }));
39 | };
40 |
--------------------------------------------------------------------------------
/components/polymer-gestures/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "polymergestures",
3 | "main": "Gruntfile.js",
4 | "devDependencies": {
5 | "mocha": "*",
6 | "chai": "^1.9.1",
7 | "grunt": "^0.4.4",
8 | "grunt-contrib-concat": "^0.4.0",
9 | "grunt-contrib-uglify": "^0.4.0",
10 | "karma": "~0.12.0",
11 | "karma-mocha": "*",
12 | "karma-firefox-launcher": "*",
13 | "karma-ie-launcher": "*",
14 | "karma-script-launcher": "*",
15 | "karma-crbot-reporter": "*",
16 | "grunt-karma": "*",
17 | "karma-safari-launcher": "~0.1.1",
18 | "karma-firefox-launcher": "^0.1.3"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/components/polymer-gestures/polymer-gestures.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/components/polymer-gestures/polymer-gestures.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | * Code distributed by Google as part of the polymer project is also
7 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 | (function() {
10 | var thisFile = 'polymer-gestures.js';
11 | var scopeName = 'PolymerGestures';
12 | var modules = [
13 | 'src/scope.js',
14 | 'src/targetfind.js',
15 | 'src/touch-action.js',
16 | 'src/eventFactory.js',
17 | 'src/pointermap.js',
18 | 'src/dispatcher.js',
19 | 'src/mouse.js',
20 | 'src/touch.js',
21 | 'src/ms.js',
22 | 'src/pointer.js',
23 | 'src/platform-events.js',
24 | 'src/track.js',
25 | 'src/hold.js',
26 | 'src/tap.js',
27 | 'src/pinch.js'
28 | ];
29 |
30 | window[scopeName] = {
31 | entryPointName: thisFile,
32 | modules: modules
33 | };
34 |
35 | var script = document.currentScript || document.querySelector('script[src $= "' + thisFile + '"]');
36 | var src = script.attributes.src.value;
37 | var basePath = src.slice(0, src.indexOf(thisFile));
38 |
39 | if (!window.PolymerLoader) {
40 | var path = basePath + '../tools/loader/loader.js';
41 | document.write('');
42 | }
43 |
44 | document.write('');
45 |
46 | })();
47 |
--------------------------------------------------------------------------------
/components/polymer-gestures/src/platform-events.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | * Code distributed by Google as part of the polymer project is also
7 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 |
10 | /**
11 | * This module contains the handlers for native platform events.
12 | * From here, the dispatcher is called to create unified pointer events.
13 | * Included are touch events (v1), mouse events, and MSPointerEvents.
14 | */
15 | (function(scope) {
16 |
17 | var dispatcher = scope.dispatcher;
18 | var nav = window.navigator;
19 |
20 | if (window.PointerEvent) {
21 | dispatcher.registerSource('pointer', scope.pointerEvents);
22 | } else if (nav.msPointerEnabled) {
23 | dispatcher.registerSource('ms', scope.msEvents);
24 | } else {
25 | dispatcher.registerSource('mouse', scope.mouseEvents);
26 | if (window.ontouchstart !== undefined) {
27 | dispatcher.registerSource('touch', scope.touchEvents);
28 | }
29 | }
30 |
31 | // Work around iOS bugs https://bugs.webkit.org/show_bug.cgi?id=135628 and https://bugs.webkit.org/show_bug.cgi?id=136506
32 | var ua = navigator.userAgent;
33 | var IS_IOS = ua.match(/iPad|iPhone|iPod/) && 'ontouchstart' in window;
34 |
35 | dispatcher.IS_IOS = IS_IOS;
36 | scope.touchEvents.IS_IOS = IS_IOS;
37 |
38 | dispatcher.register(document, true);
39 | })(window.PolymerGestures);
40 |
--------------------------------------------------------------------------------
/components/polymer-gestures/src/scope.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 | window.PolymerGestures = {};
11 |
--------------------------------------------------------------------------------
/components/polymer-gestures/test/js/setup.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | * Code distributed by Google as part of the polymer project is also
7 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 |
10 | mocha.setup({ui: 'tdd'});
11 | assert = chai.assert;
12 |
--------------------------------------------------------------------------------
/components/polymer-gestures/test/runner.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 | Polymer Gestures test runner
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/components/polymer/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "polymer",
3 | "description": "Polymer is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.",
4 | "homepage": "http://www.polymer-project.org/",
5 | "keywords": [
6 | "util",
7 | "client",
8 | "browser",
9 | "web components",
10 | "web-components"
11 | ],
12 | "author": "Polymer Authors ",
13 | "private": true,
14 | "dependencies": {
15 | "core-component-page": "Polymer/core-component-page#^0.5",
16 | "webcomponentsjs": "Polymer/webcomponentsjs#^0.5"
17 | },
18 | "devDependencies": {
19 | "tools": "Polymer/tools#master",
20 | "web-component-tester": "Polymer/web-component-tester#^1.4.2"
21 | },
22 | "version": "0.5.5",
23 | "_release": "0.5.5",
24 | "_resolution": {
25 | "type": "version",
26 | "tag": "0.5.5",
27 | "commit": "b94b680c966fc9ea86bc8f14b3af6f13d77f217a"
28 | },
29 | "_source": "git://github.com/Polymer/polymer.git",
30 | "_target": "^0.5.0",
31 | "_originalSource": "polymer"
32 | }
--------------------------------------------------------------------------------
/components/polymer/README.md:
--------------------------------------------------------------------------------
1 | # Polymer
2 |
3 | [](http://build.chromium.org/p/client.polymer/waterfall)
4 |
5 | ## Brief Overview
6 |
7 | For more detailed info goto [http://polymer-project.org/](http://polymer-project.org/).
8 |
9 | Polymer is a new type of library for the web, designed to leverage the existing browser infrastructure to provide the encapsulation and extendability currently only available in JS libraries.
10 |
11 | Polymer is based on a set of future technologies, including [Shadow DOM](http://w3c.github.io/webcomponents/spec/shadow/), [Custom Elements](http://w3c.github.io/webcomponents/spec/custom/) and Model Driven Views. Currently these technologies are implemented as polyfills or shims, but as browsers adopt these features natively, the platform code that drives Polymer evacipates, leaving only the value-adds.
12 |
13 | ## Tools & Testing
14 |
15 | For running tests or building minified files, consult the [tooling information](https://www.polymer-project.org/resources/tooling-strategy.html).
16 |
17 | ## Releases
18 |
19 | [Release (tagged) versions](https://github.com/Polymer/polymer/releases) of Polymer include concatenated and minified sources for your convenience.
20 |
21 | [](https://github.com/igrigorik/ga-beacon)
22 |
--------------------------------------------------------------------------------
/components/polymer/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "polymer",
3 | "description": "Polymer is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.",
4 | "homepage": "http://www.polymer-project.org/",
5 | "keywords": [
6 | "util",
7 | "client",
8 | "browser",
9 | "web components",
10 | "web-components"
11 | ],
12 | "author": "Polymer Authors ",
13 | "private": true,
14 | "dependencies": {
15 | "core-component-page": "Polymer/core-component-page#^0.5",
16 | "webcomponentsjs": "Polymer/webcomponentsjs#^0.5"
17 | },
18 | "devDependencies": {
19 | "tools": "Polymer/tools#master",
20 | "web-component-tester": "Polymer/web-component-tester#^1.4.2"
21 | },
22 | "version": "0.5.5"
23 | }
--------------------------------------------------------------------------------
/components/polymer/build.log:
--------------------------------------------------------------------------------
1 | BUILD LOG
2 | ---------
3 | Build Time: 2015-02-17T17:25:22
4 |
5 | NODEJS INFORMATION
6 | ==================
7 | nodejs: v0.12.0
8 | grunt: 0.4.5
9 | grunt-audit: 1.0.0
10 | grunt-contrib-concat: 0.5.0
11 | grunt-contrib-copy: 0.7.0
12 | grunt-contrib-uglify: 0.6.0
13 | grunt-string-replace: 1.0.0
14 | web-component-tester: 1.6.2
15 |
16 | REPO REVISIONS
17 | ==============
18 | polymer-expressions: f2229c2f3db2332aab5c4dba029c17f8bc3f99f2
19 | polymer-gestures: ccd9dfae58896dff2e4fe9ce123870d321e393d1
20 | polymer: f53db3fe961a3094844ad46e70e3f721604b0a2b
21 |
22 | BUILD HASHES
23 | ============
24 | dist/polymer.js: 0238138d46a41de3724926295213f1babf66ed41
25 | dist/polymer.min.js: d5907053e8535c422393aa240e9026ffe0b5fefc
26 | dist/layout.html: 348d358a91712ecc2f8811efa430fcd954b4590c
--------------------------------------------------------------------------------
/components/polymer/polymer.html:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/components/web-component-tester/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "web-component-tester",
3 | "description": "web-component-tester makes testing your web components a breeze!",
4 | "main": [
5 | "browser.js",
6 | "environment.js"
7 | ],
8 | "license": "http://polymer.github.io/LICENSE.txt",
9 | "ignore": [
10 | "*",
11 | "!/browser.js",
12 | "!/environment.js"
13 | ],
14 | "keywords": [
15 | "browser",
16 | "grunt",
17 | "gruntplugin",
18 | "gulp",
19 | "polymer",
20 | "test",
21 | "testing",
22 | "web component",
23 | "web"
24 | ],
25 | "devDependencies": {
26 | "webcomponentsjs": "Polymer/webcomponentsjs#^0.5.0"
27 | },
28 | "homepage": "https://github.com/Polymer/web-component-tester",
29 | "version": "2.2.4",
30 | "_release": "2.2.4",
31 | "_resolution": {
32 | "type": "version",
33 | "tag": "v2.2.4",
34 | "commit": "bac23ffeab3a64ff15a79b2c9aa42e8dceb5795d"
35 | },
36 | "_source": "git://github.com/Polymer/web-component-tester.git",
37 | "_target": "*",
38 | "_originalSource": "web-component-tester"
39 | }
--------------------------------------------------------------------------------
/components/web-component-tester/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "web-component-tester",
3 | "description": "web-component-tester makes testing your web components a breeze!",
4 | "main": [
5 | "browser.js",
6 | "environment.js"
7 | ],
8 | "license": "http://polymer.github.io/LICENSE.txt",
9 | "ignore": [
10 | "*",
11 | "!/browser.js",
12 | "!/environment.js"
13 | ],
14 | "keywords": [
15 | "browser",
16 | "grunt",
17 | "gruntplugin",
18 | "gulp",
19 | "polymer",
20 | "test",
21 | "testing",
22 | "web component",
23 | "web"
24 | ],
25 | "devDependencies": {
26 | "webcomponentsjs": "Polymer/webcomponentsjs#^0.5.0"
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/components/webcomponentsjs/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "webcomponentsjs",
3 | "main": "webcomponents.js",
4 | "version": "0.5.5",
5 | "homepage": "http://webcomponents.org",
6 | "authors": [
7 | "The Polymer Authors"
8 | ],
9 | "keywords": [
10 | "webcomponents"
11 | ],
12 | "license": "BSD",
13 | "ignore": [],
14 | "_release": "0.5.5",
15 | "_resolution": {
16 | "type": "version",
17 | "tag": "0.5.5",
18 | "commit": "46f8f2665f7b91e3f248bc9bdb20a29b91f921b5"
19 | },
20 | "_source": "git://github.com/Polymer/webcomponentsjs.git",
21 | "_target": "^0.5",
22 | "_originalSource": "Polymer/webcomponentsjs"
23 | }
--------------------------------------------------------------------------------
/components/webcomponentsjs/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "webcomponentsjs",
3 | "main": "webcomponents.js",
4 | "version": "0.5.5",
5 | "homepage": "http://webcomponents.org",
6 | "authors": [
7 | "The Polymer Authors"
8 | ],
9 | "keywords": [
10 | "webcomponents"
11 | ],
12 | "license": "BSD",
13 | "ignore": []
14 | }
--------------------------------------------------------------------------------
/components/webcomponentsjs/build.log:
--------------------------------------------------------------------------------
1 | BUILD LOG
2 | ---------
3 | Build Time: 2015-02-17T17:24:48-0800
4 |
5 | NODEJS INFORMATION
6 | ==================
7 | nodejs: v0.12.0
8 | gulp: 3.8.11
9 | gulp-audit: 1.0.0
10 | gulp-concat: 2.5.0
11 | gulp-header: 1.2.2
12 | gulp-uglify: 1.1.0
13 | run-sequence: 1.0.2
14 | web-component-tester: 2.2.3
15 |
16 | REPO REVISIONS
17 | ==============
18 | webcomponentsjs: 74b6b18443dd13e1cee184f688e23ae3930ed30c
19 |
20 | BUILD HASHES
21 | ============
22 | CustomElements.js: 939c4b32847bf8085532995428001c3402f96cff
23 | CustomElements.min.js: cb3fd472ea0a9c45f5f03f86a6c5083f5077e907
24 | HTMLImports.js: 018bc32bc02bc6dc7dcacbd409438b26c31c2e6d
25 | HTMLImports.min.js: a3cb3e4ded3d708ba8333a8d5927ec93587fc191
26 | ShadowDOM.js: e34e8e3707d015a0ac9ec718d17b93c54500d028
27 | ShadowDOM.min.js: b3c2f09259d03ec44bd08ebbe9ed67dae3a06aaf
28 | webcomponents-lite.js: 83f6c69c9f38d6c88b1717427e713e57a96e7d70
29 | webcomponents-lite.min.js: d369074b523ff3806e7f71770a4d360f33331d48
30 | webcomponents.js: b91a9a8ae8c79bfc0275a766f3153f390ef74d81
31 | webcomponents.min.js: 91901c97731fc010ba5bb43624aa37d5320071c4
--------------------------------------------------------------------------------
/components/webcomponentsjs/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "webcomponents.js",
3 | "version": "0.5.5",
4 | "description": "webcomponents.js",
5 | "main": "webcomponents.js",
6 | "directories": {
7 | "test": "tests"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/webcomponents/webcomponentsjs.git"
12 | },
13 | "author": "The Polymer Authors",
14 | "license": {
15 | "type": "BSD-3-Clause",
16 | "url": "http://polymer.github.io/LICENSE.txt"
17 | },
18 | "bugs": {
19 | "url": "https://github.com/webcomponents/webcomponentsjs/issues"
20 | },
21 | "homepage": "http://webcomponents.org",
22 | "devDependencies": {
23 | "gulp": "^3.8.8",
24 | "gulp-audit": "^1.0.0",
25 | "gulp-concat": "^2.4.1",
26 | "gulp-header": "^1.1.1",
27 | "gulp-uglify": "^1.0.1",
28 | "run-sequence": "^1.0.1",
29 | "web-component-tester": "*"
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/test/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Complete Test Suite - Basic Web Components
7 |
8 |
9 |
10 |
11 |
12 |
13 |
37 |
38 |
39 |
--------------------------------------------------------------------------------