[Build] Remove unused variables

...to satisfy JSHint
This commit is contained in:
Victor Woeltjen
2016-03-04 11:41:48 -08:00
parent bf232d0593
commit a1a7b2b8ce
44 changed files with 55 additions and 109 deletions

View File

@@ -79,8 +79,7 @@ define(
}
function doWizardSave(parent) {
var context = domainObject.getCapability("context"),
wizard = new CreateWizard(
var wizard = new CreateWizard(
domainObject,
parent,
self.policyService

View File

@@ -37,10 +37,7 @@ define(
* @implements {PersistenceCapability}
*/
function EditableActionCapability(
actionCapability,
editableObject,
domainObject,
cache
actionCapability
) {
var action = Object.create(actionCapability);

View File

@@ -68,8 +68,7 @@ define(
EditableDomainObjectCache.prototype.getEditableObject = function (domainObject) {
var type = domainObject.getCapability('type'),
EditableDomainObject = this.EditableDomainObject,
editableObject,
statusListener;
editableObject;
// Track the top-level domain object; this will have
// some special behavior for its context capability.

View File

@@ -109,8 +109,8 @@ define(
// Handle a specific representation of a specific domain object
EditRepresenter.prototype.represent = function represent(representation, representedObject) {
var scope = this.scope,
self = this;
var scope = this.scope;
// Track the key, to know which view configuration to save to.
this.key = (representation || {}).key;
// Track the represented object