Files
blockly/generators/javascript/variables_dynamic.js
T
Christopher Allen b7d4117ca7 refactor(generators): Migrate generators/javascript.js to goog.module
Also migrate generators/javascript/*.js.
2021-11-17 00:06:44 +00:00

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'];