by David LeMieux
I've had this idea in the my head for a while now, but it wasn't until I saw a tweet from Jeff Remer that I thought "well, Groucho always has a cigar, so I should make a js library called 'cigar'."
Yeah, it was all based on a bad pun
You could have a utility "class" called "AwesomeUtility" that is used in "Object1" and "Object2". Cigar would allow you to save those in separate js files and test them independently, then you can use Cigar to import them in to your main script file and the dependency will only be loaded once.
As it is, Cigar is no-where near production ready. There is still a lot to test out and play with. Also, I have know idea where this is going.