diff options
| author | Matias Niemelä | 2013-04-29 15:20:10 -0400 |
|---|---|---|
| committer | Igor Minar | 2013-04-29 17:47:53 -0400 |
| commit | cf38d8c55b6c18f41bb559016005627671e7d795 (patch) | |
| tree | 5975bf92e92a7ccc3015e7b3eb9f83afb563ab8a /src/bootstrap/bootstrap.js | |
| parent | b0233a33a1c56ef6c775545f36f6e086def98795 (diff) | |
| download | angular.js-cf38d8c55b6c18f41bb559016005627671e7d795.tar.bz2 | |
feat(ngdocs): support for HTML table generation from docs code
Diffstat (limited to 'src/bootstrap/bootstrap.js')
| -rw-r--r-- | src/bootstrap/bootstrap.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.js b/src/bootstrap/bootstrap.js index d21ed941..c9719b0c 100644 --- a/src/bootstrap/bootstrap.js +++ b/src/bootstrap/bootstrap.js @@ -143,6 +143,14 @@ directive.tabbable = function() { }; }; +directive.table = function() { + return { + restrict: 'E', + link: function(scope, element, attrs) { + element[0].className = 'table table-bordered table-striped code-table'; + } + }; +}; directive.tabPane = function() { return { |
