what does lodash.coffee do? #3

Closed
jcollum opened this Issue Mar 25, 2013 · 3 comments

Comments

Projects
None yet
2 participants
@jcollum

jcollum commented Mar 25, 2013

Lodash.coffee looks like something that might resolve an issue that I'm running into with amdefine and lodash -- but what is it supposed to do? Not an issue per se, because it looks like you just started building out this library. But if you've got a nifty solution for lodash and amdefine, it would be great if you could share it.

@andreineculau

This comment has been minimized.

Show comment Hide comment
@andreineculau

andreineculau Mar 26, 2013

Owner

@jcollum, to answer your questions

  • what does it do - it will give you a lodash (extended with some of the like/_/*.coffee funs)
  • just started out this lib - yes, and no. it's oldish, but indeed immature. AND I haven't used/tested it in the browser for a long time now. I'm currently using it only in nodejs projects.

the purpose of OTW is exactly One Thing Well. I have had projects where it didn't make sense to load underscore just because you might have wanted _.map or _.each.

now my turn for questions - what is the problem with lodash and amdefine that you want to fix ?

Owner

andreineculau commented Mar 26, 2013

@jcollum, to answer your questions

  • what does it do - it will give you a lodash (extended with some of the like/_/*.coffee funs)
  • just started out this lib - yes, and no. it's oldish, but indeed immature. AND I haven't used/tested it in the browser for a long time now. I'm currently using it only in nodejs projects.

the purpose of OTW is exactly One Thing Well. I have had projects where it didn't make sense to load underscore just because you might have wanted _.map or _.each.

now my turn for questions - what is the problem with lodash and amdefine that you want to fix ?

@jcollum

This comment has been minimized.

Show comment Hide comment
@jcollum

jcollum Mar 26, 2013

Cool, thanks for the feedback. I was running into a problem with loading lodash while using amdefine in other files. I had a define that didn't match this:

if (typeof define !== 'function') { var define = require('amdefine')(module) }

and that was breaking things. It's all good now.

jcollum commented Mar 26, 2013

Cool, thanks for the feedback. I was running into a problem with loading lodash while using amdefine in other files. I had a define that didn't match this:

if (typeof define !== 'function') { var define = require('amdefine')(module) }

and that was breaking things. It's all good now.

@jcollum jcollum closed this Mar 26, 2013

@andreineculau

This comment has been minimized.

Show comment Hide comment
@andreineculau

andreineculau Mar 26, 2013

Owner

@jcollum good to hear :)

Owner

andreineculau commented Mar 26, 2013

@jcollum good to hear :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment