Favoritelakshmi ch asked in #Lightning ExperienceDec 21, 2017, 5:24 AMESLINT ERROR in contoller.js fileHi all,I am trying to save controller.js file,then i am getting the following error.Can any one help me to solve this.Any valuble suggestions.1 answerSortSort by DateSort by Most HelpfulSort by DateAlisha Mehta (Northeastern University)Dec 21, 2017, 6:14 AMHi Lakshmi,This is becaus eyou are suing cmp.getEvent in line 7 but have not passed it as a parameter.Update line 3 to -myfireComponentEvent : function(cmp, event) Add a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Alisha Mehta (Northeastern University)Dec 21, 2017, 6:14 AMHi Lakshmi,This is becaus eyou are suing cmp.getEvent in line 7 but have not passed it as a parameter.Update line 3 to -myfireComponentEvent : function(cmp, event)