I get this error: "expected an identifier and instead saw 'const'", I'm using brackets text editor. I found this answer: "You need to specify the es6 directive. See JSLint Help". But I can't figure it out how to specit...
I have Googled and looked through this site everywhere, but I can only find answers for JSHint instead of JSLint.  To get rid of the "use function form of use strict" error I add in /*jslint node: true */. But to disable errors for using cons...
I'm trying to find a way to test if the cursor is preceded by a specific string and then trigger an event.   Example of what I'm trying to do:  User clicks somewhere inside the editor, a cursorActivity (cursor or editor changed) event is fire...
How do you use libraries in Brackets without the javascript lint giving errors? For example I am using chart.js and the product works completely fine but Brackets gives an error that Chart was used before being defined. Is there any way to hide this...
Starting off using brackets as a text editor to write javascript code, kindly note I'm a beginner, and I'm getting weird errors when I write my code like unexpected console statement when I use console.log() or name is not defined if I declar...
I am currently using Brackets (code editor) to create some C source files. It uses CodeMirror to handle the syntax highlighting and I have been attempting now for a while to try and add keywords to it.  I managed to add 'printf' as a keyword...
In Adobe Brackets, I am getting warnings from JSLint when writing strict code ['use strict'] that my switch case statement is incorrectly formatted: eg. Expected 'case' at column #, not column #  If I move everything inside the switch...
I've been watching tutorials for building charts in d3.js but I'm stuck on this piece of code. In the video, the name "Jennifer Jerome" is highlighted and increased in font size. I literally have the same code but nothing is happening...
I'm trying to create a custom C++ function which I can call from JavaScript. The function is a simple one to just resize the window.  I have the following bits in the following places:  In appshell_extensions_platform.h:  #if defined(OS_WIN) void...
I have this code:  var me = {     PreloadImage: function(src) {         var e = new Image();         e.src = src;     },     CreateAudio : function(src) {         var c = new Audio(src);         c.play();     } }   I have a problem with new Audio(),...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.