planetoftheweb / responsivebootstrap

This is the repository for my course, Bootstrap Layouts: Responsive Single-Page Design on LinkedIn Learning and Lynda.com.
https://www.linkedin.com/learning/bootstrap-layouts-responsive-single-page-design?trk=insiders_6787408_learning
Other
49 stars 58 forks source link

line 87 col 3 Missing "Use Strict" Statement #3

Open drethedevjs opened 6 years ago

drethedevjs commented 6 years ago

The file path that my terminal is referencing the error is

builds/development/js/myscript.js

I opened the file and it looks like "Use Strict" is at the top of the page right where it needs to be but for some reason, it's not registering and throwing this error.

It's also saying that the error is on the last line in the last column...odd.

rikchivaror commented 6 years ago

I'm having the same issue.

chadgonzales commented 6 years ago

Same issue here

ravishankarbanka commented 6 years ago

this issue got resolved after moving "Use Strict" to the top of the file like below

"use strict"; //----------to here $(function() { //"use strict"; -----------from here var topoffset = 50; //variable for menu height

ndiklasthedev commented 4 years ago

in the file "builds/development/js/myscript.js"

after function is called last line there is extra }); delete then save and run gulp again

$('.carousel').carousel({ pause: false }); });