Menu icon Foundation

My Posts


My Comments

Owen Franssen commented on hassan's post almost 4 years

Same error in Safari 9.0.1 on OSX El Capitan

SyntaxError: Strict mode does not allow function declarations in a lexically nested statement. foundation.js:1632
TypeError: $(document).foundation is not a function. (In '$(document).foundation()', '$(document).foundation' is undefined) app.js:1

Project started using Yeti. Checked all bower components appear to be there.

Same function, listeningElementsMutation, at line 1632. Moved it out of the eventsListener to line 1563 and the error has now gone, also can not see any immediately obvious adverse effects.

Posts Followed



Following

    No Content

Followers

My Posts

My Comments

You commented on hassan's post almost 4 years

Same error in Safari 9.0.1 on OSX El Capitan

SyntaxError: Strict mode does not allow function declarations in a lexically nested statement. foundation.js:1632
TypeError: $(document).foundation is not a function. (In '$(document).foundation()', '$(document).foundation' is undefined) app.js:1

Project started using Yeti. Checked all bower components appear to be there.

Same function, listeningElementsMutation, at line 1632. Moved it out of the eventsListener to line 1563 and the error has now gone, also can not see any immediately obvious adverse effects.

Posts Followed



Following

  • No Content

Followers

  • No Content