Skip to content

Commit 9a1d71b

Browse files
committed
improve blockly linting
1 parent 894d876 commit 9a1d71b

8 files changed

+18
-18
lines changed

admin/blockly.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
22

3-
var goog = goog || undefined;
4-
var Blockly = Blockly || undefined;
5-
var main = main || undefined;
6-
var document = document || undefined;
3+
/*global goog:true */
4+
/*global Blockly:true */
5+
/*global main:true */
6+
/*global document:true */
77

88
if (typeof goog !== 'undefined') {
99
goog.provide('Blockly.JavaScript.Sendto');

admin/blocks/append.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
var Blockly = Blockly || undefined;
3-
var getInstances = getInstances || undefined;
2+
/*global Blockly:true */
3+
/*global getInstances:true */
44

55
/// --- Append --------------------------------------------------
66
Blockly.Words['google-spreadsheet_append_add-to'] = { en: 'append to', de: 'füge zu' };

admin/blocks/createSheet.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
var Blockly = Blockly || undefined;
3-
var getInstances = getInstances || undefined;
2+
/*global Blockly:true */
3+
/*global getInstances:true */
44

55
/// ---Create sheet --------------------------------------------------
66
Blockly.Words['google-spreadsheet_create-sheet_create-in'] = { en: 'create in', de: 'erstelle in' };

admin/blocks/deleteRows.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
var Blockly = Blockly || undefined;
3-
var getInstances = getInstances || undefined;
2+
/*global Blockly:true */
3+
/*global getInstances:true */
44

55
/// --- Delete rows --------------------------------------------------
66

admin/blocks/deleteSheet.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
var Blockly = Blockly || undefined;
3-
var getInstances = getInstances || undefined;
2+
/*global Blockly:true */
3+
/*global getInstances:true */
44

55
Blockly.Words['google-spreadsheet_delete-sheet_delete-on'] = { en: 'delete in', de: 'lösche in' };
66
Blockly.Words['google-spreadsheet_delete-sheet_sheetName'] = {

admin/blocks/duplicateSheet.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
var Blockly = Blockly || undefined;
3-
var getInstances = getInstances || undefined;
2+
/*global Blockly:true */
3+
/*global getInstances:true */
44

55
Blockly.Words['google-spreadsheet_duplicate-sheet_duplicate-in'] = { en: 'duplicate in ', de: 'dupliziere in' };
66
Blockly.Words['google-spreadsheet_duplicate-sheet_sheetName'] = {

admin/blocks/readCell.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
var Blockly = Blockly || undefined;
3-
var getInstances = getInstances || undefined;
2+
/*global Blockly:true */
3+
/*global getInstances:true */
44

55
/// --- Read Cell --------------------------------------------------
66

admin/blocks/writeCell.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
var Blockly = Blockly || undefined;
3-
var getInstances = getInstances || undefined;
2+
/*global Blockly:true */
3+
/*global getInstances:true */
44

55
/// --- Write Cell --------------------------------------------------
66

0 commit comments

Comments
 (0)