How to use Frontend method in Best

Best JavaScript code snippet using best

pack.js

Source:pack.js Github

copy

Full Screen

1const fs = require('fs');2const exec = require('child_process').exec;3const cssFiles = [4 '../css/fonts.css',5 '../css/general.css',6 '../css/components/contextMenu.css',7 '../css/components/closeButton.css',8 '../css/components/button.css',9 '../css/components/statusLight.css',10 '../css/components/tree.css',11 '../css/components/fileTree.css',12 '../css/components/slider.css',13 '../css/components/tabs.css',14 '../css/components/tabPanel.css',15 '../css/components/panel.css',16 '../css/components/checkbox.css',17 '../css/components/checkboxAndLabel.css',18 '../css/components/iconSelect.css',19 '../css/components/radio.css',20 '../css/components/textInput.css',21 '../css/components/toolOptions.css',22 '../css/components/hint.css',23 '../css/components/resizer.css',24 '../css/components/dropdown.css',25 '../css/components/progressBar.css',26 '../css/components/label.css',27 '../css/components/image.css',28 '../css/components/ioDevice.css',29 '../css/components/loadingDots.css',30 '../css/components/textBlock.css',31 '../css/components/titleBlock.css',32 '../css/components/listItems.css',33 '../css/components/nonVisual.css',34 '../css/components/wizardSteps.css',35 '../css/components/includeFiles.css',36 '../css/ide/setup.css',37 '../css/ide/ide.css',38 '../css/ide/editor.css',39 '../css/ide/console.css',40 '../css/ide/toolbar.css',41 '../css/ide/mainMenu.css',42 '../css/ide/file.css',43 '../css/ide/home.css',44 '../css/ide/components.css',45 '../css/ide/icon.css',46 '../css/simulator/simulator.css',47 '../css/simulator/ev3.css',48 '../css/simulator/poweredup.css',49 '../css/simulator/spike.css',50 '../css/simulator/sensors.css',51 '../css/simulator/motors.css',52 '../css/simulator/graph.css',53 '../css/properties/properties.css',54 '../css/dialogs.css',55 '../css/dialogs/alert.css',56 '../css/dialogs/sensorType.css',57 '../css/dialogs/settings.css',58 '../css/dialogs/directControl.css',59 '../css/dialogs/explore.css',60 '../css/dialogs/file.css',61 '../css/dialogs/fileNew.css',62 '../css/dialogs/fileRename.css',63 '../css/dialogs/filePoweredUpProject.css',64 '../css/dialogs/files.css',65 '../css/dialogs/help.css',66 '../css/dialogs/imageLoad.css',67 '../css/dialogs/license.css',68 '../css/dialogs/list.css',69 '../css/dialogs/volume.css',70 '../css/dialogs/download.css',71 '../css/dialogs/hint.css',72 '../css/dialogs/statistics.css',73 '../css/dialogs/graph.css',74 '../css/dialogs/deviceCount.css',75 '../css/dialogs/icon.css',76 '../css/dialogs/gearRatioCalculator.css',77 '../css/dialogs/inverseKinematics.css',78 '../css/dialogs/wheelToSVG.css',79 '../css/dialogs/example.css',80 '../css/colors.css',81 '../css/source.css',82 '../css/codemirror/codemirror.css',83 '../css/codemirror/showHints.css'84 ];85const libraryFiles = [86 '../js/frontend/lib/codemirror/codemirror.js',87 '../js/frontend/lib/codemirror/addon/searchCursor.js',88 '../js/frontend/lib/codemirror/addon/search.js',89 '../js/frontend/lib/codemirror/addon/openFileAtCursor.js',90 '../js/frontend/lib/codemirror/addon/showHint.js',91 '../js/frontend/lib/codemirror/addon/wheelHint.js',92 '../js/frontend/lib/codemirror/mode/wheel.js',93 '../js/frontend/lib/codemirror/mode/vm.js',94 '../js/frontend/lib/codemirror/mode/woc.js',95 '../js/frontend/lib/codemirror/mode/lms.js',96 '../js/frontend/lib/codemirror/mode/python.js',97 '../js/frontend/lib/poweredup/poweredup.js'98 ];99const files = [100 './js/shared/lib/platform',101 './js/frontend/ide/plugins/pluginUuid',102 './js/shared/vm/modules/buttonModuleConstants',103 './js/shared/vm/modules/fileModuleConstants',104 './js/shared/vm/modules/lightModuleConstants',105 './js/shared/vm/modules/mathModuleConstants',106 './js/shared/vm/modules/motorModuleConstants',107 './js/shared/vm/modules/screenModuleConstants',108 './js/shared/vm/modules/sensorModuleConstants',109 './js/shared/vm/modules/soundModuleConstants',110 './js/shared/vm/modules/standardModuleConstants',111 './js/shared/vm/modules/systemModuleConstants',112 './js/shared/vm/modules/stringModuleConstants',113 './js/shared/vm/modules/bitModuleConstants',114 './js/shared/vm/modules/deviceModuleConstants',115 './js/shared/vm/modules/poweredUpModuleConstants',116 './js/shared/vm/modules/spikeModuleConstants',117 './js/shared/vm/modules/nxtModuleConstants',118 './js/shared/vm/modules/components/componentFormModuleConstants',119 './js/shared/vm/modules/components/componentButtonModuleConstants',120 './js/shared/vm/modules/components/componentSelectButtonModuleConstants',121 './js/shared/vm/modules/components/componentCheckboxModuleConstants',122 './js/shared/vm/modules/components/componentRadioModuleConstants',123 './js/shared/vm/modules/components/componentDropdownModuleConstants',124 './js/shared/vm/modules/components/componentTextInputModuleConstants',125 './js/shared/vm/modules/components/componentSliderModuleConstants',126 './js/shared/vm/modules/components/componentLabelModuleConstants',127 './js/shared/vm/modules/components/componentTitleModuleConstants',128 './js/shared/vm/modules/components/componentTextModuleConstants',129 './js/shared/vm/modules/components/componentListItemsModuleConstants',130 './js/shared/vm/modules/components/componentPanelModuleConstants',131 './js/shared/vm/modules/components/componentTabsModuleConstants',132 './js/shared/vm/modules/components/componentRectangleModuleConstants',133 './js/shared/vm/modules/components/componentCircleModuleConstants',134 './js/shared/vm/modules/components/componentImageModuleConstants',135 './js/shared/vm/modules/components/componentIconModuleConstants',136 './js/shared/vm/modules/components/componentStatusLightModuleConstants',137 './js/shared/vm/modules/components/componentProgressBarModuleConstants',138 './js/shared/vm/modules/components/componentLoadingDotsModuleConstants',139 './js/shared/vm/modules/components/componentPUDeviceModuleConstants',140 './js/shared/vm/modules/components/componentEV3MotorModuleConstants',141 './js/shared/vm/modules/components/componentEV3SensorModuleConstants',142 './js/shared/vm/modules/components/componentIntervalModuleConstants',143 './js/shared/vm/modules/components/componentTimeoutModuleConstants',144 './js/shared/vm/modules/components/componentAlertDialogModuleConstants',145 './js/shared/vm/modules/components/componentConfirmDialogModuleConstants',146 './js/shared/lib/RgfImage',147 './js/shared/lib/Sound',148 './js/shared/lib/path',149 './js/shared/devicemodules/BasicDeviceModule',150 './js/shared/devicemodules/LightModule',151 './js/shared/devicemodules/MotorModule',152 './js/shared/devicemodules/SensorModule',153 './js/shared/devicemodules/SoundModule',154 './js/shared/devicemodules/SpikeModule',155 './js/shared/device/BasicDevice',156 './js/shared/device/nxt/constants',157 './js/shared/device/nxt/Message',158 './js/shared/device/nxt/CommandQueue',159 './js/shared/device/nxt/NXT',160 './js/shared/device/ev3/constants',161 './js/shared/device/ev3/messageEncoder',162 './js/shared/device/ev3/Message',163 './js/shared/device/ev3/CommandQueue',164 './js/shared/device/ev3/EV3',165 './js/shared/device/spike/constants',166 './js/shared/device/spike/CommandQueue',167 './js/shared/device/spike/Spike',168 './js/shared/device/poweredup/PoweredUp',169 './js/shared/routes/device/EV3Routes',170 './js/shared/routes/device/NXTRoutes',171 './js/shared/routes/device/PoweredUpRoutes',172 './js/shared/routes/device/SpikeRoutes',173 './js/browser/routes/DirectoryList',174 './js/browser/routes/LocalStorageFiles',175 './js/browser/routes/IDERoutes',176 './js/browser/routes/device/NXTRoutes',177 './js/browser/routes/device/EV3Routes',178 './js/browser/routes/device/PoweredUpRoutes',179 './js/browser/routes/device/SpikeRoutes',180 './js/frontend/lib/WebSerial',181 './js/frontend/lib/dispatcher',182 './js/frontend/lib/Emitter',183 './js/frontend/lib/dom',184 './js/frontend/lib/Http',185 './js/frontend/lib/dataprovider/HttpDataProvider',186 './js/frontend/lib/dataprovider/dataProvider',187 './js/frontend/program/commands',188 './js/frontend/program/Program',189 './js/frontend/program/output/Rtf',190 './js/frontend/program/output/Text',191 './js/frontend/program/output/Json',192 './js/frontend/program/Downloader',193 './js/frontend/compiler/errors',194 './js/frontend/compiler/tokenizer/tokenizer',195 './js/frontend/compiler/tokenizer/tokenUtils',196 './js/frontend/compiler/tokenizer/TokenIterator',197 './js/frontend/compiler/syntax/utils',198 './js/frontend/compiler/syntax/syntaxRoot',199 './js/frontend/compiler/syntax/syntaxProc',200 './js/frontend/compiler/syntax/syntaxProcName',201 './js/frontend/compiler/syntax/syntaxProcParams',202 './js/frontend/compiler/syntax/syntaxRecord',203 './js/frontend/compiler/syntax/syntaxAddr',204 './js/frontend/compiler/syntax/syntaxWith',205 './js/frontend/compiler/syntax/syntaxSuper',206 './js/frontend/compiler/syntax/syntaxModule',207 './js/frontend/compiler/syntax/syntaxBreak',208 './js/frontend/compiler/syntax/syntaxSelect',209 './js/frontend/compiler/syntax/syntaxSelectValue',210 './js/frontend/compiler/syntax/syntaxSelectCaseValue',211 './js/frontend/compiler/syntax/syntaxSelectDefault',212 './js/frontend/compiler/syntax/syntaxForTo',213 './js/frontend/compiler/syntax/syntaxForToAssignment',214 './js/frontend/compiler/syntax/syntaxNumericAssignment',215 './js/frontend/compiler/syntax/syntaxBoolean',216 './js/frontend/compiler/syntax/syntaxAssignment',217 './js/frontend/compiler/syntax/syntaxBlock',218 './js/frontend/compiler/syntax/syntaxObject',219 './js/frontend/compiler/syntax/syntaxNamespace',220 './js/frontend/compiler/syntax/SyntaxValidator',221 './js/frontend/compiler/types/Var',222 './js/frontend/compiler/types/Scope',223 './js/frontend/compiler/types/Record',224 './js/frontend/compiler/types/Objct',225 './js/frontend/compiler/types/Proc',226 './js/frontend/compiler/types/Namespace',227 './js/frontend/compiler/compiler/CompileData',228 './js/frontend/compiler/expression/helper',229 './js/frontend/compiler/expression/MathExpression',230 './js/frontend/compiler/expression/VarExpression',231 './js/frontend/compiler/expression/AssignmentExpression',232 './js/frontend/compiler/expression/BooleanExpression',233 './js/frontend/compiler/compiler/CompileScope',234 './js/frontend/compiler/compiler/CompileObjct',235 './js/frontend/compiler/compiler/CompileCall',236 './js/frontend/compiler/compiler/CompileVars',237 './js/frontend/compiler/compiler/CompileBlock',238 './js/frontend/compiler/compiler/CompileLoop',239 './js/frontend/compiler/compiler/CompileObjct',240 './js/frontend/compiler/linter/Linter',241 './js/frontend/compiler/resources/ProjectResource',242 './js/frontend/compiler/resources/ImageResource',243 './js/frontend/compiler/resources/TextResource',244 './js/frontend/compiler/resources/FormResource',245 './js/frontend/compiler/resources/ProjectResources',246 './js/frontend/compiler/preprocessor/Defines',247 './js/frontend/compiler/preprocessor/MetaCompiler',248 './js/frontend/compiler/preprocessor/PreProcessor',249 './js/frontend/compiler/keyword/CompileNamespace',250 './js/frontend/compiler/keyword/CompileAddr',251 './js/frontend/compiler/keyword/CompileSuper',252 './js/frontend/compiler/keyword/CompileBreak',253 './js/frontend/compiler/keyword/CompileFor',254 './js/frontend/compiler/keyword/CompileIf',255 './js/frontend/compiler/keyword/CompileModule',256 './js/frontend/compiler/keyword/CompileRecord',257 './js/frontend/compiler/keyword/CompileObjct',258 './js/frontend/compiler/keyword/CompileProc',259 './js/frontend/compiler/keyword/CompileRepeat',260 './js/frontend/compiler/keyword/CompileRet',261 './js/frontend/compiler/keyword/CompileSelect',262 './js/frontend/compiler/keyword/CompileWhile',263 './js/frontend/compiler/keyword/CompileWith',264 './js/frontend/compiler/CompilerUseInfo',265 './js/frontend/compiler/Compiler',266 './js/frontend/ide/settings/PluginsState',267 './js/frontend/ide/settings/PoweredUpAutoConnectState',268 './js/frontend/ide/settings/IncludeFilesState',269 './js/frontend/ide/settings/DefinesState',270 './js/frontend/ide/settings/SettingsState',271 './js/frontend/vm/modules/VMModule',272 './js/frontend/vm/modules/VMIDEModule',273 './js/frontend/vm/modules/local/FileSystem',274 './js/frontend/vm/modules/local/ButtonModule',275 './js/frontend/vm/modules/local/FileModule',276 './js/frontend/vm/modules/local/LightModule',277 './js/frontend/vm/modules/local/MathModule',278 './js/frontend/vm/modules/local/MotorModule',279 './js/frontend/vm/modules/local/ScreenModule',280 './js/frontend/vm/modules/local/SensorModule',281 './js/frontend/vm/modules/local/SoundModule',282 './js/frontend/vm/modules/local/StandardModule',283 './js/frontend/vm/modules/local/SystemModule',284 './js/frontend/vm/modules/local/StringModule',285 './js/frontend/vm/modules/local/BitModule',286 './js/frontend/vm/modules/local/PoweredUpModule',287 './js/frontend/vm/modules/local/SpikeModule',288 './js/frontend/vm/modules/local/DeviceModule',289 './js/frontend/vm/modules/local/components/ComponentFormModule',290 './js/frontend/vm/modules/local/components/ComponentButtonModule',291 './js/frontend/vm/modules/local/components/ComponentSelectButtonModule',292 './js/frontend/vm/modules/local/components/ComponentCheckboxModule',293 './js/frontend/vm/modules/local/components/ComponentRadioModule',294 './js/frontend/vm/modules/local/components/ComponentDropdownModule',295 './js/frontend/vm/modules/local/components/ComponentTextInputModule',296 './js/frontend/vm/modules/local/components/ComponentSliderModule',297 './js/frontend/vm/modules/local/components/ComponentLabelModule',298 './js/frontend/vm/modules/local/components/ComponentTitleModule',299 './js/frontend/vm/modules/local/components/ComponentTextModule',300 './js/frontend/vm/modules/local/components/ComponentListItemsModule',301 './js/frontend/vm/modules/local/components/ComponentPanelModule',302 './js/frontend/vm/modules/local/components/ComponentTabsModule',303 './js/frontend/vm/modules/local/components/ComponentStatusLightModule',304 './js/frontend/vm/modules/local/components/ComponentProgressBarModule',305 './js/frontend/vm/modules/local/components/ComponentLoadingDotsModule',306 './js/frontend/vm/modules/local/components/ComponentRectangleModule',307 './js/frontend/vm/modules/local/components/ComponentCircleModule',308 './js/frontend/vm/modules/local/components/ComponentImageModule',309 './js/frontend/vm/modules/local/components/ComponentIconModule',310 './js/frontend/vm/modules/local/components/ComponentPUDeviceModule',311 './js/frontend/vm/modules/local/components/ComponentEV3MotorModule',312 './js/frontend/vm/modules/local/components/ComponentEV3SensorModule',313 './js/frontend/vm/modules/local/components/ComponentIntervalModule',314 './js/frontend/vm/modules/local/components/ComponentTimeoutModule',315 './js/frontend/vm/modules/local/components/ComponentAlertDialogModule',316 './js/frontend/vm/modules/local/components/ComponentConfirmDialogModule',317 './js/frontend/vm/device/BasicLayerState',318 './js/frontend/vm/device/nxt/LayerState',319 './js/frontend/vm/device/ev3/LayerState',320 './js/frontend/vm/device/poweredup/LayerState',321 './js/frontend/vm/device/spike/LayerState',322 './js/frontend/vm/modules/remote/ButtonModule',323 './js/frontend/vm/modules/remote/FileModule',324 './js/frontend/vm/modules/remote/LightModule',325 './js/frontend/vm/modules/remote/MathModule',326 './js/frontend/vm/modules/remote/MotorModule',327 './js/frontend/vm/modules/remote/ScreenModule',328 './js/frontend/vm/modules/remote/SensorModule',329 './js/frontend/vm/modules/remote/SoundModule',330 './js/frontend/vm/modules/remote/StandardModule',331 './js/frontend/vm/modules/remote/SystemModule',332 './js/frontend/vm/modules/remote/StringModule',333 './js/frontend/vm/modules/remote/BitModule',334 './js/frontend/vm/modules/remote/PoweredUpModule',335 './js/frontend/vm/modules/remote/SpikeModule',336 './js/frontend/vm/modules/remote/DeviceModule',337 './js/frontend/vm/VMData',338 './js/frontend/vm/vmModuleLoader',339 './js/frontend/vm/VM',340 './js/frontend/ide/help/helpData',341 './js/frontend/lib/components/component/componentStyle',342 './js/frontend/lib/components/component/Component',343 './js/frontend/lib/components/ContextMenu',344 './js/frontend/lib/components/input/Tabs',345 './js/frontend/lib/components/input/Button',346 './js/frontend/lib/components/input/Dropdown',347 './js/frontend/lib/components/input/CloseButton',348 './js/frontend/lib/components/input/TextInput',349 './js/frontend/lib/components/input/TextArea',350 './js/frontend/lib/components/input/Checkbox',351 './js/frontend/lib/components/input/ToolOptions',352 './js/frontend/lib/components/input/Radio',353 './js/frontend/lib/components/input/Slider',354 './js/frontend/lib/components/input/IconSelect',355 './js/frontend/lib/components/TabPanel',356 './js/frontend/lib/components/Panel',357 './js/frontend/lib/components/Menu',358 './js/frontend/lib/components/mainmenu/MainMenuItem',359 './js/frontend/lib/components/mainmenu/MainMenu',360 './js/frontend/lib/components/Resizer',361 './js/frontend/lib/components/CheckboxAndLabel',362 './js/frontend/lib/components/Hint',363 './js/frontend/lib/components/component/ComponentContainer',364 './js/frontend/lib/components/Toolbar',365 './js/frontend/lib/components/Dialog',366 './js/frontend/lib/components/WizardSteps',367 './js/frontend/lib/components/IncludeFiles',368 './js/frontend/lib/components/status/StatusLight',369 './js/frontend/lib/components/status/ProgressBar',370 './js/frontend/lib/components/status/LoadingDots',371 './js/frontend/lib/components/graphics/Rectangle',372 './js/frontend/lib/components/graphics/Circle',373 './js/frontend/lib/components/graphics/Image',374 './js/frontend/lib/components/graphics/Icon',375 './js/frontend/lib/components/text/Label',376 './js/frontend/lib/components/text/Title',377 './js/frontend/lib/components/text/Text',378 './js/frontend/lib/components/text/ListItems',379 './js/frontend/lib/components/nonvisual/NonVisualComponent',380 './js/frontend/lib/components/nonvisual/Interval',381 './js/frontend/lib/components/nonvisual/Timeout',382 './js/frontend/lib/components/nonvisual/AlertDialog',383 './js/frontend/lib/components/nonvisual/ConfirmDialog',384 './js/frontend/lib/components/io/BasicIODevice',385 './js/frontend/lib/components/io/PoweredUpDevice',386 './js/frontend/lib/components/io/EV3Sensor',387 './js/frontend/lib/components/io/EV3Motor',388 './js/frontend/lib/components/files/File',389 './js/frontend/lib/components/files/FileDetail',390 './js/frontend/lib/components/files/Files',391 './js/frontend/lib/components/filetree/Item',392 './js/frontend/lib/components/filetree/File',393 './js/frontend/lib/components/filetree/Directory',394 './js/frontend/lib/components/filetree/FileTree',395 './js/frontend/lib/components/tree/TreeNode',396 './js/frontend/lib/components/tree/Tree',397 './js/frontend/lib/components/basic/A',398 './js/frontend/lib/components/basic/Span',399 './js/frontend/lib/components/basic/H',400 './js/frontend/lib/components/basic/P',401 './js/frontend/lib/components/basic/Hr',402 './js/frontend/lib/components/basic/Pre',403 './js/frontend/lib/components/basic/Table',404 './js/frontend/lib/components/basic/Ul',405 './js/frontend/lib/components/basic/Img',406 './js/frontend/lib/components/list/ListItem',407 './js/frontend/lib/components/list/List',408 './js/frontend/lib/directoryWatcher',409 './js/frontend/lib/fileDropHandler',410 './js/frontend/ide/data/images',411 './js/frontend/ide/data/templates',412 './js/frontend/ide/data/texts',413 './js/frontend/ide/tabIndex',414 './js/frontend/ide/help/components/IndexList',415 './js/frontend/ide/help/components/IndexListText',416 './js/frontend/ide/help/woc/FileProcessor',417 './js/frontend/ide/help/woc/SubjectFileProcessor',418 './js/frontend/ide/help/woc/WhlFileProcessor',419 './js/frontend/ide/help/woc/WocFileProcessor',420 './js/frontend/ide/help/woc/Woc',421 './js/frontend/ide/help/woc/wheelSyntaxTokens',422 './js/frontend/ide/help/woc/SyntaxOutput',423 './js/frontend/ide/help/woc/SyntaxOutputHTML',424 './js/frontend/ide/help/woc/SyntaxOutputSVG',425 './js/frontend/ide/help/woc/WheelSyntax',426 './js/frontend/ide/help/HelpBuilder',427 './js/frontend/ide/help/HelpBuilderText',428 './js/frontend/ide/editor/editors/form/formEditorConstants',429 './js/frontend/ide/editor/editors/form/state/EventList',430 './js/frontend/ide/editor/editors/form/state/PropertyList',431 './js/frontend/ide/editor/editors/form/state/ComponentList',432 './js/frontend/ide/source/sourceBuilderUtils',433 './js/frontend/ide/source/SourceBuilder',434 './js/frontend/ide/source/SourceFormatter',435 './js/frontend/ide/editor/editors/form/ComponentBuilder',436 './js/frontend/ide/editor/editors/form/state/UndoStack',437 './js/frontend/ide/editor/editors/form/state/FormEditorToolbarState',438 './js/frontend/ide/editor/editors/form/state/FormEditorState',439 './js/frontend/ide/editor/editors/form/ContainerIdsForForm',440 './js/frontend/ide/dialogs/AlertDialog',441 './js/frontend/ide/dialogs/SensorTypeDialog',442 './js/frontend/ide/dialogs/settings/components/Updater',443 './js/frontend/ide/dialogs/settings/components/ExportSettings',444 './js/frontend/ide/dialogs/settings/components/CheckboxSetting',445 './js/frontend/ide/dialogs/settings/components/IncludeFilesSetting',446 './js/frontend/ide/dialogs/settings/components/ImageOpenSettings',447 './js/frontend/ide/dialogs/settings/components/TextInputSetting',448 './js/frontend/ide/dialogs/settings/components/TextAreaSetting',449 './js/frontend/ide/dialogs/settings/tabs/addVersionTab',450 './js/frontend/ide/dialogs/settings/tabs/addExportTab',451 './js/frontend/ide/dialogs/settings/tabs/addEditorTab',452 './js/frontend/ide/dialogs/settings/tabs/addCompilerTab',453 './js/frontend/ide/dialogs/settings/tabs/addViewTab',454 './js/frontend/ide/dialogs/settings/tabs/addConsoleTab',455 './js/frontend/ide/dialogs/settings/tabs/addSimulatorTab',456 './js/frontend/ide/dialogs/settings/SettingsDialog',457 './js/frontend/ide/dialogs/hint/HintDialog',458 './js/frontend/ide/dialogs/hint/OpenFormDialog',459 './js/frontend/ide/dialogs/hint/ConnectedDialog',460 './js/frontend/ide/dialogs/hint/SaveDialog',461 './js/frontend/ide/dialogs/ConfirmDialog',462 './js/frontend/ide/dialogs/ExploreDialog',463 './js/frontend/ide/dialogs/list/ListDialog',464 './js/frontend/ide/dialogs/connection/components/PoweredUpListItem',465 './js/frontend/ide/dialogs/connection/components/PoweredUpAutoConnectListItem',466 './js/frontend/ide/dialogs/connection/components/SerialListItem',467 './js/frontend/ide/dialogs/connection/EV3ConnectListDialog',468 './js/frontend/ide/dialogs/connection/PoweredUpConnectListDialog',469 './js/frontend/ide/dialogs/connection/PoweredUpAutoConnectListDialog',470 './js/frontend/ide/dialogs/connection/SpikeConnectListDialog',471 './js/frontend/ide/dialogs/connection/NXTConnectListDialog',472 './js/frontend/ide/dialogs/statistics/StatisticsDialog',473 './js/frontend/ide/dialogs/YesNoCancelDialog',474 './js/frontend/ide/dialogs/file/state/DeviceListState',475 './js/frontend/ide/dialogs/file/components/Step',476 './js/frontend/ide/dialogs/file/components/PoweredUpDeviceItem',477 './js/frontend/ide/dialogs/file/components/PoweredUpDeviceList',478 './js/frontend/ide/dialogs/file/components/PoweredUpStep1Start',479 './js/frontend/ide/dialogs/file/components/PoweredUpStep2Device',480 './js/frontend/ide/dialogs/file/components/PoweredUpStep3Ports',481 './js/frontend/ide/dialogs/file/components/PoweredUpStep4Include',482 './js/frontend/ide/dialogs/file/components/PoweredUpStep5Form',483 './js/frontend/ide/dialogs/file/components/PoweredUpStep6Finish',484 './js/frontend/ide/dialogs/file/FileDialog',485 './js/frontend/ide/dialogs/file/FileOpenDialog',486 './js/frontend/ide/dialogs/file/FileNewDialog',487 './js/frontend/ide/dialogs/file/FileRenameDialog',488 './js/frontend/ide/dialogs/file/FilePoweredUpProjectDialog',489 './js/frontend/ide/dialogs/image/components/ImagePreview',490 './js/frontend/ide/dialogs/image/components/Step',491 './js/frontend/ide/dialogs/image/components/StepSelect',492 './js/frontend/ide/dialogs/image/components/StepScale',493 './js/frontend/ide/dialogs/image/components/StepContrast',494 './js/frontend/ide/dialogs/image/components/StepFilename',495 './js/frontend/ide/dialogs/image/ImageDialog',496 './js/frontend/ide/dialogs/image/ImageNewDialog',497 './js/frontend/ide/dialogs/image/ImageResizeDialog',498 './js/frontend/ide/dialogs/image/ImageLoadDialog',499 './js/frontend/ide/dialogs/image/IconDialog',500 './js/frontend/ide/dialogs/form/ComponentFormContainer',501 './js/frontend/ide/dialogs/form/FormSizeDialog',502 './js/frontend/ide/dialogs/form/FormNewDialog',503 './js/frontend/ide/dialogs/form/FormDialog',504 './js/frontend/ide/dialogs/form/FormGridSizeDialog',505 './js/frontend/ide/dialogs/VolumeDialog',506 './js/frontend/ide/dialogs/help/components/WocFileLoader',507 './js/frontend/ide/dialogs/help/HelpDialog',508 './js/frontend/ide/dialogs/directcontrol/components/Motor',509 './js/frontend/ide/dialogs/directcontrol/components/MotorAlias',510 './js/frontend/ide/dialogs/directcontrol/components/Motors',511 './js/frontend/ide/dialogs/directcontrol/components/PianoKey',512 './js/frontend/ide/dialogs/directcontrol/components/Piano',513 './js/frontend/ide/dialogs/directcontrol/DirectControlDialog',514 './js/frontend/ide/dialogs/directcontrol/EV3ControlDialog',515 './js/frontend/ide/dialogs/directcontrol/NXTControlDialog',516 './js/frontend/ide/dialogs/directcontrol/PoweredUpControlDialog',517 './js/frontend/ide/dialogs/directcontrol/SpikeControlDialog',518 './js/frontend/ide/dialogs/DaisyChainDialog',519 './js/frontend/ide/dialogs/LicenseDialog',520 './js/frontend/ide/dialogs/directory/DirectoryNewDialog',521 './js/frontend/ide/dialogs/find/FindDialog',522 './js/frontend/ide/dialogs/find/FindInFilesDialog',523 './js/frontend/ide/dialogs/find/ReplaceDialog',524 './js/frontend/ide/dialogs/download/components/ResourceLine',525 './js/frontend/ide/dialogs/download/DownloadDialog',526 './js/frontend/ide/dialogs/GraphDialog',527 './js/frontend/ide/dialogs/device/DeviceAliasDialog',528 './js/frontend/ide/dialogs/device/DevicePortAliasDialog',529 './js/frontend/ide/dialogs/device/DeviceCountDialog',530 './js/frontend/ide/dialogs/tools/components/GearSettings',531 './js/frontend/ide/dialogs/tools/components/GearList',532 './js/frontend/ide/dialogs/tools/components/GearResult',533 './js/frontend/ide/dialogs/tools/GearRatioCalculatorDialog',534 './js/frontend/ide/dialogs/tools/InverseKinematicsDialog',535 './js/frontend/ide/dialogs/tools/WheelToSVGDialog',536 './js/frontend/ide/dialogs/example/components/ExampleCategory',537 './js/frontend/ide/dialogs/example/constants',538 './js/frontend/ide/dialogs/example/ExampleDialog',539 './js/frontend/ide/dialogs/define/components/DefineListItem',540 './js/frontend/ide/dialogs/define/DefineValueDialog',541 './js/frontend/ide/dialogs/define/DefineListDialog',542 './js/frontend/ide/helper/connectionHelper',543 './js/frontend/ide/helper/deviceCountHelper',544 './js/frontend/ide/menu/HelpOption',545 './js/frontend/ide/menu/MainMenu',546 './js/frontend/ide/editor/editors/Clipboard',547 './js/frontend/ide/editor/editors/Editor',548 './js/frontend/ide/editor/editors/home/components/HomeScreenTile',549 './js/frontend/ide/editor/editors/home/components/HomeScreenConnectEV3Tile',550 './js/frontend/ide/editor/editors/home/components/HomeScreenConnectNXTTile',551 './js/frontend/ide/editor/editors/home/components/HomeScreenConnectPoweredUpTile',552 './js/frontend/ide/editor/editors/home/components/HomeScreenConnectSpikeTile',553 './js/frontend/ide/editor/editors/home/components/HomeScreenRecentProjectTile',554 './js/frontend/ide/editor/editors/home/components/HomeScreenRecentFormTile',555 './js/frontend/ide/editor/editors/home/components/HomeScreenThemeTile',556 './js/frontend/ide/editor/editors/home/components/HomeScreenDocumentationTile',557 './js/frontend/ide/editor/editors/home/components/HomeScreenNewProjectTile',558 './js/frontend/ide/editor/editors/home/HomeScreen',559 './js/frontend/ide/editor/editors/text/toolbar/BluetoothState',560 './js/frontend/ide/editor/editors/text/toolbar/ToolbarBottom',561 './js/frontend/ide/editor/editors/text/toolbar/ToolbarBottomViewer',562 './js/frontend/ide/editor/editors/text/VMViewer',563 './js/frontend/ide/editor/editors/text/WheelEditorState',564 './js/frontend/ide/editor/editors/text/WheelEditor',565 './js/frontend/ide/editor/editors/text/TextEditor',566 './js/frontend/ide/editor/editors/text/SourceEditor',567 './js/frontend/ide/editor/editors/image/text/Text',568 './js/frontend/ide/editor/editors/image/text/TextLarge',569 './js/frontend/ide/editor/editors/image/text/TextMedium',570 './js/frontend/ide/editor/editors/image/text/TextSmall',571 './js/frontend/ide/editor/editors/image/toolbar/ToolbarTop',572 './js/frontend/ide/editor/editors/image/toolbar/ToolbarBottom',573 './js/frontend/ide/editor/editors/image/Image',574 './js/frontend/ide/editor/editors/image/Grid',575 './js/frontend/ide/editor/editors/image/selection/Selection',576 './js/frontend/ide/editor/editors/image/selection/SelectionCopy',577 './js/frontend/ide/editor/editors/image/selection/SelectionText',578 './js/frontend/ide/editor/editors/image/ImageLoader',579 './js/frontend/ide/editor/editors/image/ImageEditorState',580 './js/frontend/ide/editor/editors/image/ImageEditor',581 './js/frontend/ide/editor/editors/sound/toolbar/ToolbarTop',582 './js/frontend/ide/editor/editors/sound/toolbar/ToolbarBottom',583 './js/frontend/ide/editor/editors/sound/SoundLoader',584 './js/frontend/ide/editor/editors/sound/SoundEditorState',585 './js/frontend/ide/editor/editors/sound/SoundEditor',586 './js/frontend/ide/editor/editors/form/toolbar/ToolbarTop',587 './js/frontend/ide/editor/editors/form/toolbar/ToolbarBottom',588 './js/frontend/ide/editor/editors/form/FormComponentContainer',589 './js/frontend/ide/editor/editors/form/FormComponent',590 './js/frontend/ide/editor/editors/form/FormEditor',591 './js/frontend/ide/editor/editors/imageviewer/toolbar/ToolbarTop',592 './js/frontend/ide/editor/editors/imageviewer/toolbar/ToolbarBottom',593 './js/frontend/ide/editor/editors/imageviewer/ImageViewer',594 './js/frontend/ide/editor/Editors',595 './js/frontend/ide/editor/EditorsState',596 './js/frontend/ide/editor/Editor',597 './js/frontend/ide/console/spans',598 './js/frontend/ide/console/components/VarView',599 './js/frontend/ide/console/components/VarViewNumber',600 './js/frontend/ide/console/components/VarViewString',601 './js/frontend/ide/console/components/VarViewRecord',602 './js/frontend/ide/console/tree/ArrayTreeBuilder',603 './js/frontend/ide/console/tree/RecordTreeBuilder',604 './js/frontend/ide/console/Vars',605 './js/frontend/ide/console/Registers',606 './js/frontend/ide/console/Log',607 './js/frontend/ide/console/Terminal',608 './js/frontend/ide/console/NewVersion',609 './js/frontend/ide/console/FindResults',610 './js/frontend/ide/console/Console',611 './js/frontend/ide/properties/PropertiesToolbar',612 './js/frontend/ide/properties/components/Container',613 './js/frontend/ide/properties/components/Form',614 './js/frontend/ide/properties/components/Property',615 './js/frontend/ide/properties/components/Event',616 './js/frontend/ide/properties/components/types/BooleanProperty',617 './js/frontend/ide/properties/components/types/DropdownProperty',618 './js/frontend/ide/properties/components/types/HAlignProperty',619 './js/frontend/ide/properties/components/types/ColorProperty',620 './js/frontend/ide/properties/components/types/TextProperty',621 './js/frontend/ide/properties/components/types/TextAreaProperty',622 './js/frontend/ide/properties/components/types/TextListProperty',623 './js/frontend/ide/properties/components/types/RgbProperty',624 './js/frontend/ide/properties/components/types/IconProperty',625 './js/frontend/ide/properties/components/Properties',626 './js/frontend/ide/properties/components/Events',627 './js/frontend/ide/properties/components/Components',628 './js/frontend/ide/properties/Properties',629 './js/frontend/ide/simulator/SimulatorToolbar',630 './js/frontend/ide/simulator/SimulatorModules',631 './js/frontend/ide/plugins/simulator/lib/SimulatorPlugin',632 './js/frontend/ide/plugins/simulator/lib/motor/io/BasicIOState',633 './js/frontend/ide/plugins/simulator/lib/motor/io/BasicIODevice',634 './js/frontend/ide/plugins/simulator/lib/motor/io/Motor',635 './js/frontend/ide/plugins/simulator/lib/motor/Plugin',636 './js/frontend/ide/plugins/simulator/nxtmotors/io/MotorState',637 './js/frontend/ide/plugins/simulator/nxtmotors/io/Motor',638 './js/frontend/ide/plugins/simulator/nxtmotors/Plugin',639 './js/frontend/ide/plugins/simulator/nxtsensors/io/Sensor',640 './js/frontend/ide/plugins/simulator/nxtsensors/io/UnknownSensor',641 './js/frontend/ide/plugins/simulator/nxtsensors/io/ColorSensor',642 './js/frontend/ide/plugins/simulator/nxtsensors/io/SoundSensor',643 './js/frontend/ide/plugins/simulator/nxtsensors/io/TouchSensor',644 './js/frontend/ide/plugins/simulator/nxtsensors/io/UltrasonicSensor',645 './js/frontend/ide/plugins/simulator/nxtsensors/io/LightSensor',646 './js/frontend/ide/plugins/simulator/nxtsensors/SensorContainer',647 './js/frontend/ide/plugins/simulator/nxtsensors/Plugin',648 './js/frontend/ide/plugins/simulator/ev3/io/text/Text',649 './js/frontend/ide/plugins/simulator/ev3/io/text/TextLarge',650 './js/frontend/ide/plugins/simulator/ev3/io/text/TextMedium',651 './js/frontend/ide/plugins/simulator/ev3/io/text/TextSmall',652 './js/frontend/ide/plugins/simulator/ev3/io/Light',653 './js/frontend/ide/plugins/simulator/ev3/io/Sound',654 './js/frontend/ide/plugins/simulator/ev3/io/Button',655 './js/frontend/ide/plugins/simulator/ev3/io/Buttons',656 './js/frontend/ide/plugins/simulator/ev3/io/Display',657 './js/frontend/ide/plugins/simulator/ev3/Plugin',658 './js/frontend/ide/plugins/simulator/ev3motors/io/MotorState',659 './js/frontend/ide/plugins/simulator/ev3motors/io/Motor',660 './js/frontend/ide/plugins/simulator/ev3motors/Plugin',661 './js/frontend/ide/plugins/simulator/ev3sensors/io/Sensor',662 './js/frontend/ide/plugins/simulator/ev3sensors/io/UnknownSensor',663 './js/frontend/ide/plugins/simulator/ev3sensors/io/ColorSensor',664 './js/frontend/ide/plugins/simulator/ev3sensors/io/GyroSensor',665 './js/frontend/ide/plugins/simulator/ev3sensors/io/InfraredSensor',666 './js/frontend/ide/plugins/simulator/ev3sensors/io/SoundSensor',667 './js/frontend/ide/plugins/simulator/ev3sensors/io/TouchSensor',668 './js/frontend/ide/plugins/simulator/ev3sensors/io/UltrasonicSensor',669 './js/frontend/ide/plugins/simulator/ev3sensors/SensorContainer',670 './js/frontend/ide/plugins/simulator/ev3sensors/Plugin',671 './js/frontend/ide/plugins/simulator/spike/io/LedMatrix',672 './js/frontend/ide/plugins/simulator/spike/components/HubStatus',673 './js/frontend/ide/plugins/simulator/spike/components/Hub',674 './js/frontend/ide/plugins/simulator/spike/Plugin',675 './js/frontend/ide/plugins/simulator/spikeports/io/constants',676 './js/frontend/ide/plugins/simulator/spikeports/io/MotorOrSensorState',677 './js/frontend/ide/plugins/simulator/spikeports/io/MotorOrSensor',678 './js/frontend/ide/plugins/simulator/spikeports/Plugin',679 './js/frontend/ide/plugins/simulator/poweredup/io/constants',680 './js/frontend/ide/plugins/simulator/poweredup/io/MotorOrSensorState',681 './js/frontend/ide/plugins/simulator/poweredup/io/MotorOrSensor',682 './js/frontend/ide/plugins/simulator/poweredup/io/SimulatedLayerDevice',683 './js/frontend/ide/plugins/simulator/poweredup/io/SimulatedDevices',684 './js/frontend/ide/plugins/simulator/poweredup/components/BasicHub',685 './js/frontend/ide/plugins/simulator/poweredup/components/TechnicHub',686 './js/frontend/ide/plugins/simulator/poweredup/components/Hub',687 './js/frontend/ide/plugins/simulator/poweredup/components/MoveHub',688 './js/frontend/ide/plugins/simulator/poweredup/components/Remote',689 './js/frontend/ide/plugins/simulator/poweredup/Plugin',690 './js/frontend/ide/plugins/simulator/graph/io/CircularBuffer',691 './js/frontend/ide/plugins/simulator/graph/io/ChartDrawer',692 './js/frontend/ide/plugins/simulator/graph/io/BarChartDrawer',693 './js/frontend/ide/plugins/simulator/graph/io/BinaryChartDrawer',694 './js/frontend/ide/plugins/simulator/graph/io/ColorBarChartDrawer',695 './js/frontend/ide/plugins/simulator/graph/io/SplineChartDrawer',696 './js/frontend/ide/plugins/simulator/graph/io/LineChartDrawer',697 './js/frontend/ide/plugins/simulator/graph/io/FillChartDrawer',698 './js/frontend/ide/plugins/simulator/graph/io/PointChartDrawer',699 './js/frontend/ide/plugins/simulator/graph/io/CircularBuffer',700 './js/frontend/ide/plugins/simulator/graph/io/ChartDrawer',701 './js/frontend/ide/plugins/simulator/graph/io/BarChartDrawer',702 './js/frontend/ide/plugins/simulator/graph/io/BinaryChartDrawer',703 './js/frontend/ide/plugins/simulator/graph/io/ColorBarChartDrawer',704 './js/frontend/ide/plugins/simulator/graph/io/FillChartDrawer',705 './js/frontend/ide/plugins/simulator/graph/io/LineChartDrawer',706 './js/frontend/ide/plugins/simulator/graph/io/PointChartDrawer',707 './js/frontend/ide/plugins/simulator/graph/Plugin',708 './js/frontend/ide/plugins/simulator/ev3graph/Plugin',709 './js/frontend/ide/plugins/simulator/poweredupgraph/Plugin',710 './js/frontend/ide/plugins/simulator/spikegraph/Plugin',711 './js/frontend/ide/simulator/Simulator',712 './js/frontend/vm/device/BasicDeviceState',713 './js/frontend/ide/CompileAndRun',714 './js/frontend/ide/CompileAndRunOutput',715 './js/frontend/ide/CompileAndRunInstall',716 './js/frontend/ide/IDEAssistant',717 './js/frontend/ide/IDEEvents',718 './js/frontend/ide/IDEDialogs',719 './js/frontend/ide/IDEDOM',720 './js/frontend/ide/IDE',721 './js/frontend/ide/Setup',722 './js/frontend/lib/UIState',723 './js/frontend/vm/device/nxt/NXTState',724 './js/frontend/vm/device/ev3/EV3State',725 './js/frontend/vm/device/poweredup/PoweredUpState',726 './js/frontend/vm/device/spike/SpikeState'727 ];728let output = [729 '(function() {',730 ' let exportsByUrl = {};',731 ' let e;',732 ' const getFullPath = function(id, url) {',733 ' let u = url;',734 ' let i;',735 ' let done = false;',736 ' if (id.substr(0, 2) === \'./\') {',737 ' i = url.lastIndexOf(\'/\');',738 ' u = u.substr(0, i);',739 ' id = id.substr(2 - id.length);',740 ' done = true;',741 ' }',742 ' if (id.substr(0, 3) === \'../\') {',743 ' if (!done) {',744 ' i = u.lastIndexOf(\'/\');',745 ' u = u.substr(0, i);',746 ' }',747 ' i = u.lastIndexOf(\'/\');',748 ' u = u.substr(0, i);',749 ' id = id.substr(3 - id.length);',750 ' while (id.substr(0, 3) === \'../\') {',751 ' i = u.lastIndexOf(\'/\');',752 ' u = u.substr(0, i);',753 ' id = id.substr(3 - id.length);',754 ' }',755 ' }',756 ' u += \'/\' + id;',757 ' return u;',758 ' }',759 ' const require = function(url, id) {',760 ' let origId = id;',761 ' let r = exportsByUrl[getFullPath(id, url)];',762 ' if (r) {',763 ' return r;',764 ' }',765 ' while (id.substr(0, 2) === \'./\') {',766 ' id = id.substr(2 - id.length);',767 ' }',768 ' while (id.substr(0, 3) === \'../\') {',769 ' id = id.substr(3 - id.length);',770 ' }',771 ' for (let i in exportsByUrl) {',772 ' if (i.substr(-id.length) === id) {',773 ' return exportsByUrl[i];',774 ' }',775 ' }',776 ' console.error(\'Failed to load:\', origId, id);',777 ' return {};',778 ' };'].join('\n');779console.log('Appending js files...');780libraryFiles.forEach(function(filename) {781 output += fs.readFileSync(filename).toString();782});783files.forEach(function(filename) {784 let text = fs.readFileSync('.' + filename + '.js').toString();785 let lines = text.split('\n');786 text = '';787 lines.forEach(function(line) {788 text += line.trim() + '\n';789 })790 output += 'exportsByUrl[\'' + filename + '\'] = (function(require,exports){\n' + text + ';return exports;\n})(require.bind(this,\'' + filename + '\'), {});\n';791});792output += [793 'const platform = exportsByUrl[\'./js/shared/lib/platform\'];',794 'const getDataProvider = exportsByUrl[\'./js/frontend/lib/dataprovider/dataProvider\'].getDataProvider;',795 'const UIState = exportsByUrl[\'./js/frontend/lib/UIState\'].UIState;',796 'const SettingsState = exportsByUrl[\'./js/frontend/ide/settings/SettingsState\'].SettingsState;',797 'let settings;',798 'let ui;',799 'const onFinishedSetup = function() {',800 ' const IDE = exportsByUrl[\'./js/frontend/ide/IDE\'].IDE;',801 ' const NXTState = exportsByUrl[\'./js/frontend/vm/device/nxt/NXTState\'].NXTState;',802 ' const EV3State = exportsByUrl[\'./js/frontend/vm/device/ev3/EV3State\'].EV3State;',803 ' const PoweredUpState = exportsByUrl[\'./js/frontend/vm/device/poweredup/PoweredUpState\'].PoweredUpState;',804 ' const SpikeState = exportsByUrl[\'./js/frontend/vm/device/spike/SpikeState\'].SpikeState;',805 ' new IDE({',806 ' ui: ui,',807 ' settings: settings,',808 ' devices: {',809 ' nxt: new NXTState({activeLayerCount: settings.getNXTDeviceCount()}),',810 ' ev3: new EV3State({activeLayerCount: settings.getDaisyChainMode()}),',811 ' poweredUp: new PoweredUpState({actvieLayerCount: settings.getPoweredUpDeviceCount()}),',812 ' spike: new SpikeState({activeLayerCount: settings.getSpikeDeviceCount()})',813 ' }',814 ' });',815 ' };',816 'const onNeedsSetup = function() {',817 ' const Setup = exportsByUrl[\'./js/frontend/ide/Setup\'].Setup;',818 ' new Setup({',819 ' ui: ui,',820 ' settings: settings,',821 ' onFinished: onFinishedSetup',822 ' });',823 ' };',824 'const onLoadedSettings = function() {',825 ' if (platform.isNode()) {',826 ' if (settings.getDocumentPathExists()) {',827 ' onFinishedSetup();',828 ' } else {',829 ' onNeedsSetup();',830 ' }',831 ' } else {',832 ' onFinishedSetup();',833 ' }',834 ' };',835 'ui = new UIState();',836 'settings = new SettingsState({getDataProvider: getDataProvider});',837 'settings.load(onLoadedSettings);'838].join('\n');839output += '})();';840let distName = 'dist' + Math.abs(Math.floor(Math.random() * Number.MAX_SAFE_INTEGER));841fs.writeFileSync(distName + '.js', output);842output = '';843console.log('Appending css files...');844cssFiles.forEach(function(filename) {845 output += fs.readFileSync(filename).toString() + '\n';846});847fs.writeFileSync(distName + '.css', output);848const MINIFY_JS = (process.argv.indexOf('mini') !== -1);849function removeOldIncludes() {850 console.log('Removing old files.');851 let html = fs.readFileSync('../site/ide/ide.html').toString();852 const getDistName = function(html, key) {853 let i = html.indexOf(key);854 let j = html.indexOf('.', i);855 return html.substr(i + key.length, j - key.length - i);856 };857 let oldCss = getDistName(html, 'id="distCss" href="') + '.min.css';858 let oldJs = getDistName(html, 'id="distJs" src="') + '.min.js';859 console.log(' - ' + oldCss);860 console.log(' - ' + oldJs);861 fs.unlinkSync('../site/ide/' + oldCss);862 fs.unlinkSync('../site/ide/' + oldJs);863}864function updateIncludes() {865 console.log('Updating include files.');866 let html = fs.readFileSync('../site/ide/ide.html').toString();867 const replaceAfterKey = function(html, key) {868 let i = html.indexOf(key);869 let j = html.indexOf('.', i);870 return html.substr(0, i + key.length) + distName + html.substr(j - html.length);871 };872 console.log(' - ' + distName + '.min.css');873 console.log(' - ' + distName + '.min.js');874 html = replaceAfterKey(html, 'id="distCss" href="');875 html = replaceAfterKey(html, 'id="distJs" src="');876 fs.writeFileSync('../site/ide/ide.html', html);877}878function removeFiles() {879 removeOldIncludes();880 console.log('Deleting temp js and css...');881 exec('rm ' + distName + '.min.css', function() {});882 exec('rm ' + distName + '.css', function() {});883 if (MINIFY_JS) {884 exec('rm ' + distName + '.min.js', function() {});885 }886 exec('rm ' + distName + '.js', function() {});887 updateIncludes();888}889function copyDistCss() {890 console.log('Moving css...');891 exec('cp ' + distName + '.min.css ../site/ide/' + distName + '.min.css', removeFiles);892}893function copyDistJs() {894 console.log('Moving js...');895 if (MINIFY_JS) {896 exec('cp ' + distName + '.min.js ../site/ide/' + distName + '.min.js', copyDistCss);897 } else {898 exec('cp ' + distName + '.js ../site/ide/' + distName + '.min.js', copyDistCss);899 }900}901function terser() {902 if (MINIFY_JS) {903 console.log('Minifying js...');904 exec('terser ' + distName + '.js --compress --mangle > ' + distName + '.min.js', copyDistJs);905 } else {906 copyDistJs();907 }908}909console.log('Minifying css...');...

