Code Monkey home page Code Monkey logo

llumino-pwa's People

Contributors

cocopon avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

llumino-pwa's Issues

Cannot re-launch after `0 / 0 = NaN`

Cannot read property 'toLocaleString' of null

It will be caused by calc.answer is null:

  1. 0 / 0 is NaN
  2. answer is set to NaN
  3. NaN is converted to null by JSON.stringify()
  4. Restored answer is null
  5. Trying null.toLocaleString() but it causes error

`+/-` should invert input buffer

Expected:

  • [1] [+] [4] [+/-] [=] should be recognized as 1 + (-4) = -3

Actual:

  • [1] [+] [4] [+/-] is recognized as inverting the result of (1 + 4) = 5 so -5

Improve checking update structure

  • Service Worker doesn't update caches automatically
  • Webpack embeds the version number into bundle.js and another file (e.g. /data/latest.json)
  • App (= bundle.js ) checks the latest version (= fetches the JSON file with cache buster and see its value) at every launch
  • If bundle.js is outdated, show Updates available balloon
  • If the user touches the balloon, post updateCache message to Service Worker
  • Service Worker re-fetches the requests and caches them

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.