forked from flatpickr/flatpickr
-
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.
* documentClick - dont preventDefault() * v3 * Expose util methods for plugins * Create ignoredFocusElements option to circumvent documentClick * open() - allow specifying positionElement() * updateValue() - enforce triggerChange opt when updating value * Create rangePlugin resolves flatpickr#584 * v3 * build * rangePlugin - ensure clear() works * Create onDestroy() hook for plugins * rangePlugin - handle destroy() * build * rangePlugin - force-set allowInput * Move rangePlugin to a file vs folder * mv rangePlugin * rangePlugin - fix defaultDate behavior resolves flatpickr#872 * build * build * rangePlugin - focus on corresponding date on open * build * Add .npmignore * Slightly decrease day size flatpickr#874 * v3.0.1 * build * fix failing timestamp test due to timezone * Add check for onDestroy() * build * update .npmignore * v3.0.2 * Update license * Add eslintrc * cleanup spec * eslint-plugin-jest * 3.0.3 * v3.0.3 * build
- Loading branch information
Showing
25 changed files
with
508 additions
and
259 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,71 @@ | ||
{ | ||
"rules": { | ||
"brace-style": [ | ||
"error", | ||
"stroustrup" | ||
], | ||
"space-in-parens": 1, | ||
"max-len": [ | ||
"error", | ||
95, | ||
{ | ||
"ignoreRegExpLiterals": true, | ||
"ignoreComments": true, | ||
"ignoreStrings": true | ||
} | ||
], | ||
"no-extra-bind": 2, | ||
"no-eq-null": 1, | ||
"no-unreachable": 2, | ||
"comma-dangle": [ | ||
"error", | ||
"only-multiline" | ||
], | ||
"quotes": [ | ||
"error", | ||
"double" | ||
], | ||
"space-infix-ops": "warn", | ||
"no-prototype-builtins": "warn", | ||
"no-invalid-regexp": 1, | ||
"no-duplicate-case": 2, | ||
"no-redeclare": 2, | ||
"no-constant-condition": 2, | ||
"no-undef": "warn", | ||
"no-extra-semi": 2, | ||
"no-dupe-keys": 2, | ||
"indent": [ | ||
"error", | ||
"tab", | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"no-caller": 2, | ||
"curly": [ | ||
"warn", | ||
"multi-or-nest" | ||
], | ||
"no-global-assign": "warn", | ||
"no-extra-boolean-cast": 1, | ||
"no-ex-assign": 2, | ||
"no-unused-expressions": "warn", | ||
"no-mixed-spaces-and-tabs": 2, | ||
"no-unsafe-negation": "warn", | ||
"valid-typeof": 2, | ||
"no-sparse-arrays": 2, | ||
"no-fallthrough": 2 | ||
}, | ||
"parser": "babel-eslint", | ||
"env": { | ||
"jquery": true, | ||
"es6": true, | ||
"commonjs": true, | ||
"browser": true, | ||
"jest": true | ||
}, | ||
"plugins": [ | ||
"flowtype", | ||
"jest" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
* | ||
!LICENSE.md | ||
!dist | ||
!dist/**/* | ||
!src | ||
!src/**/* |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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.