Skip to content

Commit

Permalink
Merge pull request #47 from QuentinFchx/impr/support-uib-0.14.x
Browse files Browse the repository at this point in the history
Added `uib` prefix for UI Bootstrap elements (for v0.14.0+)
  • Loading branch information
rpocklin committed Oct 14, 2015
2 parents d325b2c + c7dc84b commit 35004b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"dependencies": {
"angular": "^1.3.15",
"angular-bootstrap": "^0.13.0",
"angular-bootstrap": "^0.14.0",
"angular-ui-router": "^0.2.14"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/ui-router-tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ angular.module('ui.router.tabs').directive(
}]
).run(
['$templateCache', function($templateCache) {
var DEFAULT_TEMPLATE = '<div><tabset class="tab-container" type="{{type}}" vertical="{{vertical}}" ' +
'justified="{{justified}}">' + '<tab class="tab" ng-repeat="tab in tabs" heading="{{tab.heading}}" ' +
var DEFAULT_TEMPLATE = '<div><uib-tabset class="tab-container" type="{{type}}" vertical="{{vertical}}" ' +
'justified="{{justified}}">' + '<uib-tab class="tab" ng-repeat="tab in tabs" heading="{{tab.heading}}" ' +
'active="tab.active" disable="tab.disable" ng-click="go(tab)">' +
'</tab></tabset></div>';
'</uib-tab></uib-tabset></div>';

$templateCache.put('ui-router-tabs-default-template.html', DEFAULT_TEMPLATE);
}]
Expand Down

0 comments on commit 35004b9

Please sign in to comment.