[Code Style] Run gulp fixstyle

...to apply code style settings from #142.
This commit is contained in:
Victor Woeltjen
2016-05-19 11:29:13 -07:00
parent f12b9704d9
commit fa77139077
440 changed files with 1885 additions and 1662 deletions

View File

@ -53,17 +53,21 @@ define(
var result;
// Load and get the result
loader.load("xyz.js").then(function (v) { result = v; });
loader.load("xyz.js").then(function (v) {
result = v;
});
expect(result).toBeUndefined();
required.fulfill("test result");
waitsFor(
function () { return result !== undefined; },
"promise resolution",
250
);
function () {
return result !== undefined;
},
"promise resolution",
250
);
runs(function () {
expect(result).toEqual("test result");
@ -76,19 +80,25 @@ define(
// Load and get the result
loader.load("xyz.js").then(
function (v) { result = v; },
function (v) { rejection = v; }
);
function (v) {
result = v;
},
function (v) {
rejection = v;
}
);
expect(result).toBeUndefined();
required.reject("test result");
waitsFor(
function () { return rejection !== undefined; },
"promise resolution",
250
);
function () {
return rejection !== undefined;
},
"promise resolution",
250
);
runs(function () {
expect(result).toBeUndefined();
@ -98,4 +108,4 @@ define(
});
}
);
);