mirror of
https://github.com/google/blockly.git
synced 2025-12-15 22:00:07 +01:00
chore: fix v11 branch build (#7836)
* chore: fix render management lint * fix: build
This commit is contained in:
@@ -16,7 +16,7 @@ const rootBlocks = new Set<BlockSvg>();
|
||||
const dirtyBlocks = new WeakSet<BlockSvg>();
|
||||
|
||||
/** A map from queued blocks to the event group from when they were queued. */
|
||||
let eventGroups = new WeakMap<BlockSvg, string>();
|
||||
const eventGroups = new WeakMap<BlockSvg, string>();
|
||||
|
||||
/**
|
||||
* The promise which resolves after the current set of renders is completed. Or
|
||||
|
||||
@@ -208,8 +208,6 @@ const JSCOMP_ERROR = [
|
||||
'conformanceViolations',
|
||||
'const',
|
||||
'constantProperty',
|
||||
'deprecated',
|
||||
'deprecatedAnnotations',
|
||||
'duplicateMessage',
|
||||
'es5Strict',
|
||||
'externsValidation',
|
||||
@@ -256,6 +254,8 @@ const JSCOMP_ERROR = [
|
||||
* it's generally sufficient to remove them from JSCOMP_ERROR.
|
||||
*/
|
||||
const JSCOMP_WARNING = [
|
||||
'deprecated',
|
||||
'deprecatedAnnotations',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -74,6 +74,8 @@ suite('Render Management', function () {
|
||||
isDisposed: () => false,
|
||||
getRelativeToSurfaceXY: () => ({x: 0, y: 0}),
|
||||
updateComponentLocations: () => {},
|
||||
bumpNeighbours: () => {},
|
||||
initialized: true,
|
||||
workspace: ws || createMockWorkspace(),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,4 +28,4 @@ testGenerator.forBlock['test_block'] = function (
|
||||
return ['a fake code string', Order.ADDITION];
|
||||
};
|
||||
|
||||
phpGenerator.quote_();
|
||||
phpGenerator.quote_('a string');
|
||||
|
||||
Reference in New Issue
Block a user