added stopwatch example

added requestAnimationFrame polyfill

moved raf logic into a subscription

separated logic into multiple files, all state lives in a global namespaced model, reset no longer sends multiple actions only one
This commit is contained in:
traducer
2016-07-13 16:59:20 +00:00
parent a1795c29ee
commit 5f858cfdf5
5 changed files with 120 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"name": "stopwatch",
"version": "1.0.0",
"description": "",
"main": "client.js",
"scripts": {
"start": "budo client.js -p 8080 -- -t es2020"
},
"keywords": [],
"author": "traducer <traducer21@gmail.com>",
"license": "ISC",
"dependencies": {
"budo": "^8.3.0",
"raf": "^3.2.0",
"xtend": "^4.0.1"
},
"devDependencies": {
"es2020": "^1.1.7"
}
}