Full Screen

Full Screen

mainWindowPreload.js

Source:mainWindowPreload.js Github

copy

Full Screen

1/**2 * Wheel, copyright (c) 2017 - present by Arno van der Vegt3 * Distributed under an MIT license: https://arnovandervegt.github.io/wheel/license.txt4**/5require('../shared/vm/modules/buttonModuleConstants');6require('../shared/vm/modules/fileModuleConstants');7require('../shared/vm/modules/lightModuleConstants');8require('../shared/vm/modules/mathModuleConstants');9require('../shared/vm/modules/motorModuleConstants');10require('../shared/vm/modules/screenModuleConstants');11require('../shared/vm/modules/sensorModuleConstants');12require('../shared/vm/modules/soundModuleConstants');13require('../shared/vm/modules/standardModuleConstants');14require('../shared/vm/modules/systemModuleConstants');15require('../shared/vm/modules/stringModuleConstants');16require('../shared/vm/modules/bitModuleConstants');17require('../shared/vm/modules/deviceModuleConstants');18require('../shared/vm/modules/poweredUpModuleConstants');19require('../shared/vm/modules/spikeModuleConstants');20require('../shared/vm/modules/nxtModuleConstants');21require('../shared/vm/modules/components/componentFormModuleConstants');22require('../shared/vm/modules/components/componentButtonModuleConstants');23require('../shared/vm/modules/components/componentCheckboxModuleConstants');24require('../shared/vm/modules/components/componentLabelModuleConstants');25require('../shared/vm/modules/components/componentSelectButtonModuleConstants');26require('../shared/vm/modules/components/componentStatusLightModuleConstants');27require('../shared/vm/modules/components/componentPanelModuleConstants');28require('../shared/vm/modules/components/componentTabsModuleConstants');29require('../shared/vm/modules/components/componentRectangleModuleConstants');30require('../shared/vm/modules/components/componentCircleModuleConstants');31require('../shared/vm/modules/components/componentImageModuleConstants');32require('../shared/vm/modules/components/componentIconModuleConstants');33require('../shared/vm/modules/components/componentTextInputModuleConstants');34require('../shared/vm/modules/components/componentSliderModuleConstants');35require('../shared/vm/modules/components/componentPUDeviceModuleConstants');36require('../shared/vm/modules/components/componentEV3MotorModuleConstants');37require('../shared/vm/modules/components/componentEV3SensorModuleConstants');38require('../shared/vm/modules/components/componentAlertDialogModuleConstants');39require('../shared/vm/modules/components/componentConfirmDialogModuleConstants');40require('../shared/vm/modules/components/componentIntervalModuleConstants');41require('../shared/vm/modules/components/componentTimeoutModuleConstants');42require('../shared/lib/RgfImage');43require('../shared/lib/Sound');44require('../shared/device/BasicDevice');45require('../shared/devicemodules/BasicDeviceModule');46require('../shared/devicemodules/LightModule');47require('../shared/devicemodules/MotorModule');48require('../shared/devicemodules/SensorModule');49require('../shared/devicemodules/SoundModule');50require('../shared/devicemodules/SpikeModule');51require('../shared/device/nxt/constants');52require('../shared/device/nxt/Message');53require('../shared/device/nxt/CommandQueue');54require('../shared/device/nxt/NXT');55require('../shared/device/ev3/messageEncoder');56require('../shared/device/ev3/CommandQueue');57require('../shared/device/ev3/EV3');58require('../shared/device/ev3/constants');59require('../shared/device/poweredup/PoweredUp');60require('../shared/device/spike/Spike');61require('../shared/routes/device/EV3Routes');62require('../shared/routes/device/NXTRoutes');63require('../shared/routes/device/PoweredUpRoutes');64require('../shared/routes/device/SpikeRoutes');65require('../backend/routes/settings');66require('../backend/routes/device/NXTRoutes');67require('../backend/routes/device/EV3Routes');68require('../backend/routes/device/PoweredUpRoutes');69require('../backend/routes/device/SpikeRoutes');70require('../backend/routes/IDERoutes');71require('../frontend/program/Downloader');72const dispatcher = require('../frontend/lib/dispatcher').dispatcher;73require('../shared/lib/platform');74require('../shared/lib/path');75require('../frontend/lib/Emitter');76require('../frontend/lib/dom');77require('../frontend/lib/Http');78require('../frontend/program/commands');79require('../frontend/program/Program');80require('../frontend/program/output/Rtf');81require('../frontend/program/output/Text');82require('../frontend/compiler/errors');83require('../frontend/compiler/tokenizer/tokenizer');84require('../frontend/compiler/tokenizer/tokenUtils');85require('../frontend/compiler/tokenizer/TokenIterator');86require('../frontend/compiler/syntax/utils');87require('../frontend/compiler/syntax/syntaxRoot');88require('../frontend/compiler/syntax/syntaxProc');89require('../frontend/compiler/syntax/syntaxProcName');90require('../frontend/compiler/syntax/syntaxProcParams');91require('../frontend/compiler/syntax/syntaxRecord');92require('../frontend/compiler/syntax/syntaxAddr');93require('../frontend/compiler/syntax/syntaxWith');94require('../frontend/compiler/syntax/syntaxSuper');95require('../frontend/compiler/syntax/syntaxModule');96require('../frontend/compiler/syntax/syntaxBreak');97require('../frontend/compiler/syntax/syntaxSelect');98require('../frontend/compiler/syntax/syntaxSelectValue');99require('../frontend/compiler/syntax/syntaxSelectCaseValue');100require('../frontend/compiler/syntax/syntaxSelectDefault');101require('../frontend/compiler/syntax/syntaxForTo');102require('../frontend/compiler/syntax/syntaxForToAssignment');103require('../frontend/compiler/syntax/syntaxNumericAssignment');104require('../frontend/compiler/syntax/syntaxBoolean');105require('../frontend/compiler/syntax/syntaxAssignment');106require('../frontend/compiler/syntax/syntaxBlock');107require('../frontend/compiler/syntax/SyntaxValidator');108require('../frontend/compiler/types/Var');109require('../frontend/compiler/types/Scope');110require('../frontend/compiler/types/Record');111require('../frontend/compiler/types/Objct');112require('../frontend/compiler/types/Proc');113require('../frontend/compiler/types/Namespace');114require('../frontend/compiler/compiler/CompileData');115require('../frontend/compiler/expression/helper');116require('../frontend/compiler/expression/MathExpression');117require('../frontend/compiler/expression/VarExpression');118require('../frontend/compiler/expression/AssignmentExpression');119require('../frontend/compiler/expression/BooleanExpression');120require('../frontend/compiler/compiler/CompileScope');121require('../frontend/compiler/compiler/CompileObjct');122require('../frontend/compiler/compiler/CompileCall');123require('../frontend/compiler/compiler/CompileVars');124require('../frontend/compiler/compiler/CompileBlock');125require('../frontend/compiler/compiler/CompileLoop');126require('../frontend/compiler/compiler/CompileObjct');127require('../frontend/compiler/linter/Linter');128require('../frontend/compiler/resources/ProjectResource');129require('../frontend/compiler/resources/ImageResource');130require('../frontend/compiler/resources/TextResource');131require('../frontend/compiler/resources/FormResource');132require('../frontend/compiler/resources/ProjectResources');133require('../frontend/compiler/preprocessor/Defines');134require('../frontend/compiler/preprocessor/MetaCompiler');135require('../frontend/compiler/preprocessor/PreProcessor');136require('../frontend/compiler/keyword/CompileNamespace');137require('../frontend/compiler/keyword/CompileAddr');138require('../frontend/compiler/keyword/CompileSuper');139require('../frontend/compiler/keyword/CompileBreak');140require('../frontend/compiler/keyword/CompileFor');141require('../frontend/compiler/keyword/CompileIf');142require('../frontend/compiler/keyword/CompileModule');143require('../frontend/compiler/keyword/CompileProc');144require('../frontend/compiler/keyword/CompileRecord');145require('../frontend/compiler/keyword/CompileObjct');146require('../frontend/compiler/keyword/CompileRepeat');147require('../frontend/compiler/keyword/CompileRet');148require('../frontend/compiler/keyword/CompileSelect');149require('../frontend/compiler/keyword/CompileWhile');150require('../frontend/compiler/keyword/CompileWith');151require('../frontend/compiler/CompilerUseInfo');152require('../frontend/compiler/Compiler');153require('../frontend/vm/modules/VMModule');154require('../frontend/vm/modules/VMIDEModule');155require('../frontend/vm/modules/local/FileSystem');156require('../frontend/vm/modules/local/ButtonModule');157require('../frontend/vm/modules/local/FileModule');158require('../frontend/vm/modules/local/LightModule');159require('../frontend/vm/modules/local/MathModule');160require('../frontend/vm/modules/local/MotorModule');161require('../frontend/vm/modules/local/ScreenModule');162require('../frontend/vm/modules/local/SensorModule');163require('../frontend/vm/modules/local/SoundModule');164require('../frontend/vm/modules/local/StandardModule');165require('../frontend/vm/modules/local/SystemModule');166require('../frontend/vm/modules/local/StringModule');167require('../frontend/vm/modules/local/BitModule');168require('../frontend/vm/modules/local/DeviceModule');169require('../frontend/vm/modules/local/PoweredUpModule');170require('../frontend/vm/modules/local/SpikeModule');171require('../frontend/vm/modules/local/components/ComponentFormModule');172require('../frontend/vm/modules/local/components/ComponentButtonModule');173require('../frontend/vm/modules/local/components/ComponentCheckboxModule');174require('../frontend/vm/modules/local/components/ComponentLabelModule');175require('../frontend/vm/modules/local/components/ComponentSelectButtonModule');176require('../frontend/vm/modules/local/components/ComponentStatusLightModule');177require('../frontend/vm/modules/local/components/ComponentPanelModule');178require('../frontend/vm/modules/local/components/ComponentTabsModule');179require('../frontend/vm/modules/local/components/ComponentRectangleModule');180require('../frontend/vm/modules/local/components/ComponentCircleModule');181require('../frontend/vm/modules/local/components/ComponentImageModule');182require('../frontend/vm/modules/local/components/ComponentIconModule');183require('../frontend/vm/modules/local/components/ComponentTextInputModule');184require('../frontend/vm/modules/local/components/ComponentSliderModule');185require('../frontend/vm/modules/local/components/ComponentPUDeviceModule');186require('../frontend/vm/modules/local/components/ComponentEV3MotorModule');187require('../frontend/vm/modules/local/components/ComponentEV3SensorModule');188require('../frontend/vm/modules/local/components/ComponentIntervalModule');189require('../frontend/vm/modules/local/components/ComponentTimeoutModule');190require('../frontend/vm/modules/local/components/ComponentAlertDialogModule');191require('../frontend/vm/modules/local/components/ComponentConfirmDialogModule');192require('../frontend/vm/device/BasicLayerState');193require('../frontend/vm/device/nxt/LayerState');194require('../frontend/vm/device/ev3/LayerState');195require('../frontend/vm/device/poweredup/LayerState');196require('../frontend/vm/device/spike/LayerState');197require('../frontend/vm/modules/remote/ButtonModule');198require('../frontend/vm/modules/remote/FileModule');199require('../frontend/vm/modules/remote/LightModule');200require('../frontend/vm/modules/remote/MathModule');201require('../frontend/vm/modules/remote/MotorModule');202require('../frontend/vm/modules/remote/ScreenModule');203require('../frontend/vm/modules/remote/SensorModule');204require('../frontend/vm/modules/remote/SoundModule');205require('../frontend/vm/modules/remote/StandardModule');206require('../frontend/vm/modules/remote/SystemModule');207require('../frontend/vm/modules/remote/StringModule');208require('../frontend/vm/modules/remote/BitModule');209require('../frontend/vm/modules/remote/DeviceModule');210require('../frontend/vm/modules/remote/PoweredUpModule');211require('../frontend/vm/modules/remote/SpikeModule');212require('../frontend/vm/VMData');213require('../frontend/vm/VM');214require('../frontend/vm/VMModuleLoader');215require('../frontend/lib/dataprovider/HttpDataProvider');216require('../frontend/lib/dataprovider/ElectronDataProvider');217require('../frontend/lib/dataprovider/dataProvider');218require('../frontend/lib/components/component/componentStyle');219require('../frontend/lib/components/component/Component');220require('../frontend/lib/components/component/ComponentContainer');221require('../frontend/lib/components/ContextMenu');222require('../frontend/lib/components/TabPanel');223require('../frontend/lib/components/Panel');224require('../frontend/lib/components/Dialog');225require('../frontend/lib/components/Menu');226require('../frontend/lib/components/Resizer');227require('../frontend/lib/components/CheckboxAndLabel');228require('../frontend/lib/components/Toolbar');229require('../frontend/lib/components/Hint');230require('../frontend/lib/components/WizardSteps');231require('../frontend/lib/components/IncludeFiles');232require('../frontend/lib/components/mainmenu/MainMenuItem');233require('../frontend/lib/components/mainmenu/MainMenu');234require('../frontend/lib/components/input/IconSelect');235require('../frontend/lib/components/input/Tabs');236require('../frontend/lib/components/input/Button');237require('../frontend/lib/components/input/Dropdown');238require('../frontend/lib/components/input/CloseButton');239require('../frontend/lib/components/input/TextArea');240require('../frontend/lib/components/input/TextInput');241require('../frontend/lib/components/input/Checkbox');242require('../frontend/lib/components/input/Radio');243require('../frontend/lib/components/input/Slider');244require('../frontend/lib/components/input/ToolOptions');245require('../frontend/lib/components/status/LoadingDots');246require('../frontend/lib/components/status/ProgressBar');247require('../frontend/lib/components/status/StatusLight');248require('../frontend/lib/components/text/Title');249require('../frontend/lib/components/text/Text');250require('../frontend/lib/components/text/ListItems');251require('../frontend/lib/components/text/Label');252require('../frontend/lib/components/nonvisual/NonVisualComponent');253require('../frontend/lib/components/nonvisual/Interval');254require('../frontend/lib/components/nonvisual/Timeout');255require('../frontend/lib/components/nonvisual/AlertDialog');256require('../frontend/lib/components/nonvisual/ConfirmDialog');257require('../frontend/lib/components/io/BasicIODevice');258require('../frontend/lib/components/io/PoweredUpDevice');259require('../frontend/lib/components/io/EV3Motor');260require('../frontend/lib/components/io/EV3Sensor');261require('../frontend/lib/components/files/File');262require('../frontend/lib/components/files/FileDetail');263require('../frontend/lib/components/files/Files');264require('../frontend/lib/components/filetree/Item');265require('../frontend/lib/components/filetree/File');266require('../frontend/lib/components/filetree/Directory');267require('../frontend/lib/components/filetree/FileTree');268require('../frontend/lib/components/tree/TreeNode');269require('../frontend/lib/components/tree/Tree');270require('../frontend/lib/components/list/ListItem');271require('../frontend/lib/components/list/List');272require('../frontend/lib/components/basic/A');273require('../frontend/lib/components/basic/Span');274require('../frontend/lib/components/basic/H');275require('../frontend/lib/components/basic/P');276require('../frontend/lib/components/basic/Hr');277require('../frontend/lib/components/basic/Pre');278require('../frontend/lib/components/basic/Table');279require('../frontend/lib/components/basic/Ul');280require('../frontend/lib/components/basic/Img');281require('../frontend/lib/components/graphics/Rectangle');282require('../frontend/lib/components/graphics/Circle');283require('../frontend/lib/components/graphics/Image');284require('../frontend/lib/components/graphics/Icon');285require('../frontend/lib/directoryWatcher');286require('../frontend/lib/fileDropHandler');287require('../frontend/ide/data/images');288// Don't load, only loaded in setup when needed: require('../frontend/ide/data/templates');289require('../frontend/ide/data/texts');290require('../frontend/ide/tabIndex');291require('../frontend/ide/plugins/pluginUuid');292require('../frontend/ide/help/components/IndexList');293require('../frontend/ide/help/components/IndexListText');294require('../frontend/ide/help/woc/FileProcessor');295require('../frontend/ide/help/woc/SubjectFileProcessor');296require('../frontend/ide/help/woc/WhlFileProcessor');297require('../frontend/ide/help/woc/WocFileProcessor');298require('../frontend/ide/help/woc/Woc');299require('../frontend/ide/help/woc/wheelSyntaxTokens');300require('../frontend/ide/help/woc/SyntaxOutput');301require('../frontend/ide/help/woc/SyntaxOutputHTML');302require('../frontend/ide/help/woc/SyntaxOutputSVG');303require('../frontend/ide/help/woc/WheelSyntax');304require('../frontend/ide/help/helpData');305require('../frontend/ide/help/HelpBuilder');306require('../frontend/ide/help/HelpBuilderText');307require('../frontend/ide/editor/editors/form/ContainerIdsForForm');308require('../frontend/ide/dialogs/AlertDialog');309require('../frontend/ide/dialogs/SensorTypeDialog');310require('../frontend/ide/dialogs/settings/components/Updater');311require('../frontend/ide/dialogs/settings/components/ExportSettings');312require('../frontend/ide/dialogs/settings/components/CheckboxSetting');313require('../frontend/ide/dialogs/settings/components/IncludeFilesSetting');314require('../frontend/ide/dialogs/settings/components/ImageOpenSettings');315require('../frontend/ide/dialogs/settings/components/TextInputSetting');316require('../frontend/ide/dialogs/settings/components/TextAreaSetting');317require('../frontend/ide/dialogs/settings/tabs/addVersionTab');318require('../frontend/ide/dialogs/settings/tabs/addExportTab');319require('../frontend/ide/dialogs/settings/tabs/addEditorTab');320require('../frontend/ide/dialogs/settings/tabs/addCompilerTab');321require('../frontend/ide/dialogs/settings/tabs/addViewTab');322require('../frontend/ide/dialogs/settings/tabs/addConsoleTab');323require('../frontend/ide/dialogs/settings/tabs/addSimulatorTab');324require('../frontend/ide/dialogs/settings/SettingsDialog');325require('../frontend/ide/dialogs/hint/HintDialog');326require('../frontend/ide/dialogs/hint/OpenFormDialog');327require('../frontend/ide/dialogs/hint/ConnectedDialog');328require('../frontend/ide/dialogs/hint/SaveDialog');329require('../frontend/ide/dialogs/ConfirmDialog');330require('../frontend/ide/dialogs/ExploreDialog');331require('../frontend/ide/dialogs/list/ListDialog');332require('../frontend/ide/dialogs/connection/components/PoweredUpListItem');333require('../frontend/ide/dialogs/connection/components/PoweredUpAutoConnectListItem');334require('../frontend/ide/dialogs/connection/components/SerialListItem');335require('../frontend/ide/dialogs/connection/NXTConnectListDialog');336require('../frontend/ide/dialogs/connection/EV3ConnectListDialog');337require('../frontend/ide/dialogs/connection/SpikeConnectListDialog');338require('../frontend/ide/dialogs/connection/PoweredUpConnectListDialog');339require('../frontend/ide/dialogs/connection/PoweredUpAutoConnectListDialog');340require('../frontend/ide/dialogs/statistics/StatisticsDialog');341require('../frontend/ide/dialogs/YesNoCancelDialog');342require('../frontend/ide/dialogs/file/state/DeviceListState');343require('../frontend/ide/dialogs/file/components/Step');344require('../frontend/ide/dialogs/file/components/PoweredUpDeviceItem');345require('../frontend/ide/dialogs/file/components/PoweredUpDeviceList');346require('../frontend/ide/dialogs/file/components/PoweredUpStep1Start');347require('../frontend/ide/dialogs/file/components/PoweredUpStep2Device');348require('../frontend/ide/dialogs/file/components/PoweredUpStep3Ports');349require('../frontend/ide/dialogs/file/components/PoweredUpStep4Include');350require('../frontend/ide/dialogs/file/components/PoweredUpStep5Form');351require('../frontend/ide/dialogs/file/components/PoweredUpStep6Finish');352require('../frontend/ide/dialogs/file/FileDialog');353require('../frontend/ide/dialogs/file/FileOpenDialog');354require('../frontend/ide/dialogs/file/FileNewDialog');355require('../frontend/ide/dialogs/file/FileRenameDialog');356require('../frontend/ide/dialogs/file/FilePoweredUpProjectDialog');357require('../frontend/ide/dialogs/image/components/ImagePreview');358require('../frontend/ide/dialogs/image/components/Step');359require('../frontend/ide/dialogs/image/components/StepSelect');360require('../frontend/ide/dialogs/image/components/StepScale');361require('../frontend/ide/dialogs/image/components/StepContrast');362require('../frontend/ide/dialogs/image/components/StepFilename');363require('../frontend/ide/dialogs/image/ImageDialog');364require('../frontend/ide/dialogs/image/ImageNewDialog');365require('../frontend/ide/dialogs/image/ImageResizeDialog');366require('../frontend/ide/dialogs/image/ImageLoadDialog');367require('../frontend/ide/dialogs/image/IconDialog');368require('../frontend/ide/dialogs/form/ComponentFormContainer.js');369require('../frontend/ide/dialogs/form/FormSizeDialog');370require('../frontend/ide/dialogs/form/FormNewDialog');371require('../frontend/ide/dialogs/form/FormDialog');372require('../frontend/ide/dialogs/form/FormGridSizeDialog');373require('../frontend/ide/dialogs/VolumeDialog');374require('../frontend/ide/dialogs/help/components/WocFileLoader');375require('../frontend/ide/dialogs/help/HelpDialog');376require('../frontend/ide/dialogs/directcontrol/components/Motor');377require('../frontend/ide/dialogs/directcontrol/components/MotorAlias');378require('../frontend/ide/dialogs/directcontrol/components/Motors');379require('../frontend/ide/dialogs/directcontrol/components/PianoKey');380require('../frontend/ide/dialogs/directcontrol/components/Piano');381require('../frontend/ide/dialogs/directcontrol/DirectControlDialog');382require('../frontend/ide/dialogs/directcontrol/EV3ControlDialog');383require('../frontend/ide/dialogs/directcontrol/PoweredUpControlDialog');384require('../frontend/ide/dialogs/directcontrol/SpikeControlDialog');385require('../frontend/ide/dialogs/DaisyChainDialog');386require('../frontend/ide/dialogs/LicenseDialog');387require('../frontend/ide/dialogs/directory/DirectoryNewDialog');388require('../frontend/ide/dialogs/find/FindDialog');389require('../frontend/ide/dialogs/find/FindInFilesDialog');390require('../frontend/ide/dialogs/find/ReplaceDialog');391require('../frontend/ide/dialogs/download/components/ResourceLine');392require('../frontend/ide/dialogs/download/DownloadDialog');393require('../frontend/ide/dialogs/GraphDialog');394require('../frontend/ide/dialogs/device/DeviceAliasDialog');395require('../frontend/ide/dialogs/device/DevicePortAliasDialog');396require('../frontend/ide/dialogs/device/DeviceCountDialog');397require('../frontend/ide/dialogs/tools/components/GearSettings');398require('../frontend/ide/dialogs/tools/components/GearList');399require('../frontend/ide/dialogs/tools/components/GearResult');400require('../frontend/ide/dialogs/tools/GearRatioCalculatorDialog');401require('../frontend/ide/dialogs/tools/InverseKinematicsDialog');402require('../frontend/ide/dialogs/tools/WheelToSVGDialog');403require('../frontend/ide/dialogs/example/components/ExampleCategory');404require('../frontend/ide/dialogs/example/constants');405require('../frontend/ide/dialogs/example/ExampleDialog');406require('../frontend/ide/dialogs/define/components/DefineListItem');407require('../frontend/ide/dialogs/define/DefineValueDialog');408require('../frontend/ide/dialogs/define/DefineListDialog');409require('../frontend/ide/helper/connectionHelper');410require('../frontend/ide/helper/deviceCountHelper');411require('../frontend/ide/menu/HelpOption');412require('../frontend/ide/menu/MainMenu');413require('../frontend/ide/editor/editors/Clipboard');414require('../frontend/ide/editor/editors/Editor');415require('../frontend/ide/editor/editors/home/components/HomeScreenTile');416require('../frontend/ide/editor/editors/home/components/HomeScreenConnectNXTTile');417require('../frontend/ide/editor/editors/home/components/HomeScreenConnectEV3Tile');418require('../frontend/ide/editor/editors/home/components/HomeScreenConnectPoweredUpTile');419require('../frontend/ide/editor/editors/home/components/HomeScreenConnectSpikeTile');420require('../frontend/ide/editor/editors/home/components/HomeScreenRecentProjectTile');421require('../frontend/ide/editor/editors/home/components/HomeScreenThemeTile');422require('../frontend/ide/editor/editors/home/components/HomeScreenNewProjectTile');423require('../frontend/ide/editor/editors/home/HomeScreen');424require('../frontend/ide/editor/editors/text/toolbar/BluetoothState');425require('../frontend/ide/editor/editors/text/toolbar/ToolbarBottom');426require('../frontend/ide/editor/editors/text/toolbar/ToolbarBottomViewer');427require('../frontend/ide/editor/editors/text/VMViewer');428require('../frontend/ide/editor/editors/text/WheelEditorState');429require('../frontend/ide/editor/editors/text/WheelEditor');430require('../frontend/ide/editor/editors/text/SourceEditor');431require('../frontend/ide/editor/editors/text/TextEditor');432require('../frontend/ide/editor/editors/image/text/Text');433require('../frontend/ide/editor/editors/image/text/TextLarge');434require('../frontend/ide/editor/editors/image/text/TextMedium');435require('../frontend/ide/editor/editors/image/text/TextSmall');436require('../frontend/ide/editor/editors/image/toolbar/ToolbarTop');437require('../frontend/ide/editor/editors/image/toolbar/ToolbarBottom');438require('../frontend/ide/editor/editors/image/Image');439require('../frontend/ide/editor/editors/image/Grid');440require('../frontend/ide/editor/editors/image/selection/Selection');441require('../frontend/ide/editor/editors/image/selection/SelectionCopy');442require('../frontend/ide/editor/editors/image/selection/SelectionText');443require('../frontend/ide/editor/editors/image/ImageLoader');444require('../frontend/ide/editor/editors/image/ImageEditorState');445require('../frontend/ide/editor/editors/image/ImageEditor');446require('../frontend/ide/editor/editors/sound/toolbar/ToolbarTop');447require('../frontend/ide/editor/editors/sound/toolbar/ToolbarBottom');448require('../frontend/ide/editor/editors/sound/SoundLoader');449require('../frontend/ide/editor/editors/sound/SoundEditorState');450require('../frontend/ide/editor/editors/sound/SoundEditor');451require('../frontend/ide/editor/editors/form/toolbar/ToolbarTop');452require('../frontend/ide/editor/editors/form/toolbar/ToolbarBottom');453require('../frontend/ide/source/sourceBuilderUtils');454require('../frontend/ide/source/SourceBuilder');455require('../frontend/ide/source/SourceFormatter');456require('../frontend/ide/editor/editors/form/ComponentBuilder');457require('../frontend/ide/editor/editors/form/formEditorConstants');458require('../frontend/ide/editor/editors/form/FormComponentContainer');459require('../frontend/ide/editor/editors/form/FormComponent');460require('../frontend/ide/editor/editors/form/state/ComponentList');461require('../frontend/ide/editor/editors/form/state/EventList');462require('../frontend/ide/editor/editors/form/state/PropertyList');463require('../frontend/ide/editor/editors/form/state/UndoStack');464require('../frontend/ide/editor/editors/form/state/FormEditorToolbarState');465require('../frontend/ide/editor/editors/form/state/FormEditorState');466require('../frontend/ide/editor/editors/form/FormEditor');467require('../frontend/ide/editor/editors/imageviewer/toolbar/ToolbarTop');468require('../frontend/ide/editor/editors/imageviewer/toolbar/ToolbarBottom');469require('../frontend/ide/editor/editors/imageviewer/ImageViewer');470require('../frontend/ide/editor/Editors');471require('../frontend/ide/editor/EditorsState');472require('../frontend/ide/editor/Editor');473require('../frontend/ide/console/spans');474require('../frontend/ide/console/components/VarView');475require('../frontend/ide/console/components/VarViewNumber');476require('../frontend/ide/console/components/VarViewString');477require('../frontend/ide/console/components/VarViewRecord');478require('../frontend/ide/console/tree/ArrayTreeBuilder');479require('../frontend/ide/console/tree/RecordTreeBuilder');480require('../frontend/ide/console/Vars');481require('../frontend/ide/console/Registers');482require('../frontend/ide/console/Log');483require('../frontend/ide/console/Terminal');484require('../frontend/ide/console/NewVersion');485require('../frontend/ide/console/Console');486require('../frontend/ide/properties/PropertiesToolbar');487require('../frontend/ide/properties/components/Container');488require('../frontend/ide/properties/components/Form');489require('../frontend/ide/properties/components/Property');490require('../frontend/ide/properties/components/Properties');491require('../frontend/ide/properties/components/Event');492require('../frontend/ide/properties/components/Events');493require('../frontend/ide/properties/components/types/BooleanProperty');494require('../frontend/ide/properties/components/types/DropdownProperty');495require('../frontend/ide/properties/components/types/HAlignProperty');496require('../frontend/ide/properties/components/types/ColorProperty');497require('../frontend/ide/properties/components/types/TextProperty');498require('../frontend/ide/properties/components/types/TextAreaProperty');499require('../frontend/ide/properties/components/types/TextListProperty');500require('../frontend/ide/properties/components/types/RgbProperty');501require('../frontend/ide/properties/components/types/IconProperty');502require('../frontend/ide/properties/components/Components');503require('../frontend/ide/properties/Properties');504require('../frontend/ide/simulator/SimulatorToolbar');505require('../frontend/ide/simulator/SimulatorModules');506require('../frontend/ide/plugins/simulator/lib/SimulatorPlugin');507require('../frontend/ide/plugins/simulator/lib/motor/io/BasicIOState');508require('../frontend/ide/plugins/simulator/lib/motor/io/BasicIODevice');509require('../frontend/ide/plugins/simulator/lib/motor/io/Motor');510require('../frontend/ide/plugins/simulator/lib/motor/Plugin');511require('../frontend/ide/plugins/simulator/nxtmotors/io/MotorState');512require('../frontend/ide/plugins/simulator/nxtmotors/io/Motor');513require('../frontend/ide/plugins/simulator/nxtmotors/Plugin');514require('../frontend/ide/plugins/simulator/nxtsensors/io/Sensor');515require('../frontend/ide/plugins/simulator/nxtsensors/io/UnknownSensor');516require('../frontend/ide/plugins/simulator/nxtsensors/io/ColorSensor');517require('../frontend/ide/plugins/simulator/nxtsensors/io/SoundSensor');518require('../frontend/ide/plugins/simulator/nxtsensors/io/TouchSensor');519require('../frontend/ide/plugins/simulator/nxtsensors/io/UltrasonicSensor');520require('../frontend/ide/plugins/simulator/nxtsensors/io/LightSensor');521require('../frontend/ide/plugins/simulator/nxtsensors/SensorContainer');522require('../frontend/ide/plugins/simulator/nxtsensors/Plugin');523require('../frontend/ide/plugins/simulator/ev3/io/text/Text');524require('../frontend/ide/plugins/simulator/ev3/io/text/TextLarge');525require('../frontend/ide/plugins/simulator/ev3/io/text/TextMedium');526require('../frontend/ide/plugins/simulator/ev3/io/text/TextSmall');527require('../frontend/ide/plugins/simulator/ev3/io/Light');528require('../frontend/ide/plugins/simulator/ev3/io/Sound');529require('../frontend/ide/plugins/simulator/ev3/io/Button');530require('../frontend/ide/plugins/simulator/ev3/io/Buttons');531require('../frontend/ide/plugins/simulator/ev3/io/Display');532require('../frontend/ide/plugins/simulator/ev3/Plugin');533require('../frontend/ide/plugins/simulator/ev3motors/io/MotorState');534require('../frontend/ide/plugins/simulator/ev3motors/io/Motor');535require('../frontend/ide/plugins/simulator/ev3motors/Plugin');536require('../frontend/ide/plugins/simulator/ev3sensors/io/Sensor');537require('../frontend/ide/plugins/simulator/ev3sensors/io/UnknownSensor');538require('../frontend/ide/plugins/simulator/ev3sensors/io/ColorSensor');539require('../frontend/ide/plugins/simulator/ev3sensors/io/GyroSensor');540require('../frontend/ide/plugins/simulator/ev3sensors/io/InfraredSensor');541require('../frontend/ide/plugins/simulator/ev3sensors/io/SoundSensor');542require('../frontend/ide/plugins/simulator/ev3sensors/io/TouchSensor');543require('../frontend/ide/plugins/simulator/ev3sensors/io/UltrasonicSensor');544require('../frontend/ide/plugins/simulator/ev3sensors/SensorContainer');545require('../frontend/ide/plugins/simulator/ev3sensors/Plugin');546require('../frontend/ide/plugins/simulator/spike/io/LedMatrix');547require('../frontend/ide/plugins/simulator/spike/components/HubStatus');548require('../frontend/ide/plugins/simulator/spike/components/Hub');549require('../frontend/ide/plugins/simulator/spike/Plugin');550require('../frontend/ide/plugins/simulator/spikeports/io/constants');551require('../frontend/ide/plugins/simulator/spikeports/io/MotorOrSensorState');552require('../frontend/ide/plugins/simulator/spikeports/io/MotorOrSensor');553require('../frontend/ide/plugins/simulator/spikeports/Plugin');554require('../frontend/ide/plugins/simulator/poweredup/io/constants');555require('../frontend/ide/plugins/simulator/poweredup/io/MotorOrSensorState');556require('../frontend/ide/plugins/simulator/poweredup/io/MotorOrSensor');557require('../frontend/ide/plugins/simulator/poweredup/io/SimulatedLayerDevice');558require('../frontend/ide/plugins/simulator/poweredup/io/SimulatedDevices');559require('../frontend/ide/plugins/simulator/poweredup/components/BasicHub');560require('../frontend/ide/plugins/simulator/poweredup/components/TechnicHub');561require('../frontend/ide/plugins/simulator/poweredup/components/Hub');562require('../frontend/ide/plugins/simulator/poweredup/components/MoveHub');563require('../frontend/ide/plugins/simulator/poweredup/components/Remote');564require('../frontend/ide/plugins/simulator/poweredup/Plugin');565require('../frontend/ide/plugins/simulator/graph/io/CircularBuffer');566require('../frontend/ide/plugins/simulator/graph/io/BarChartDrawer');567require('../frontend/ide/plugins/simulator/graph/io/BinaryChartDrawer');568require('../frontend/ide/plugins/simulator/graph/io/ColorBarChartDrawer');569require('../frontend/ide/plugins/simulator/graph/io/FillChartDrawer');570require('../frontend/ide/plugins/simulator/graph/io/LineChartDrawer');571require('../frontend/ide/plugins/simulator/graph/io/PointChartDrawer');572require('../frontend/ide/plugins/simulator/graph/io/SplineChartDrawer');573require('../frontend/ide/plugins/simulator/graph/io/ChartDrawer');574require('../frontend/ide/plugins/simulator/graph/Plugin');575require('../frontend/ide/simulator/Simulator');576require('../frontend/ide/CompileAndRun');577require('../frontend/ide/CompileAndRunOutput');578require('../frontend/ide/CompileAndRunInstall');579require('../frontend/ide/IDEEvents');580require('../frontend/ide/IDEDialogs');581require('../frontend/ide/IDEDOM');582require('../frontend/ide/settings/PluginsState');583require('../frontend/ide/settings/IncludeFilesState');584require('../frontend/ide/settings/PoweredUpAutoConnectState');585require('../frontend/ide/settings/DefinesState');586require('../frontend/vm/device/BasicDeviceState');587require('../frontend/ide/IDEAssistant');588const Setup = require('../frontend/ide/Setup').Setup;589const IDE = require('../frontend/ide/IDE').IDE;590const SettingsState = require('../frontend/ide/settings/SettingsState').SettingsState;591const UIState = require('../frontend/lib/UIState').UIState;592const NXTState = require('../frontend/vm/device/nxt/NXTState').NXTState;593const EV3State = require('../frontend/vm/device/ev3/EV3State').EV3State;594const PoweredUpState = require('../frontend/vm/device/poweredup/PoweredUpState').PoweredUpState;595const SpikeState = require('../frontend/vm/device/spike/SpikeState').SpikeState;596(function() {597 let settings;598 let ui;599 let ide = null;600 let setup = null;601 const onFinishedSetup = function() {602 if (ide) {603 return;604 }605 ide = new IDE({606 ui: ui,607 settings: settings,608 devices: {609 nxt: new NXTState ({activeLayerCount: settings.getNXTDeviceCount()}),610 ev3: new EV3State ({activeLayerCount: settings.getDaisyChainMode()}),611 poweredUp: new PoweredUpState({activeLayerCount: settings.getPoweredUpDeviceCount()}),612 spike: new SpikeState ({activeLayerCount: settings.getSpikeDeviceCount()})613 }614 });615 };616 const onLoadedSettings = function() {617 if (setup) {618 return;619 }620 require('../shared/lib/path').setSep(settings.getOS().pathSep);621 setup = new Setup({622 ui: ui,623 settings: settings,624 onFinished: onFinishedSetup625 });626 };627 const loadDocumentPath = function() {628 const ipcRenderer = require('electron').ipcRenderer;629 ipcRenderer.on(630 'postMessage',631 function(event, arg) {632 let data;633 try {634 data = JSON.parse(arg);635 } catch (error) {636 data = {};637 }638 if (data.message === 'documentPath') {639 const getDataProvider = require('../frontend/lib/dataprovider/dataProvider').getDataProvider;640 ui = new UIState();641 settings = new SettingsState({642 getDataProvider: getDataProvider,643 systemDocumentPath: data.data,644 isPackaged: data.isPackaged645 });646 settings.load(onLoadedSettings);647 }648 }649 );650 ipcRenderer.send('postMessage', {command: 'documentPath'});651 };652 const onDOMContentLoaded = function() {653 loadDocumentPath();654 };655 document.addEventListener('DOMContentLoaded', onDOMContentLoaded);...

