@gamestdio/clock
Advanced tools
Comparing version
{ | ||
"name": "@gamestdio/clock", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "A simple clock/ticker implementation to track elapsed/delta time.", | ||
@@ -5,0 +5,0 @@ "author": "Endel Dreyer <endel.dreyer@gmail.com>", |
@@ -1,2 +0,2 @@ | ||
clock.js [](http://travis-ci.org/gamestdio/clock.js) | ||
@gamestdio/clock [](http://travis-ci.org/gamestdio/clock.js) | ||
=== | ||
@@ -29,4 +29,5 @@ | ||
```javascript | ||
var clock = new Clock(true); | ||
```typescript | ||
import * as Clock from '@gamestdio/clock'; | ||
let clock = new Clock(true); | ||
``` | ||
@@ -37,3 +38,4 @@ | ||
```javascript | ||
var clock = new Clock(); | ||
import * as Clock from '@gamestdio/clock'; | ||
let clock = new Clock(); | ||
clock.start(true); | ||
@@ -46,4 +48,4 @@ ``` | ||
```javascript | ||
var Clock = require('clock.js'); | ||
```typescript | ||
import * as Clock from '@gamestdio/clock'; | ||
var clock = new Clock(); | ||
@@ -50,0 +52,0 @@ |
10777
0.97%63
3.28%