mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
use .value instead of .label to reduce confusion
This commit is contained in:
1 parent
ab0b3728a1
commit
3eee0bef6f
3 files changed
+9
-8
No files matched your search
@@ -125,7 +125,7 @@ define(function (require, exports, module) {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$hintObj.text(token.label);
|
||||
$hintObj.text(token.value);
|
||||
}
|
||||
|
||||
$hintObj.data("token", token);
|
||||
@@ -278,7 +278,7 @@ define(function (require, exports, module) {
|
||||
*/
|
||||
JSHints.prototype.insertHint = function ($hintObj) {
|
||||
var hint = $hintObj.data("token"),
|
||||
completion = hint.label,
|
||||
completion = hint.value,
|
||||
cursor = session.getCursor(),
|
||||
token = session.getToken(cursor),
|
||||
query = session.getQuery(),
|
||||
|
||||
Reference in new issue
Block a user