summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Rennie <Michael_Rennie@ca.ibm.com>2016-12-05 10:41:51 -0500
committerMike Rennie <Michael_Rennie@ca.ibm.com>2016-12-05 10:42:07 -0500
commit8db5e138653a98f013073b64c8034a9c30d16783 (patch)
treecd6ca170bb72348a402a23e69ab115c0fb987303
parente9bc289e25e1d16b4f9c171839e827d1d64972bf (diff)
downloadorg.eclipse.orion.client-8db5e138653a98f013073b64c8034a9c30d16783.zip
org.eclipse.orion.client-8db5e138653a98f013073b64c8034a9c30d16783.tar.gz
org.eclipse.orion.client-8db5e138653a98f013073b64c8034a9c30d16783.tar.bz2
[nobug] Minor code cleanup
-rw-r--r--bundles/org.eclipse.orion.client.javascript/web/javascript/astManager.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.orion.client.javascript/web/javascript/astManager.js b/bundles/org.eclipse.orion.client.javascript/web/javascript/astManager.js
index 03a5988..39f48e0 100644
--- a/bundles/org.eclipse.orion.client.javascript/web/javascript/astManager.js
+++ b/bundles/org.eclipse.orion.client.javascript/web/javascript/astManager.js
@@ -24,8 +24,8 @@ define([
* Provides a shared AST.
* @name javascript.ASTManager
* @class Provides a shared AST.
- * @param {Object} esprima The esprima parser that this ASTManager will use.
- * @param {Object} serviceRegistry The platform service registry
+ * @param {?} serviceRegistry The platform service registry
+ * @param {?} servjsProject The backing project context
*/
function ASTManager(serviceRegistry, jsProject) {
this.cache = new LRU(10);
@@ -33,7 +33,7 @@ define([
this.jsProject = jsProject;
registry = serviceRegistry;
}
-
+
/**
* @description Delegate to log timings to the metrics service
* @param {Number} end The end time
@@ -47,7 +47,7 @@ define([
}
}
}
-
+
Objects.mixin(ASTManager.prototype, /** @lends javascript.ASTManager.prototype */ {
/**
* @param {orion.editor.EditorContext} editorContext
@@ -117,7 +117,7 @@ define([
logTiming(Date.now() - start);
return ast;
},
-
+
/**
* Callback from the orion.edit.model service
* @param {Object} event An <tt>orion.edit.model</tt> event.