fixing some items

This commit is contained in:
daarond
2015-05-09 17:48:55 -05:00
parent f0c837bb2d
commit da2e0710bf
5 changed files with 46 additions and 42 deletions

View File

@@ -31,8 +31,7 @@ goog.require('Blockly.PHP');
Blockly.PHP['variables_get'] = function(block) {
// Variable getter.
var code = Blockly.PHP.variableDB_.getName(block.getFieldValue('VAR'),
Blockly.Variables.NAME_TYPE);
var code = '$' + block.getFieldValue('VAR');
return [code, Blockly.PHP.ORDER_ATOMIC];
};