Socket
Socket
Sign inDemoInstall

angular-ui-router-tabs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-ui-router-tabs - npm Package Compare versions

Comparing version 1.5.1 to 1.6.0

2

bower.json
{
"name": "angular-ui-router-tabs",
"version": "1.5.0",
"version": "1.6.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "src/ui-router-tabs.js",

@@ -9,3 +9,3 @@ {

"type": "git",
"url": "http://github.com/rpocklin/ui-router-tabs"
"url": "http://github.com/rpocklin/ui-router-tabs.git"
},

@@ -15,3 +15,3 @@ "keywords": [

],
"version": "1.5.1",
"version": "1.6.0",
"license": "MIT",

@@ -43,7 +43,3 @@ "devDependencies": {

"test": "grunt karma"
},
"repository": {
"type": "git",
"url": "http://github.com/npm/npm.git"
}
}

@@ -103,2 +103,3 @@ # UI Router Tabs

## History
* 1.6.0 Renamed `disabled` attribute to `disable` in line with UI Bootstrap `<tab>`. See [#39](/../../issues/39).
* 1.5.1 Removed `bower_components` from repository. See [#40](/../../pull/40).

@@ -105,0 +106,0 @@ * 1.5.0 Bumped `angular-bootstrap` dependency to v0.13.0 (fixes default tab being auto-selected).

@@ -20,2 +20,7 @@ 'use strict';

// Common.js package manager support (e.g. ComponentJS, WebPack)
if (typeof module !== 'undefined' && typeof exports !== 'undefined' && module.exports === exports) {
module.exports = 'ui.router.tabs';
}
angular.module('ui.router.tabs', []);

@@ -67,3 +72,3 @@ angular.module('ui.router.tabs').directive(

if (!currentStateEqualTo(tab) && !tab.disabled) {
if (!currentStateEqualTo(tab) && !tab.disable) {
$state.go(tab.route, tab.params, tab.options);

@@ -103,3 +108,3 @@ }

'justified="{{justified}}">' + '<tab class="tab" ng-repeat="tab in tabs" heading="{{tab.heading}}" ' +
'active="tab.active" disable="tab.disabled" ng-click="go(tab)">' +
'active="tab.active" disable="tab.disable" ng-click="go(tab)">' +
'</tab></tabset></div>';

@@ -106,0 +111,0 @@

@@ -284,3 +284,3 @@ 'use strict';

scope.tabConfiguration[0].disabled = true;
scope.tabConfiguration[0].disable = true;
$ngView.find('a').eq(0).click();

@@ -287,0 +287,0 @@ scope.$apply();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc