3 ms·
If you carefully read the instructions, you can learn how to compile libraries with it - there is explicit support for this use case. (which is likely what jQue
by TeHCrAzY 17y ago
If you carefully read the instructions, you can learn how to compile libraries with it - there is explicit support for this use case. (which is likely what jQuery have done.)
Exports:
http://code.google.com/closure/compiler/docs/api-tutorial3.html#export http://code.google.com/closure/compiler/docs/api-tutorial3.h...
Extern:
http://code.google.com/closure/compiler/docs/api-tutorial3.html#externs http://code.google.com/closure/compiler/docs/api-tutorial3.h...
- jeresig 17y agoActually it's not really efficient for us to do that - since we would need to expose literally everything and in the end we would end up with the same result as running it through the simple minifier. As it turns out though the simple minifier is quite good - giving us a 13% improvement over YUI Min.