[Build] Remove unused variables from specs
...to satisfy JSHint.
This commit is contained in:
@@ -26,7 +26,7 @@ define(
|
||||
|
||||
describe("Properties dialog", function () {
|
||||
|
||||
var type, properties, domainObject, model, dialog;
|
||||
var type, properties, model, dialog;
|
||||
|
||||
beforeEach(function () {
|
||||
type = {
|
||||
|
||||
@@ -93,8 +93,7 @@ define(
|
||||
});
|
||||
|
||||
it("exposes a warning message for unload", function () {
|
||||
var obj = mockObject,
|
||||
errorMessage = "Unsaved changes";
|
||||
var errorMessage = "Unsaved changes";
|
||||
|
||||
// Normally, should be undefined
|
||||
expect(controller.getUnloadWarning()).toBeUndefined();
|
||||
|
||||
@@ -28,7 +28,6 @@ define(
|
||||
|
||||
var captured,
|
||||
completionCapability,
|
||||
object,
|
||||
mockQ,
|
||||
mockType,
|
||||
cache;
|
||||
@@ -45,7 +44,7 @@ define(
|
||||
type: mockType
|
||||
}[key];
|
||||
},
|
||||
hasCapability: function (key) {
|
||||
hasCapability: function () {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -25,7 +25,11 @@ define(
|
||||
function (EditableDomainObject) {
|
||||
|
||||
describe("Editable domain object", function () {
|
||||
var object;
|
||||
|
||||
beforeEach(function () {
|
||||
object = new EditableDomainObject();
|
||||
});
|
||||
});
|
||||
}
|
||||
);
|
||||
@@ -25,8 +25,7 @@ define(
|
||||
function (EditableViewPolicy) {
|
||||
|
||||
describe("The editable view policy", function () {
|
||||
var testView,
|
||||
mockDomainObject,
|
||||
var mockDomainObject,
|
||||
testMode,
|
||||
policy;
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ define(
|
||||
});
|
||||
|
||||
it("invokes setters on update", function () {
|
||||
var structure, state;
|
||||
var structure;
|
||||
|
||||
testABC.a = jasmine.createSpy('a');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user