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:
Mario Colque 2014-02-27 11:52:24 -02:00
commit 6486d9a741
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
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]">
<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>