gakimball/taswell-ipsum — pull request #1 by hopkinsth (2013-07-28 16:53:10+00:00)
Title: Added copy to clipboard, more quotes; allow generating more paragraphs.

I should really be writing some unit tests for something at my day job right now, but instead I decided that I should contribute some things to taswell-ipsum.

First, I moved quotes.json to quotes.js to allow for the synchronous loading like the other javascript seems to expect. Also, I thought maybe people might want to leave comments with the source of some quotes. Yeah, that could be integrated into the JSON structure instead.

Also, I reworked some of the JS to allow generating more paragraphs than before, because when I want taswell quotes, I want 5000 paragraphs of taswell quotes.

Finally, I added a 'copy to clipboard' button using ZeroClipboard. It doesn't do any formatting on the text it spits out, and the code could be cleaned up a bit.

You can preview these changes here: http://dev.flyingpiscivore.com/taswell-ipsum/