sproutcore / abbot

SproutCore Build Tools [deprecated]
http://www.sproutcore.com
88 stars 44 forks source link

Deprecate require #102

Open fairbanksg opened 11 years ago

fairbanksg commented 11 years ago

Abbot currently supports using 'require' in addition to 'sc_require'. I would like us to indicate that using require is deprecated in 1.10 and remove it in 1.10+.

require is used by CommonJS for module loading. Many libraries that support both browsers and nodejs end up using a shim to support both. So use of these libraries with Abbot causes a bunch of warnings, since Abbot doesn't understand their usage of require.

SproutCore itself does not use require anywhere, only sc_require.

dcporter commented 11 years ago

+1.

mauritslamers commented 11 years ago

+1