scriptsig is an array in the front-end. It 's for designing.
This commit is contained in:
parent
68ed982992
commit
fd6d06d115
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -6,4 +6,10 @@ angular.module('insight')
|
|||
start = +start; //parse to int
|
||||
return input.slice(start);
|
||||
}
|
||||
});
|
||||
})
|
||||
.filter('split', function() {
|
||||
return function(input, delimiter) {
|
||||
var delimiter = delimiter || ',';
|
||||
return input.split(delimiter);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -78,7 +78,9 @@
|
|||
<div class="panel-body" style="word-wrap:break-word" data-ng-class="{true: 'v_highlight', false: ''}[from_vin == true && v_index == vin.n]">
|
||||
<small>
|
||||
<strong>scriptSig</strong>
|
||||
{{vin.scriptSig.asm}}
|
||||
<span data-ng-repeat="item in vin.scriptSig.asm | split:' '">
|
||||
<span>{{item}}</span><br><br>
|
||||
</span>
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue