scriptsig is an array in the front-end. It 's for designing.

This commit is contained in:
Gustavo Cortez 2014-02-26 19:03:48 -03:00
parent 68ed982992
commit fd6d06d115
5 changed files with 14 additions and 6 deletions

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

View File

@ -6,4 +6,10 @@ angular.module('insight')
start = +start; //parse to int start = +start; //parse to int
return input.slice(start); return input.slice(start);
} }
}); })
.filter('split', function() {
return function(input, delimiter) {
var delimiter = delimiter || ',';
return input.split(delimiter);
}
});

View File

@ -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]"> <div class="panel-body" style="word-wrap:break-word" data-ng-class="{true: 'v_highlight', false: ''}[from_vin == true && v_index == vin.n]">
<small> <small>
<strong>scriptSig</strong> <strong>scriptSig</strong>
{{vin.scriptSig.asm}} <span data-ng-repeat="item in vin.scriptSig.asm | split:' '">
<span>{{item}}</span><br><br>
</span>
</small> </small>
</div> </div>
</div> </div>