use correct class name

This commit is contained in:
Rachel Fenichel
2016-05-04 15:07:53 -07:00
parent d89d8a2113
commit 9a1f98b703
2 changed files with 1 additions and 9 deletions

View File

@@ -71,7 +71,7 @@ Blockly.Blocks['controls_repeat'] = {
"message0": Blockly.Msg.CONTROLS_REPEAT_TITLE,
"args0": [
{
"type": "field_input",
"type": "field_number",
"name": "TIMES",
"text": "10"
}

View File

@@ -43,11 +43,3 @@ Blockly.FieldNumber = function(text, opt_validator) {
opt_validator);
};
goog.inherits(Blockly.FieldNumber, Blockly.FieldTextInput);
/**
* Return the current value.
* @return {number} Current value as a number
*/
Blockly.FieldColour.prototype.getValue = function() {
return parseFloat(this.text_ || 0);
};