remove unused hinting for globals

This commit is contained in:
dloverin committed 2013-04-15 10:38:59 -04:00
1 parent d96d73d895
commit e0c551d624
3 files changed
-25

No files matched your search

@@ -111,21 +111,6 @@ define(function (require, exports, module) {
return name + "." + EVENT_TAG;
}
/*
* Annotate a list of tokens as being global variables
*
* @param {Array.<Object>} globals - list of identifier tokens
* @return {Array.<Object>} - the input array; to each object in the array a
* new global {boolean} property has been added to indicate that it is
* a global variable.
*/
function annotateGlobals(globals) {
return globals.map(function (t) {
t.global = true;
return t;
});
}
/*
* Annotate a list of tokens as literals of a particular kind;
* if string literals, annotate with an appropriate delimiter.
@@ -196,7 +181,6 @@ define(function (require, exports, module) {
exports.splitPath = splitPath;
exports.eventName = eventName;
exports.annotateLiterals = annotateLiterals;
exports.annotateGlobals = annotateGlobals;
exports.KEYWORDS = KEYWORDS;
exports.LITERALS = LITERALS;
exports.LANGUAGE_ID = LANGUAGE_ID;