Full Screen

Full Screen

jspm_config_frontend.js

Source:jspm_config_frontend.js Github

copy

Full Screen

1SystemJS.config({2map: {3 "libs_common/content_script_utils": "libs_frontend/content_script_utils",4 "libs_common/require_remote_utils": "libs_frontend/require_remote_utils",5 "libs_backend/expose_backend_libs": "generated_libs/libs_backend/expose_backend_libs",6 "libs_common/ajax_utils": "generated_libs/libs_frontend/ajax_utils",7 "libs_frontend/ajax_utils": "generated_libs/libs_frontend/ajax_utils",8 "libs_common/cacheget_utils": "generated_libs/libs_frontend/cacheget_utils",9 "libs_frontend/cacheget_utils": "generated_libs/libs_frontend/cacheget_utils",10 "libs_common/db_utils": "generated_libs/libs_frontend/db_utils",11 "libs_frontend/db_utils": "generated_libs/libs_frontend/db_utils",12 "libs_common/debug_console_utils": "generated_libs/libs_frontend/debug_console_utils",13 "libs_frontend/debug_console_utils": "generated_libs/libs_frontend/debug_console_utils",14 "libs_common/disable_habitlab_utils": "generated_libs/libs_frontend/disable_habitlab_utils",15 "libs_frontend/disable_habitlab_utils": "generated_libs/libs_frontend/disable_habitlab_utils",16 "libs_common/duolingo_utils": "generated_libs/libs_frontend/duolingo_utils",17 "libs_frontend/duolingo_utils": "generated_libs/libs_frontend/duolingo_utils",18 "libs_common/favicon_utils": "generated_libs/libs_frontend/favicon_utils",19 "libs_frontend/favicon_utils": "generated_libs/libs_frontend/favicon_utils",20 "libs_common/fetch_page_utils": "generated_libs/libs_frontend/fetch_page_utils",21 "libs_frontend/fetch_page_utils": "generated_libs/libs_frontend/fetch_page_utils",22 "libs_common/gamification_utils": "generated_libs/libs_frontend/gamification_utils",23 "libs_frontend/gamification_utils": "generated_libs/libs_frontend/gamification_utils",24 "libs_common/goal_progress": "generated_libs/libs_frontend/goal_progress",25 "libs_frontend/goal_progress": "generated_libs/libs_frontend/goal_progress",26 "libs_common/goal_utils": "generated_libs/libs_frontend/goal_utils",27 "libs_frontend/goal_utils": "generated_libs/libs_frontend/goal_utils",28 "libs_common/goal_vars_backend": "generated_libs/libs_frontend/goal_vars_backend",29 "libs_frontend/goal_vars_backend": "generated_libs/libs_frontend/goal_vars_backend",30 "libs_common/history_utils": "generated_libs/libs_frontend/history_utils",31 "libs_frontend/history_utils": "generated_libs/libs_frontend/history_utils",32 "libs_common/intervention_feedback_utils": "generated_libs/libs_frontend/intervention_feedback_utils",33 "libs_frontend/intervention_feedback_utils": "generated_libs/libs_frontend/intervention_feedback_utils",34 "libs_common/intervention_first_impression_utils_backend": "generated_libs/libs_frontend/intervention_first_impression_utils_backend",35 "libs_frontend/intervention_first_impression_utils_backend": "generated_libs/libs_frontend/intervention_first_impression_utils_backend",36 "libs_common/intervention_session_vars_backend": "generated_libs/libs_frontend/intervention_session_vars_backend",37 "libs_frontend/intervention_session_vars_backend": "generated_libs/libs_frontend/intervention_session_vars_backend",38 "libs_common/intervention_utils": "generated_libs/libs_frontend/intervention_utils",39 "libs_frontend/intervention_utils": "generated_libs/libs_frontend/intervention_utils",40 "libs_common/intervention_vars_backend": "generated_libs/libs_frontend/intervention_vars_backend",41 "libs_frontend/intervention_vars_backend": "generated_libs/libs_frontend/intervention_vars_backend",42 "libs_common/localization_utils_backend": "generated_libs/libs_frontend/localization_utils_backend",43 "libs_frontend/localization_utils_backend": "generated_libs/libs_frontend/localization_utils_backend",44 "libs_common/log_utils": "generated_libs/libs_frontend/log_utils",45 "libs_frontend/log_utils": "generated_libs/libs_frontend/log_utils",46 "libs_common/notification_utils_backend": "generated_libs/libs_frontend/notification_utils_backend",47 "libs_frontend/notification_utils_backend": "generated_libs/libs_frontend/notification_utils_backend",48 "libs_common/persistent_storage_utils": "generated_libs/libs_frontend/persistent_storage_utils",49 "libs_frontend/persistent_storage_utils": "generated_libs/libs_frontend/persistent_storage_utils",50 "libs_common/screenshot_utils": "generated_libs/libs_frontend/screenshot_utils",51 "libs_frontend/screenshot_utils": "generated_libs/libs_frontend/screenshot_utils",52 "libs_common/session_utils": "generated_libs/libs_frontend/session_utils",53 "libs_frontend/session_utils": "generated_libs/libs_frontend/session_utils",54 "libs_common/streak_utils": "generated_libs/libs_frontend/streak_utils",55 "libs_frontend/streak_utils": "generated_libs/libs_frontend/streak_utils",56 "libs_common/tab_utils": "generated_libs/libs_frontend/tab_utils",57 "libs_frontend/tab_utils": "generated_libs/libs_frontend/tab_utils",58 "jquery-contextmenu": "modules_custom/jquery-contextmenu/dist/jquery.contextMenu.js",59 "jquery-inview": "modules_custom/jquery-inview/jquery.inview.js",60 "jquery.isinview": "modules_custom/jquery.isinview/dist/jquery.isinview.js",61 "jquery.pagepiling": "modules_custom/jquery.pagepiling/jquery.pagepiling.js",62 "jquery.terminal": "modules_custom/jquery.terminal/js/jquery.terminal-0.10.12.js"63}...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const bestOf = require('./BestOf.js');2const best = bestOf.frontend();3console.log(best);4const bestOf = require('./BestOf.js');5const best = bestOf.backend();6console.log(best);7const bestOf = require('./BestOf.js');8const best = bestOf.fullStack();9console.log(best);10const bestOf = require('./BestOf.js');11const best = bestOf.bestOf();12console.log(best);13const bestOf = require('./BestOf.js');14const best = bestOf.bestOf();15console.log(best);16const bestOf = require('./BestOf.js');17const best = bestOf.bestOf();18console.log(best);19const bestOf = require('./BestOf.js');20const best = bestOf.bestOf();21console.log(best);22const bestOf = require('./BestOf.js');23const best = bestOf.bestOf();24console.log(best);25const bestOf = require('./BestOf.js');26const best = bestOf.bestOf();27console.log(best);28const bestOf = require('./BestOf.js');29const best = bestOf.bestOf();30console.log(best);31const bestOf = require('./BestOf.js');32const best = bestOf.bestOf();33console.log(best);34const bestOf = require('./BestOf.js');35const best = bestOf.bestOf();36console.log(best);37const bestOf = require('./BestOf.js');38const best = bestOf.bestOf();

Full Screen

Using AI Code Generation

copy

Full Screen

1var input = document.getElementById('input').value;2var input = document.getElementById('input').value;3var input = document.getElementById('input').value;4var input = document.getElementById('input').value;5var input = document.getElementById('input').value;6var input = document.getElementById('input').value;7var input = document.getElementById('input').value;8var input = document.getElementById('input').value;9var input = document.getElementById('input').value;10var input = document.getElementById('input').value;11var input = document.getElementById('input').value;12var input = document.getElementById('input').value;13var input = document.getElementById('input').value;14var input = document.getElementById('input').value;

Full Screen

Using AI Code Generation

copy

Full Screen

1var bestbuy = require('bestbuy')('myapikey');2var query = "sku=8837503";3var query2 = "sku=8837503&show=sku,name,salePrice,shortDescription";4var query3 = "search=apple&show=sku,name,salePrice,shortDescription";5var query4 = "search=apple&show=sku,name,salePrice,shortDescription&pageSize=2&page=2";6bestbuy.products(query2, function(err, data) {7 if (err) {8 console.error(err);9 } else {10 console.log(data);11 }12});13bestbuy.products(query3, function(err, data) {14 if (err) {15 console.error(err);16 } else {17 console.log(data);18 }19});20bestbuy.products(query4, function(err, data) {21 if (err) {22 console.error(err);23 } else {24 console.log(data);25 }26});27var bestbuy = require('bestbuy')('myapikey');28var query = "sku=8837503";29var query2 = "sku=8837503&show=sku,name,salePrice,shortDescription";30var query3 = "search=apple&show=sku,name,salePrice,shortDescription";31var query4 = "search=apple&show=sku,name,salePrice,shortDescription&pageSize=2&page=2";32bestbuy.products(query2)33 .then(function(data) {34 console.log(data);35 })36 .catch(function(err) {37 console.error(err);38 });39bestbuy.products(query3)40 .then(function(data) {41 console.log(data);42 })43 .catch(function(err) {44 console.error(err);45 });46bestbuy.products(query4)47 .then(function(data) {48 console.log(data);49 })50 .catch(function(err) {51 console.error(err);52 });53var bestbuy = require('bestbuy')('myapikey');54var query = "sku=8837503";55var query2 = "sku=8837503&show=sku,name,salePrice,shortDescription";56var query3 = "search=apple&show=sku,name,salePrice,shortDescription";

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Best automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful