Merge pull request #414 from cmgustavo/bug/scriptsig-front-end
scriptsig is an array in the front-end. It 's for designing.
This commit is contained in:
commit
6486d9a741
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