Socket
Socket
Sign inDemoInstall

curvy-tabs

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curvy-tabs - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

test

4

index.js

@@ -108,3 +108,3 @@ /* eslint-env browser */

if (!tab) {
throw new ReferenceError('Cannot find specified tab: ' + indexOrName);
throw new ReferenceError('Cannot find specified tab: ' + idxOrNamOrEl);
}

@@ -405,4 +405,4 @@ }

CurvyTabs.version = '2.3.1';
CurvyTabs.version = '2.3.2';
module.exports = CurvyTabs;
{
"name": "curvy-tabs",
"version": "2.3.1",
"version": "2.3.2",
"description": "Tab bar with fancy tabs",
"main": "index.js",
"scripts": {
"build": "echo '(function(){' >build/curvy-tabs.js; sed 's/module.exports =/window.CurvyTabs =/' index.js >>build/curvy-tabs.js; echo '})();' >>build/curvy-tabs.js; uglifyjs build/curvy-tabs.js -cmo build/curvy-tabs.min.js; ls -lahL build",
"build": "sh build.sh",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -9,0 +9,0 @@ },

@@ -16,3 +16,3 @@ See the [demo](https://joneit.github.io/curvy-tabs/2.1.1).

```js
var CurvyTabs = require('curvy-tab');
var CurvyTabs = require('curvy-tabs');
```

@@ -26,6 +26,2 @@ From CDN:

#### `CurvyTabs.version` static property
Contains the version string `2.1.0` (major.minor.patch with no leading `v`).
#### `CurvyTabs` constructor

@@ -36,3 +32,3 @@

var container = document.querySelector('.curvy-tabs-container'); // or whatever
var tabBar = new CurvyTabs(container); // 1st parameter is required
var tabBar = new CurvyTabs(container, selectedContentElement); // 1st param required, 2nd optional
tabBar.paint();

@@ -50,2 +46,6 @@ ```

#### `CurvyTabs.version` static property
Contains the version string `2.3.2` (major.minor.patch of current version, with no leading `v`).
#### `CurvyTabs.prototype.getTab(idxOrNamOrEl)` method

@@ -276,5 +276,9 @@

## See Also
* `curvy-tabs-pager` ([npm](https://npmjs.org/package/curvy-tabs), [github](https://github.com/joneit/curvy-tabs-pager)) which implements paged content for curvy-tab bars.
* `curvy-tabs-pager` ([npm](https://npmjs.org/package/curvy-tabs-pager), [github](https://github.com/joneit/curvy-tabs-pager)) which implements paged content for curvy-tab bars.
## Version History
See [version-history.md](version-history.md
* `2.3.2`
* Fix `catch` that was itself was throwing error (in `getTab` on unknown tab)
* Improved build
* `2.3.1`

@@ -281,0 +285,0 @@ * Bump `CurvyTabs.version`

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