Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created February 27, 2013 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/5051892 to your computer and use it in GitHub Desktop.
Save tmcw/5051892 to your computer and use it in GitHub Desktop.
mistakes require demo
// You can include libraries in mistakes
// with a magic function called require(),
// which simply loads javascript in a script tag.
// underscore.js
// http://documentcloud.github.com/underscore/
require('http://bit.ly/3Pt26u');
_.chain([[5, 1, 7], [3, 2, 1]])
.invoke('sort')
.flatten()
.value();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment