Open unscriptable opened 11 years ago
That looks great @unscriptable, would make things a lot simpler. Would making declaring jQuery, poly, curl packages a lot cleaner
I assume you could still used paths
if you wanted to?
I was hoping we remove paths
. I guess we should keep it for cross-loader compat and back compat. :)
Yeah, cross/back-compat seems like the only good reason to keep it, imho.
I wouldn't use it now! However it's standard with other libs I assume
Nice!
+1 on the simplified packages
syntax.
+1 on keeping paths
for 'for cross-loader compat and back compat' :-)
We've been thinking that the paths and packages configuration syntax is bulky. It's also not clear to new devs which to use: paths or packages?
This new syntax would make it succint to declare the two most common types of packages: those like when.js and those like jquery:
We could offer the back-compat syntax by sniffing for the existence of
location
.Thoughts?