Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonrichardson/clock
Experimenting with time in javascript.
https://github.com/simonrichardson/clock
Last synced: 22 days ago
JSON representation
Experimenting with time in javascript.
- Host: GitHub
- URL: https://github.com/simonrichardson/clock
- Owner: SimonRichardson
- License: mit
- Created: 2013-09-12T16:59:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-24T07:52:17.000Z (about 11 years ago)
- Last Synced: 2024-04-15T22:59:40.380Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 195 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
clock
=====Experimenting with time in javascript.
## Build status
[![Build Status](https://api.travis-ci.org/SimonRichardson/clock.png)](https://travis-ci.org/SimonRichardson/clock)
## Building
Install the development dependencies with [npm](https://npmjs.org/):
npm install
Run the tests with [npm](https://npmjs.org/):
npm test
Run the tests with [grunt](http://gruntjs.com/):
grunt default
### Building for browser
Install [commonjs-everywhere](), it's easier to install it globally ```-g```:
npm install -g commonjs-everywhere
Then run ```npm test```, followed by the following:
cjsify bin/clock.js --export squishy > clock.browser.js
Then you can include clock.browser.js in your html page.