Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
fix(tabs): make deprecated controller work with 1.3.x
Browse files Browse the repository at this point in the history
Closes #4583
  • Loading branch information
Foxandxss authored and wesleycho committed Oct 11, 2015
1 parent ce1114a commit 685bd6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tabs/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ angular.module('ui.bootstrap.tabs')
$log.warn('TabsetController is now deprecated. Use UibTabsetController instead.');
}

return $controller('UibTabsetController', {
angular.extend(this, $controller('UibTabsetController', {
$scope: $scope
});
}));
}])

.directive('tabset', ['$log', '$tabsSuppressWarning', function($log, $tabsSuppressWarning) {
Expand Down

0 comments on commit 685bd6a

Please sign in to comment.