Fixed formatting of data strings.

pull/1/head
chriseth 9 years ago
parent e7fd63756a
commit cc08e0adcf
  1. 5
      index.html

@ -303,8 +303,9 @@ var formatGasEstimates = function(data) {
return text; return text;
}; };
var formatAssemblyText = function(asm, prefix, source) { var formatAssemblyText = function(asm, prefix, source) {
var text = ''; if (typeof(asm) == typeof('') || asm === null || asm === undefined)
text += prefix + '.code\n'; return prefix + asm + '\n';
var text = prefix + '.code\n';
$.each(asm['.code'], function(i, item) { $.each(asm['.code'], function(i, item) {
var v = item.value === undefined ? '' : item.value; var v = item.value === undefined ? '' : item.value;
var src = ''; var src = '';

Loading…
Cancel
Save