-
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.
- Loading branch information
0 parents
commit b463e1e
Showing
318 changed files
with
107,953 additions
and
0 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,13 @@ | ||
{ | ||
"presets": [[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"ie": "9" | ||
} | ||
} | ||
], "@babel/preset-flow"], | ||
"plugins": [ | ||
"add-module-exports" | ||
] | ||
} |
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,17 @@ | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
indent_style = space | ||
indent_size = 4 | ||
|
||
[{*.yml,package.json}] | ||
# The indent size used in the `package.json` file cannot be changed | ||
# https://github.com/npm/npm/pull/3180#issuecomment-16336516 | ||
indent_size = 2 |
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,26 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"extends": [ | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier" | ||
], | ||
"parserOptions": { | ||
"project": "./tsconfig.json", | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"prettier" | ||
], | ||
"rules": { | ||
"no-console": ["error", { "allow": ["warn", "error"] }], | ||
"@typescript-eslint/explicit-member-accessibility": ["error", {"accessibility": "no-public"}], | ||
"@typescript-eslint/interface-name-prefix": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"@typescript-eslint/class-name-casing": "off", | ||
"prettier/prettier": "error" | ||
} | ||
} |
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,19 @@ | ||
Please make sure you are testing with the latest [release of html2canvas](https://github.com/niklasvh/html2canvas/releases). | ||
Old versions are not supported and issues reported for them will be closed. | ||
|
||
# Please follow the general troubleshooting steps first: | ||
|
||
- [ ] You are using the latest [version](https://github.com/niklasvh/html2canvas/releases) | ||
- [ ] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console | ||
|
||
<!-- You can erase any parts of this template not applicable to your Issue. --> | ||
|
||
### Bug reports: | ||
|
||
Please replace this line with a brief summary of your issue **AND** if possible an example on [jsfiddle](https://jsfiddle.net/). | ||
|
||
### Specifications: | ||
|
||
* html2canvas version tested with: | ||
* Browser & version: | ||
* Operating system: |
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,37 @@ | ||
A similar PR may already be submitted! | ||
Please search among the [Pull request](https://github.com/niklasvh/html2canvas/pulls) before creating one. | ||
|
||
Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: | ||
|
||
Before opening a pull request, please make sure all the tests pass locally by running `npm test`. | ||
|
||
**Summary** | ||
|
||
<!-- Summary of the PR --> | ||
|
||
This PR fixes/implements the following **bugs/features** | ||
|
||
* [ ] Bug 1 | ||
* [ ] Bug 2 | ||
* [ ] Feature 1 | ||
* [ ] Feature 2 | ||
* [ ] Breaking changes | ||
|
||
<!-- You can skip this if you're fixing a typo or adding an app to the Showcase. --> | ||
|
||
Explain the **motivation** for making this change. What existing problem does the pull request solve? | ||
|
||
<!-- Example: When "Adding a function to do X", explain why it is necessary to have a way to do X. --> | ||
|
||
**Test plan (required)** | ||
|
||
Demonstrate how the issue/feature can be replicated. For most cases, simply adding an appropriate html/css template into the [reftests](https://github.com/niklasvh/html2canvas/tree/master/tests/reftests) should be sufficient. Please see other tests there for reference. | ||
|
||
**Code formatting** | ||
|
||
Please make sure that code adheres to the project code formatting. Running `npm run format` will automatically format your code correctly. | ||
|
||
**Closing issues** | ||
|
||
<!-- Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). --> | ||
Fixes # |
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,13 @@ | ||
# Configuration for probot-no-response - https://github.com/probot/no-response | ||
|
||
# Number of days of inactivity before an Issue is closed for lack of response | ||
daysUntilClose: 14 | ||
# Label requiring a response | ||
responseRequiredLabel: Needs More Information | ||
# Comment to post when closing an Issue for lack of response. Set to `false` to disable | ||
closeComment: > | ||
This issue has been automatically closed because there has been no response | ||
to our request for more information from the original author. With only the | ||
information that is currently in the issue, we don't have enough information | ||
to take action. Please reach out if you have or find the answers we need so | ||
that we can investigate further. |
Oops, something went wrong.