Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate require #102

Open
fairbanksg opened this issue Sep 27, 2013 · 2 comments
Open

Deprecate require #102

fairbanksg opened this issue Sep 27, 2013 · 2 comments

Comments

@fairbanksg
Copy link

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
Copy link
Member

+1.

@mauritslamers
Copy link
Member

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants