Browse Source

Fix errors reported by the `func-call-spacing` ESLint rule

http://eslint.org/docs/rules/func-call-spacing
Jonas Jenwald 8 years ago
parent
commit
6606540fe4
  1. 2
      external/umdutils/verifier.js
  2. 4
      test/unit/primitives_spec.js

2
external/umdutils/verifier.js vendored

@ -210,7 +210,7 @@ function readDependencies(rootPaths) { @@ -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();

4
test/unit/primitives_spec.js

@ -346,12 +346,12 @@ describe('primitives', function() { @@ -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…
Cancel
Save