forked from michalsnik/aos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request michalsnik#25 from michalsnik/2.0.0-dev
2.0.0 version
- Loading branch information
Showing
40 changed files
with
1,185 additions
and
1,546 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["es2015"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Change Log | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
- Add new CHANGELOG | ||
- Add contribution guide | ||
- Add emojis in README | ||
- Add map file for styles | ||
|
||
### Changed | ||
- Make `data-aos` attributes the default and only proper ones | ||
- Use maps and loops in Sass | ||
- Replace gulp with webpack | ||
- Rewrite Karma config and use webpack to bundle tests | ||
- Upgrade to ES6 | ||
- Update documentation | ||
- Update demos | ||
|
||
### Removed | ||
- Remove `aos` attributes | ||
- Remove gulp from build tools | ||
|
||
### Fixed | ||
- Improve animations performance | ||
- Fix styles loading in tests | ||
|
||
## [1.2.2] | ||
### Fixed | ||
- Fix AOS refreshing on asynchronously loaded elements | ||
|
||
## [1.2.1] | ||
### Fixed | ||
- Fix problem with using AOS as node package by setting main file in package.json | ||
|
||
## [1.2.0] | ||
### Added | ||
- Add compatibility with module systems | ||
|
||
### Fixed | ||
- Fix AOS initializing when DOM is already loaded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Contributing to AOS | ||
|
||
## Bugs | ||
|
||
Found a bug? Have a problem with AOS? Please check past issues, maybe someone already had that problem. If you don't find similar issue create new, but remember to add accurate informations so that I can dig into it straight away. If it's possible add CodePen example that presents called issue. | ||
|
||
## Development process | ||
|
||
AOS is built using webpack. | ||
|
||
### Setup | ||
|
||
- Install all dependencies: | ||
|
||
``` | ||
npm install | ||
``` | ||
|
||
- Run dev server: | ||
|
||
``` | ||
npm run dev | ||
``` | ||
|
||
This will run local webpack-dev-server and build AOS automatically. | ||
|
||
- Open browser and head to: | ||
[http://localhost:8080/webpack-dev-server/](http://localhost:8080/webpack-dev-server/) | ||
Server loads content from `demo` folder. | ||
|
||
Now you are ready to play with AOS. Browser should reload automatically as you change code in `src` folder. | ||
|
||
### Testing | ||
|
||
Before you create Pull Request make sure all tests are passing. | ||
|
||
In order to do so run: | ||
``` | ||
npm test | ||
``` | ||
|
||
### Commiting changes | ||
|
||
If all tests are passing then you're good to go. Commit your changes, but remember to **not commit `dist` folder**. | ||
Create well described Pull Request with as many informations as possible and wait for my answer :) I'd be happy to make a code review and put some thougths. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.