From b3a62b2e19b1743df52034d4d7a0405e6a65f925 Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Mon, 29 Apr 2013 15:20:10 -0400 Subject: feat(ngdocs): support for HTML table generation from docs code --- src/bootstrap/bootstrap.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/bootstrap') 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 { -- cgit v1.2.3