Fix errors reported by the func-call-spacing
ESLint rule
http://eslint.org/docs/rules/func-call-spacing
This commit is contained in:
parent
ad915f8af1
commit
6606540fe4
2
external/umdutils/verifier.js
vendored
2
external/umdutils/verifier.js
vendored
@ -210,7 +210,7 @@ function readDependencies(rootPaths) {
|
||||
}
|
||||
});
|
||||
if (discovered.length === 0) {
|
||||
throw new Error ('Some circular references exist: somewhere at ' +
|
||||
throw new Error('Some circular references exist: somewhere at ' +
|
||||
left.join(','));
|
||||
}
|
||||
discovered.sort();
|
||||
|
@ -346,12 +346,12 @@ describe('primitives', function() {
|
||||
});
|
||||
|
||||
describe('isRef', function () {
|
||||
it ('handles non-refs', function () {
|
||||
it('handles non-refs', function () {
|
||||
var nonRef = {};
|
||||
expect(isRef(nonRef)).toEqual(false);
|
||||
});
|
||||
|
||||
it ('handles refs', function () {
|
||||
it('handles refs', function () {
|
||||
var ref = new Ref(1, 0);
|
||||
expect(isRef(ref)).toEqual(true);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user