Commit cc08e0ad authored by chriseth's avatar chriseth

Fixed formatting of data strings.

parent e7fd6375
...@@ -303,8 +303,9 @@ var formatGasEstimates = function(data) { ...@@ -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 = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment