Code Monkey home page Code Monkey logo

patata's Introduction

Patata

Get it? Because like the whole "tomato/tomato" debacle, but it's like "tomato/potato", but that's not even the correct misunderstanding, and now it's in italian, and "pomodoro/patata" is even less of a misunderstanding! Hilarious!

Installation

  1. Grab the package.
  2. Navigate to chrome://extensions Chrome.
  3. Drag-and-drop the package into the window.

You might need to enable developer mode.

patata's People

Contributors

plusk avatar

Watchers

James Cloos avatar  avatar

patata's Issues

Breaking - Event page uses global variables instead of storage

What's wrong? The packaged timer does not work, but an unpackaged download does.
What's the cause? I believe the issue is the use of global variables, as opposed to the storage API. Google notes the following:

If you need to keep runtime state in memory throughout a browser session, use the storage API or IndexedDB. Since the event page does not stay loaded for long, you can no longer rely on global variables for runtime state.

Why did this happen? Since unpackaged works, and all development was done pre-packaging, there was little indication that it wouldn't work as a package.
How do we fix this? Should only require rewrites on the event page. maxTicks can be removed locally because it already exists in storage, but ticks and the sessionNr needs to be migrated over. Might require a more extensive rewrite of the ticks use, because calling the storage API every tick seems a bit excessive.

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.