Para aprender algo novo, devemos esquecer conceitos antigos
IF
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:-//ical.marudot.com//iCal Event Maker | |
CALSCALE:GREGORIAN | |
BEGIN:VTIMEZONE | |
TZID:America/Sao_Paulo | |
LAST-MODIFIED:20201011T015911Z | |
TZURL:http://tzurl.org/zoneinfo-outlook/America/Sao_Paulo | |
X-LIC-LOCATION:America/Sao_Paulo | |
BEGIN:STANDARD |
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
const actions = { | |
LOAD: 'load', | |
NEXT: 'next', | |
UPDATE: 'update', | |
ERROR: 'error', | |
INTEGRAGE: 'integrate' | |
} | |
const steps = { | |
HOME: 'home', |
const getFunctionURL = (f) => URL.createObjectURL(new Blob(['(', f.toString(),')()'], {type: 'text/javascript'})); | |
const toWorker = (f) => new Worker(getFunctionURL); | |
const toServiceWorker = (f, opt = {}) => navigator.serviceWorker && navigator.serviceWorker.register(f, opt); | |
(ns aranaktu.locals) | |
(def api-key "") | |
(def auth-domain "aranaktu-3f89f.firebaseapp.com") | |
(def database-URL "https://aranaktu-3f89f.firebaseio.com") | |
(def storage-bucket "") | |
(def base-data { | |
:themes { | |
1 { |
Stackshare - /code-review
class Fetch { | |
create(store : object) { | |
if(!window.__fetch) { | |
window.__fetch = new Fetch() | |
} | |
Object.defineProperty(window.__fetch, 'state', { | |
get() { | |
return store.getState().login | |
} | |
}); |