mde / true

A JavaScript port of the Unix utility 'true'. Returns the Boolean value `true`
101 stars 26 forks source link

Convert all methods to named functions #8

Closed joeybaker closed 10 years ago

joeybaker commented 10 years ago

Debugging is important, and for such a critical module, I must have the ability to see named functions all the way down the stack.

I recognized that this increases the weight of the module by 66.1441441%, but for such an important step of my debugging flow, I consider it well worth it.

My thanks to @Techwraith for assisting with this patch.

mde commented 10 years ago

Wow, this does add a lot of code, and as we know, you can't have tiny modules unless they are truly tiny. However, as you point out, debugging is pretty critical, so I'll bow to expedience.Thank you so much for this important addition to the library.