Skip to content

Instantly share code, notes, and snippets.

@wjcrowcroft
wjcrowcroft / jquery-revealer.js
Created January 30, 2012 10:17
jQuery Revealer Plugin - a stupid little jQuery (JavaScript) plugin to make simple revealer links (e.g. '[view]') that expand text/HTML content on-click
/**
* jQuery Revealer plugin
* Joss Crowcroft / @josscrowcroft
*
* Replaces an element containing text or HTML with a link that reveals the
* original contents when clicked.
*
* Super simple, no options or anything, but could be added easily.
*
* Example:
@wjcrowcroft
wjcrowcroft / json.js
Created October 6, 2011 05:05 — forked from millermedeiros/json.js
RequireJS plugin for loading JSON files
/*!
* RequireJS plugin for loading JSON files
* - depends on Text plugin and it was HEAVILY "inspired" by it as well.
*
* IMPORTANT: it only works on r.js optimizer after version 0.26+ 20011/09/27
*
* @author Miller Medeiros
* @version 0.0.1 (2011/06/10)
* Released under the WTFPL <http://sam.zoy.org/wtfpl/>
*/