Skip to content

Local scope for "_" #6

@johnbburg

Description

@johnbburg

This line _ = $(this); declares "_" in the global namespace. Which will overwrite any variable with the same name. For example, underscore.js.

This should declare the variable using "var" or something, to set it in the local scope, and avoid any namespace clash.

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