// Underscore.js Sample Code (function() { // Baseline setup // -------------- // Establish the root object, `window` in the browser, or `exports` on the server. var root = this; // Save the previous value of the `_` variable. var previousUnderscore = root._; // Save bytes in the minified (but not gzipped) version: var ArrayProto = Array.prototype, ObjProto = Object.prototype, FuncProto = Function.prototype; // Create quick reference variables for speed access to core prototypes. var push = ArrayProto.push, slice = ArrayProto.slice, toString = ObjProto.toString, hasOwnProperty = ObjProto.hasOwnProperty; // All **ECMAScript 5** native function implementations that we hope to use // are declared here. var nativeIsArray = Array.isArray, nativeKeys = Object.keys, nativeBind = FuncProto.bind, nativeCreate = Object.create; // Reusable constructor function for prototype setting. var Ctor = function(){}; // Create a safe reference to the Underscore object for use below. var _ = function(obj) { if (obj instanceof _) return obj; if (!(this instanceof _)) return new _(obj); this._wrapped = obj; }; // Export the Underscore object for **Node.js**, with // backwards-compatibility for the old `require()` API. If we're in // the browser, add `_` as a global object. if (typeof exports !== 'undefined') { if (typeof module !== 'undefined' && module.exports) { exports = module.exports = _; } } )();
Select a theme
all-hallow-eve
amy
argonaut
arona
bbedit
bespin
birds-of-paradise
black-pearl-ii
black-pearl
blackboard-black
blackboard
bongzilla
chanfle
chrome-devtools
classic-modified
clouds-midnight
clouds
cobalt
coda
cssedit
cube2media
darkpastel
dawn
django-(smoothy)
django
eiffel
emacs-strict
espresso-libre
espresso-soda
espresso-tutti
espresso
fade-to-grey
fake
fantasyscript
fluidvision
freckle
friendship-bracelet
github
glitterbomb
happy-happy-joy-joy-2
idle
idlefingers
iplastic
ir_black
ir_white
johnny
juicy
krtheme
kuroir
lazy
lowlight
mac-classic
made-of-code
magicwb-(amiga)
merbivore-soft
merbivore
monoindustrial
monokai-bright
monokai-fannonedition
monokai-sublime
monokai
mreq
nightlion
notebook
oceanic-muted
oceanic
pastels-on-dark
pastie
plasticcodewrap
prospettiva
putty
rails-envy
railscasts
rdark
rhuk
ryan-light
sidewalkchalk
slush-&-poppies
smoothy
solarized-(dark)
solarized-(light)
spacecadet
spectacular
summer-sun
summerfruit
sunburst
swyphs-ii
tango
text-ex-machina
tomorrow-night-blue
tomorrow-night-bright
tomorrow-night-eighties
tomorrow-night
tomorrow
toulousse-lautrec
toy-chest
tubster
twilight
venom
vibrant-fin
vibrant-ink
vibrant-tango
zenburnesque