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

TypeError: (intermediate value)(...) is not a function #373

Closed
homerjam opened this issue Jan 7, 2016 · 3 comments

Comments

@homerjam
Copy link

commented Jan 7, 2016

This error pops up when you concat/uglify files and theres a missing semicolon between files. This happens frequently (not everyone includes a semicolon at the start of their files) when using other libs etc.

Can you add a semi colon at the end of the file too to prevent this?

eg.

;(function () {
    // code here
})(); // <--- add this semicolon
@rstacruz

This comment has been minimized.

Copy link
Member

commented Jan 7, 2016

(); // eslint-disable-line semi

On Thursday, January 7, 2016, James Homer notifications@github.com wrote:

This error pops up when you concat/uglify files and theres a missing
semicolon between files This happens frequently (not everyone includes a
semicolon at the start of their files) when using other libs etc

Can you add a semi colon at the end of the file too to prevent this?

eg

;(function () {
// code here
})(); // <--- add this semicolon


Reply to this email directly or view it on GitHub
#373.

@feross

This comment has been minimized.

Copy link
Member

commented Jan 7, 2016

You can do what @rstacruz suggests to disable the rule in your file.

@feross feross closed this Jan 7, 2016

@homerjam

This comment has been minimized.

Copy link
Author

commented Jan 7, 2016

Great thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants
You can’t perform that action at this time.