File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ import {
2323 workspaceTeardown ,
2424} from './test_helpers/setup_teardown.js' ;
2525import { runCodeGenerationTestSuites } from './test_helpers/code_generation.js' ;
26- const { dartGenerator} = goog . require ( 'Blockly.Dart.all' ) ;
27- const { javascriptGenerator} = goog . require ( 'Blockly.JavaScript.all' ) ;
28- const { luaGenerator} = goog . require ( 'Blockly.Lua.all' ) ;
29- const { phpGenerator} = goog . require ( 'Blockly.PHP.all' ) ;
30- const { pythonGenerator} = goog . require ( 'Blockly.Python.all' ) ;
26+ import { dartGenerator } from '../../generators/dart.js' ;
27+ import { javascriptGenerator } from '../../generators/javascript.js' ;
28+ import { luaGenerator } from '../../generators/lua.js' ;
29+ import { phpGenerator } from '../../generators/php.js' ;
30+ import { pythonGenerator } from '../../generators/python.js' ;
3131
3232suite ( 'Multiline Input Fields' , function ( ) {
3333 setup ( function ( ) {
Original file line number Diff line number Diff line change 77goog . declareModuleId ( 'Blockly.test.generator' ) ;
88
99import * as Blockly from '../../build/src/core/blockly.js' ;
10- const { DartGenerator} = goog . require ( 'Blockly.Dart' ) ;
11- const { JavascriptGenerator} = goog . require ( 'Blockly.JavaScript' ) ;
12- const { LuaGenerator} = goog . require ( 'Blockly.Lua' ) ;
13- const { PhpGenerator} = goog . require ( 'Blockly.PHP' ) ;
14- const { PythonGenerator} = goog . require ( 'Blockly.Python' ) ;
10+ import { DartGenerator } from '../../generators/dart/dart_generator.js' ;
11+ import { JavascriptGenerator } from '../../generators/javascript/javascript_generator.js' ;
12+ import { LuaGenerator } from '../../generators/lua/lua_generator.js' ;
13+ import { PhpGenerator } from '../../generators/php/php_generator.js' ;
14+ import { PythonGenerator } from '../../generators/python/python_generator.js' ;
1515import {
1616 sharedTestSetup ,
1717 sharedTestTeardown ,
You can’t perform that action at this time.
0 commit comments