forked from tower-archive/tower
-
Notifications
You must be signed in to change notification settings - Fork 0
utils
Lance Pollard edited this page Apr 12, 2012
·
1 revision
Have CachedCommons.org let you load files with require('socket.io')
:
# coach/controllers/sockets
require('socket.io')
# essentially...
require = (key) ->
$.getScript("http://cachedcommons.org/javascripts/#{key}.min.js")
- underscore.js
- underscore.string.js
- moment.js (date/time)
- mustache.js
- socket.io
- pluralization
- schema.org (https://github.com/indexzero/node-schema-org)
- geo: https://github.com/manuelbieh/Geolib
- kibo for keyboard
- tiny-require.js (browser + node)
- useragent (npm install useragent)
- shift.js (templating)
- async.js (callbacks)
- mimetypes
- unicode character lookup
window.μ = new class Urban αστικός, == Urban
User.within(miles: 10)
- extractArgs (args)
- extractOptions
- extractBlock
- sortBy
- isInt
- isFloat
- cloneHash
- cloneArray
- deepMerge
- deepMergeWithArray
- alias
- defineProperty
- accessor
- getter
- setter
- methods
- delegate
- isHash
- kind
- isPresent
- isBlank
- has
- isA
- functionName
- parameterize
- constantize
- camelize
- underscore
- singularize
- pluralize
- capitalize
- interpolate
- trim
- regexpEscape
- now
- date