mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
committed by
GitHub
parent
306eb80216
commit
22a7a7bbab
@@ -104,8 +104,12 @@ export class JavascriptGenerator extends CodeGenerator {
|
|||||||
this.isInitialized = false;
|
this.isInitialized = false;
|
||||||
|
|
||||||
// Copy Order values onto instance for backwards compatibility
|
// Copy Order values onto instance for backwards compatibility
|
||||||
// while ensuring they are not part of the publically- -advertised
|
// while ensuring they are not part of the publically-advertised
|
||||||
// API.
|
// API.
|
||||||
|
//
|
||||||
|
// TODO(#7085): deprecate these in due course. (Could initially
|
||||||
|
// replace data properties with get accessors that call
|
||||||
|
// deprecate.warn().)
|
||||||
for (const key in Order) {
|
for (const key in Order) {
|
||||||
this['ORDER_' + key] = Order[key];
|
this['ORDER_' + key] = Order[key];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user