Giter Club home page Giter Club logo

pwa-starter-kit's Introduction

pwa-starter-kit's People

Contributors

abdonrd avatar bzitzow avatar cacophobe avatar davie-robertson avatar dfreedm avatar frankiefu avatar graynorton avatar josefjezek avatar jsilvermist avatar kazu80 avatar keanulee avatar mathiasbynens avatar newbornfrontender avatar notwaldorf avatar peterlauri avatar rovervannispen avatar samuelli avatar t2ym avatar thgaskell avatar timvdlippe avatar univhack avatar usergenic avatar yuen92 avatar

Watchers

 avatar  avatar

pwa-starter-kit's Issues

[gulp] Implement gulp locales --targets="{locales list}"

[gulp] Implement gulp locales --targets="{locales list}"

Example

gulp locales --targets="de es fr ja zh-Hans" # populate empty locales/*.{de|es|fr|ja|zh-Hans}.json
# existing JSON files are not touched
gulp # merge en resources into localized ones
# translate src/xliff/bundle.{de|es|fr|ja|zh-Hans}.xlf
gulp # merge XLIFF translations into localized JSON files

[test] test:unit fails with ?wc-shadydom=true&wc-ce=true options

[test] test:unit fails with ?wc-shadydom=true&wc-ce=true options

Suspected Root Cause

  • ShadyDOM polyfill is not working well

Error Message

wct-mocha.js:2384 Error stamping 
<template>โ€‹#document-fragment<counter-element>โ€‹</counter-element>โ€‹</template>โ€‹
TypeError: window.ShadyCSS.ScopingShim.prepareAdoptedCssText is not a function
    at HTMLElement.adoptStyles (lit-element.ts:140)
    at HTMLElement.initialize (lit-element.ts:95)
    at new UpdatingElement (updating-element.ts:253)
    at new LitElement (lit-element.ts:25)
    at new MixinClass (i18n.js:48)
    at new I18nBaseElement (i18n.js:100)
    at new CounterElement (counter-element.js:67)
    at ye (CustomElementInternals.js:266)
    at Q.e (CustomElementInternals.js:177)
    at Q (CustomElementInternals.js:231)

Workaround

  • Skip ShadyDOM tests

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.