Skip to content

Commit

Permalink
Update docs version
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia committed Jan 31, 2015
1 parent 6de2695 commit 3f86209
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs/static/js/pages/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ angular.module('myApp.pages.app', [])
$window.ga('send', 'pageview', { page: '/ng-tasty' + $location.path() });
});
}
$rootScope.version = '0.4.8';
$rootScope.version = '0.5.0';

$scope.showDownloadModal = function() {
modalInstance = $modal.open({
Expand Down
20 changes: 0 additions & 20 deletions docs/template/table/example-html-4.html

This file was deleted.

16 changes: 0 additions & 16 deletions docs/template/table/example-js-4.html

This file was deleted.

34 changes: 32 additions & 2 deletions docs/template/table/filters.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,40 @@
</a>
</div>
<tab heading="Markup">
<%= include example-html-4.html %>
<pre ng-non-bindable><code data-language="html">&lt;div tasty-table bind-resource=&quot;resource&quot; bind-filters=&quot;filters&quot;&gt;
&lt;table class=&quot;table table-striped table-condensed&quot;&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Star&lt;/th&gt;
&lt;th&gt;SF Location&lt;/th&gt;
&lt;/tr&gt;
&lt;thead&gt;
&lt;tbody&gt;
&lt;tr ng-repeat=&quot;row in rows&quot;&gt;
&lt;td&gt;&lbrace;&lbrace; row.name &rbrace;&rbrace;&lt;/td&gt;
&lt;td&gt;&lbrace;&lbrace; row.star &rbrace;&rbrace;&lt;/td&gt;
&lt;td&gt;&lbrace;&lbrace; row['sf-location'] &rbrace;&rbrace;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;</code></pre>
</tab>
<tab heading="JavaScript">
<%= include example-js-4.html %>
<pre><code data-language="javascript">$scope.filters = 'rit';

$scope.resource = {
"header": [
{ "key": "name", "name": "Name" },
{ "key": "star", "name": "star" },
{ "key": "sf-location", "name": "SF Location" }
],
"rows": [
{ "name": "Ritual Coffee Roasters", "star": "★★★★★", "sf-location": "Hayes Valley"},
...
{ "name": "Flywheel Coffee Roasters", "star": "★★★★★", "sf-location": "Upper Haight" }
]
};</code></pre>
</tab>
</tabset>
</div>
Expand Down

0 comments on commit 3f86209

Please sign in to comment.