mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Add HintUtil2.formatParameterHint and fix bugs
This commit is contained in:
1 parent
adb56c0b58
commit
8ae1abe419
8 files changed
+283
-362
No files matched your search
@@ -27,7 +27,7 @@
|
||||
define(function (require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
var acorn = require("thirdparty/acorn/acorn");
|
||||
var Acorn = require("thirdparty/acorn/acorn");
|
||||
|
||||
var LANGUAGE_ID = "javascript",
|
||||
HTML_LANGUAGE_ID = "html",
|
||||
@@ -64,7 +64,7 @@ define(function (require, exports, module) {
|
||||
i;
|
||||
|
||||
for (i = 0; i < key.length; i++) {
|
||||
result = acorn.isIdentifierChar(key.charCodeAt(i));
|
||||
result = Acorn.isIdentifierChar(key.charCodeAt(i));
|
||||
if (!result) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user