davidedc / livecodelab

a web based livecoding environment
http://livecodelab.net/
MIT License
327 stars 63 forks source link

function "isFunction" is now defined in two files (graphics-commands and matrix-commands) and hence needs to be refactored. #215

Closed davidedc closed 9 years ago

davidedc commented 10 years ago

isFunction = (functionToCheck) -> getType = {} functionToCheck and getType.toString.call(functionToCheck) is "[object Function]"

rumblesan commented 10 years ago

I've added the underscore.js library and replaced instances of our isFunction with theirs.

there are lots of other nice things underscore gives which I think will come in handy else where as well.

rumblesan commented 10 years ago

reopening until this is actually merged, otherwise I might forget

rumblesan commented 9 years ago

so this is actually in the bigcleanup pull request. can close once PR #255 is merged

rumblesan commented 9 years ago

fixed now #255 is merged