Skip to content

Code Organization Concepts, javascript error. #544

Closed
@varolo

Description

@varolo

I tried to run the code under the comment "Using an object literal for a jQuery feature" and the javascript console has showed the error message below:

"SyntaxError: missing ; before statement
var myFeature.currentItem = $( this );"

I removed the "var" statement to fix it.

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