|
|
@ -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 = ''; |
|
|
|