Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad58146

Browse files
authored
Merge pull request gridstack#1935 from adumesny/master
yarn lint fixes
2 parents 4d63b3f + c0a6881 commit ad58146

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/gridstack-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe('gridstack', function() {
5656
expect(grid).not.toBe(null);
5757
});
5858
it('use wrong selector', function() {
59-
let grid = GridStack.init(null, 'FOO');
59+
let grid = GridStack.init(null, 'BAD_SELECTOR_TEST');
6060
expect(grid).toEqual(null);
6161
});
6262
it('initAll use selector', function() {
@@ -68,7 +68,7 @@ describe('gridstack', function() {
6868
expect(grids.length).toBe(1);
6969
});
7070
it('initAll use wrong selector', function() {
71-
let grids = GridStack.initAll(undefined, 'FOO');
71+
let grids = GridStack.initAll(undefined, 'BAD_SELECTOR_TEST');
7272
expect(grids.length).toBe(0);
7373
});
7474
});

src/gridstack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export class GridStack {
183183
* See instead `GridStackOptions.engineClass` if you only need to
184184
* replace just one instance.
185185
*/
186-
static registerEngine(engineClass: typeof GridStackEngine) {
186+
static registerEngine(engineClass: typeof GridStackEngine): void {
187187
GridStack.engineClass = engineClass;
188188
}
189189

0 commit comments

Comments
 (0)