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

https://github.com/dimitarchristoff/spritzy

spritz clone for funz.
https://github.com/dimitarchristoff/spritzy

Last synced: about 1 year ago
JSON representation

spritz clone for funz.

Awesome Lists containing this project

README

          

spritzy
=======

It's like Spritz - only it's without all the science and the niceties. Yet, it kind of works.

In action - [http://fragged.org/spritzy/example/](http://fragged.org/spritzy/example/)

## usage

Here's an example under AMD:
```javascript
define(function(require){

var textNode = document.querySelector('[data-spritzy]'),
text = textNode.innerText || textNode.textContent;

var Sptitzy = require('spritzy'),
spritzy = new Sptitzy(document.querySelector('div.reader'), {
text: text,
cycle: false,
cache: true
});
});
```

## todo

Coming:
- build (minified)
- bookmarklet
- controls + keyboard shortcuts