Commit cc08e0ad authored by chriseth's avatar chriseth

Fixed formatting of data strings.

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