generated from phucbm/gulp-boilerplate
-
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.
* ♻️ refactor with webpack * ♻️ change src to web * split to small modules * build config * create module helpers.js * update version * update output banner * allow collapse all for slide animation only * getElements: return receivers and triggers * add active class for triggers * style demos * add setCSS using Object.assign * adjust tabs styling * correct fade animation * destroy * add helper getIdByIndex * create module slide.js * create module fade.js * update function descriptions * clean up hash module * add method update * add init events * add utils debounce * update slide resize * demo: hide update button * utils: add arrayUnique * destroySlide: add removeActiveClass * core: defaultActiveSections and allowExpandAll * create responsive module * utils: add arraySortInteger * responsive: restrict validBreakpoints * core: create fn initialize * destroy: remove all events from triggers by cloning itself * core: remove log * core: rename receiver_ids to dataset * core: add method init * core: restrict defaultActiveSections * ⚡ build v2.0.0 * update README.md * update CHANGELOG.md
- Loading branch information
Showing
43 changed files
with
1,908 additions
and
851 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,8 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-proposal-class-properties" | ||
] | ||
} |
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,48 @@ | ||
{ | ||
"rules": { | ||
"prefer-template": "off", | ||
"no-var": 1, | ||
"no-unused-vars": 1, | ||
"camelcase": 1, | ||
"no-nested-ternary": 1, | ||
"no-console": 1, | ||
"no-template-curly-in-string": 1, | ||
"no-self-compare": 1, | ||
"import/prefer-default-export": 0, | ||
"arrow-body-style": 1, | ||
"import/no-extraneous-dependencies": [ | ||
"off", | ||
{ | ||
"devDependencies": false | ||
} | ||
] | ||
}, | ||
"ignorePatterns": [ | ||
"dist", | ||
"node_modules", | ||
"webpack.*", | ||
"config/paths.js" | ||
], | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"prettier" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 2021, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"prettier" | ||
], | ||
"settings": { | ||
"import/resolver": { | ||
"webpack": { | ||
"config": "config/webpack.common.js" | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/package-lock.json | ||
/node_modules/ | ||
/.idea/ | ||
/package-lock.json |
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,11 @@ | ||
.idea | ||
.gitignore | ||
.babelrc.json | ||
.eslintrc.json | ||
.prettierrc.json | ||
jsconfig.json | ||
/src | ||
/examples | ||
/config | ||
/public | ||
postcss.config.js |
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,7 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"printWidth": 100, | ||
"semi": false | ||
} |
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.