Comparing version 0.0.4 to 0.0.5
@@ -15,1 +15,2 @@ | ||
* Initial implementation of `ESToolbox/Router` component using TDD methodology. | ||
* Addition of `ESToolbox/Affix` component extracted from existing project. |
@@ -21,3 +21,3 @@ | ||
Linting support provided by [ESLint](http://eslint.org/) based on rules defined in `.eslintrc.yml`. | ||
Javascript linting support provided by [ESLint](http://eslint.org/) based on rules defined in `.eslintrc.yml` and Sass linting support provided by [Sass Lint](https://www.npmjs.com/package/sass-lint) based on rules defined in `.sass-lint.yml` | ||
@@ -24,0 +24,0 @@ ```bash |
{ | ||
"name": "estoolbox", | ||
"description": "A collection of libraries intended to augment the development of ES2015 targeted applications.", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "./src/main.js", | ||
"scripts": { | ||
"test": "npm run test:lint && npm run test:unit", | ||
"test:lint": "eslint --config=\"./.eslintrc.yml\" src/ spec/", | ||
"test:lint": "eslint --config=\"./.eslintrc.yml\" src/ spec/ && sass-lint --verbose -c .sass-lint.yml", | ||
"test:unit": "karma start" | ||
@@ -29,4 +29,8 @@ }, | ||
"phantom-jasmine": "^0.3.0", | ||
"sass-lint": "^1.9.1", | ||
"webpack": "^1.13.2" | ||
}, | ||
"dependencies": { | ||
"jquery": "^3.1.1" | ||
} | ||
} |
# [ESToolbox](https://dbtedman.github.io/estoolbox/) `v0.0.4` [![Build Status](https://travis-ci.org/dbtedman/estoolbox.svg?branch=master)](https://travis-ci.org/dbtedman/estoolbox) [![NPM Version](https://img.shields.io/npm/v/estoolbox.svg)](https://www.npmjs.com/package/estoolbox) | ||
# [ESToolbox](https://dbtedman.github.io/estoolbox/) `v0.0.5` [![Build Status](https://travis-ci.org/dbtedman/estoolbox.svg?branch=master)](https://travis-ci.org/dbtedman/estoolbox) [![NPM Version](https://img.shields.io/npm/v/estoolbox.svg)](https://www.npmjs.com/package/estoolbox) | ||
@@ -20,3 +20,30 @@ A collection of libraries intended to augment the development of ES2015 targeted applications. | ||
### [Affix](src/affix.js) | ||
Provides the ability to affix content to the top of the window on scroll. | ||
```javascript | ||
import Affix from "estoolbox/affix"; | ||
Affix.top(".top-nav", ".content"); | ||
``` | ||
```scss | ||
@import "estoolbox/affix"; | ||
.my-nav { | ||
@include affix(); | ||
height: 300px; | ||
} | ||
.my-content { | ||
@include affix-buffer(300px); | ||
} | ||
``` | ||
### [Router](src/router.js) | ||
Provides the ability to perform actions based on changes in the URL hash. | ||
```javascript | ||
import Router from "estoolbox/router"; | ||
@@ -23,0 +50,0 @@ |
@@ -37,4 +37,4 @@ import Router from "../src/router"; | ||
}); | ||
}, 100); | ||
}, 10); | ||
}); | ||
}); |
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
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
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
137180
37
191
64
1
14
+ Addedjquery@^3.1.1
+ Addedjquery@3.7.1(transitive)