Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.