@@ -27,8 +27,6 @@ define(function (require, exports, module) {
2727 var AppInit = brackets . getModule ( "utils/AppInit" ) ,
2828 CodeHintManager = brackets . getModule ( "editor/CodeHintManager" ) ,
2929 CSSUtils = brackets . getModule ( "language/CSSUtils" ) ,
30- HTMLUtils = brackets . getModule ( "language/HTMLUtils" ) ,
31- LanguageManager = brackets . getModule ( "language/LanguageManager" ) ,
3230 PreferencesManager = brackets . getModule ( "preferences/PreferencesManager" ) ,
3331 TokenUtils = brackets . getModule ( "utils/TokenUtils" ) ,
3432 StringMatch = brackets . getModule ( "utils/StringMatch" ) ,
@@ -234,12 +232,11 @@ define(function (require, exports, module) {
234232 this . cursor = this . editor . getCursorPos ( ) ;
235233 this . info = CSSUtils . getInfoAtPos ( this . editor , this . cursor ) ;
236234
237- var needle = this . info . name ,
235+ let needle = this . info . name ,
238236 valueNeedle = "" ,
239237 context = this . info . context ,
240238 valueArray ,
241239 type ,
242- namedFlows ,
243240 result ,
244241 selectInitial = false ;
245242
@@ -300,7 +297,7 @@ define(function (require, exports, module) {
300297 } ) ;
301298
302299 return {
303- hints : formatHints ( result , valueNeedle ) ,
300+ hints : formatHints ( result ) ,
304301 match : null , // the CodeHintManager should not format the results
305302 selectInitial : selectInitial
306303 } ;
@@ -331,7 +328,7 @@ define(function (require, exports, module) {
331328 } ) ;
332329
333330 return {
334- hints : formatHints ( result , needle ) ,
331+ hints : formatHints ( result ) ,
335332 match : null , // the CodeHintManager should not format the results
336333 selectInitial : selectInitial ,
337334 handleWideResults : false
0 commit comments