Skip to content

Commit

Permalink
Merge pull request #14 from JB1905/v2-cdn-fix
Browse files Browse the repository at this point in the history
V2 cdn fix
  • Loading branch information
JB1905 authored Mar 21, 2019
2 parents 3200c47 + 6abf579 commit 03abc49
Show file tree
Hide file tree
Showing 10 changed files with 866 additions and 460 deletions.
9 changes: 8 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"presets": ["@babel/preset-env"],
"presets": [
[
"@babel/preset-env",
{
"modules": "commonjs"
}
]
],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

### [CHANGELOG.md for v1 here](https://github.com/JB1905/parlx.js/blob/v1/CHANGELOG.md)

## 2.0.1 / 2.0.2 / 2.0.3 (2019-03-21)
#### Bug Fix
- fixed CDN undefined bug

## 2.0.0 beta 3 / 2.0.0 (2019-03-06)
#### Bug Fix
- auto init is active only if element with `data-parlx` exists
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you use React, install component with the implementation of the parlx.js libr
**[More here](https://github.com/JB1905/react-parlx/)**

## How to Install
At the beginning install the library in your project via npm:
First, install the library in your project by npm:
```bash
$ npm install parlx.js
```
Expand Down
43 changes: 37 additions & 6 deletions lib/parlx.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/parlx.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/parlx.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parlx.js",
"version": "2.0.0",
"version": "2.0.3",
"description": "Parallax scroll effect library",
"author": "Jakub Biesiada",
"license": "MIT",
Expand Down Expand Up @@ -34,19 +34,19 @@
},
"homepage": "https://github.com/JB1905/parlx.js#readme",
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/preset-env": "^7.3.1",
"@babel/core": "^7.4.0",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"eslint": "^5.13.0",
"eslint-config-prettier": "^4.0.0",
"eslint": "^5.15.3",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"gh-pages": "^2.0.1",
"jest": "^24.1.0",
"jest": "^24.5.0",
"jquery": "^3.3.1",
"prettier": "^1.16.4",
"webpack": "^4.29.3",
"webpack-cli": "^3.2.3"
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
}
}
5 changes: 5 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Parlx from './parlx';

export default Parlx;
exports['default'] = Parlx;
module.exports = exports['default'];
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = env => {

return {
mode,
entry: `${__dirname}/src/${libraryName}.js`,
entry: `${__dirname}/src/index.js`,
devtool,
output: {
path: `${__dirname}/lib`,
Expand Down
Loading

0 comments on commit 03abc49

Please sign in to comment.