Skip to content

Deprecate require #102

@fairbanksg

Description

@fairbanksg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions