mirror of
https://github.com/google/blockly.git
synced 2026-05-11 06:30:10 +02:00
b7d4117ca7
Also migrate generators/javascript/*.js.
23 lines
527 B
JavaScript
23 lines
527 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2018 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Generating JavaScript for dynamic variable blocks.
|
|
*/
|
|
'use strict';
|
|
|
|
goog.module('Blockly.JavaScript.variablesDynamic');
|
|
|
|
goog.require('Blockly.JavaScript');
|
|
goog.require('Blockly.JavaScript.variables');
|
|
|
|
|
|
// JavaScript is dynamically typed.
|
|
Blockly.JavaScript['variables_get_dynamic'] =
|
|
Blockly.JavaScript['variables_get'];
|
|
Blockly.JavaScript['variables_set_dynamic'] =
|
|
Blockly.JavaScript['variables_set'];
|