mirror of
https://github.com/google/blockly.git
synced 2026-05-13 07:30:10 +02:00
4e2f8e6e02
This is a followup to #3127. At the time, SPDX licenses were pending approval by Google.
24 lines
577 B
JavaScript
24 lines
577 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2018 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Generating JavaScript for dynamic variable blocks.
|
|
* @author fenichel@google.com (Rachel Fenichel)
|
|
*/
|
|
'use strict';
|
|
|
|
goog.provide('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'];
|