Comparing version 2.6.0 to 2.7.1
@@ -15,2 +15,11 @@ # Changelog | ||
## v2.7.1 - February 18, 2015 | ||
* Fixed package.json | ||
## v2.7.0 - February 11, 2015 | ||
* Add `activeClass` setting for custom styles | ||
* Add `__focused-section` when a section is scrolled to | ||
## v2.6.0 - February 19, 2015 | ||
@@ -17,0 +26,0 @@ |
{ | ||
"name": "scrollnav", | ||
"version": "2.6.0", | ||
"version": "2.7.1", | ||
"title": "scrollNav", | ||
@@ -24,3 +24,6 @@ "author": { | ||
}, | ||
"main": "./dist/jquery.scrollNav.min.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"main": "dist/jquery.scrollNav.min.js", | ||
"bugs": "https://github.com/jimmynotjim/scrollNav/issues", | ||
@@ -51,2 +54,2 @@ "licenses": [ | ||
} | ||
} | ||
} |
@@ -157,2 +157,3 @@ [![build status](https://secure.travis-ci.org/jimmynotjim/scrollNav.png?branch=master)](http://travis-ci.org/jimmynotjim/scrollNav.js) | ||
insertLocation: 'insertBefore', | ||
activeClass: 'active', | ||
arrowKeys: false, | ||
@@ -226,2 +227,6 @@ scrollToHash: true, | ||
### Active Class | ||
By default, scrollNav will use the class `".active"` to indicate which nav item is currently in view. If you need a different class name, add it here. | ||
### Scroll to hash | ||
@@ -233,3 +238,3 @@ | ||
There are three new callback functions that you can utilize to accomodate anything you need to run after specific scrollNav events. They are `onInit`, `onRender`, and `onDestroy`. Add them to your options just like any other and they should look like this: | ||
There are three new callback functions that you can utilize to accommodate anything you need to run after specific scrollNav events. They are `onInit`, `onRender`, and `onDestroy`. Add them to your options just like any other and they should look like this: | ||
@@ -258,3 +263,3 @@ ``` | ||
Latest stable version is v2.6.0. Make sure to view [the changelog][15] before updating, v2 is a complete re-write of the plugin. | ||
Latest stable version is v2.7.1. Make sure to view [the changelog][15] before updating, v2 is a complete re-write of the plugin. | ||
@@ -292,4 +297,5 @@ ## Testing | ||
* [MeghdadHadidi (@MeghdadHadidi)][13] | ||
* [Marc Amos (@marcams)][23] | ||
* [Marc Amos (@marcamos)][23] | ||
* [Felix Borzik (@Borzik)][24] | ||
* [Masud Rahman (@frutiger)][25] | ||
@@ -320,4 +326,2 @@ [1]: http://scrollnav.com | ||
[24]: http://github.com/borzik | ||
[25]: http://github.com/frutiger |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
322
39881
5
372
2