Created
March 26, 2016 23:56
-
-
Save molekilla/7832a49d07b22e11d323 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context: 'td', | |
props: { | |
tipo: function ($scope) { | |
// either return or assign to this.model | |
return $scope.eq(0).text(); | |
}, | |
fecha: function ($scope) { | |
return $scope.eq(1).text(); | |
} | |
} | |
/// jsx | |
props: <table> | |
<tr $index="4"> | |
<td align="center"><span class="style1"><font size="2"><strong>{{tipo}}</strong></font></span></td> | |
<td align="center"><span class="style1"><font size="2"><strong>01-09-2013</strong></font></span></td> | |
<td align="center"><span class="style1"><font size="2"><strong>0677</strong></font></span></td> | |
<td align="center"><span class="style1"><font size="2"><strong>DDBC</strong></font></span></td> | |
<td align="center"><span class="style1"><font size="2"><strong>4</strong></font></span></td> | |
<td align="center"><span class="style1"><font size="2"><strong>13</strong></font></span></td> | |
</tr></table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment