-
Notifications
You must be signed in to change notification settings - Fork 261
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
Showing
11 changed files
with
39 additions
and
24 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
/node_modules | ||
npm-debug.log |
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,3 @@ | ||
[submodule "test/qunit"] | ||
path = test/qunit | ||
url = git@github.com:jquery/qunit.git | ||
url = https://github.com/jquery/qunit.git |
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 @@ | ||
language: node_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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ Yay, you're interested in helping this thing suck less. Good for you! | |
Some things you should be familiar with before getting started | ||
|
||
- Unit testing (with [QUnit](http://qunitjs.com)) | ||
- [Grunt](http://gruntjs.org) (available via `npm install -g grunt-cli`) | ||
- [Grunt](http://gruntjs.org) | ||
- [Node/NPM](https://npmjs.org/) (available via homebrew) | ||
|
||
## Project Layout | ||
|
@@ -17,15 +17,15 @@ Some things you should be familiar with before getting started | |
|
||
## Development | ||
|
||
Once you have NPM and Grunt installed, clone the repository (with `--recursive` to also clone all submodules) and install all dependencies | ||
Once you have npm installed, clone the repository (with `--recursive` to also clone all submodules) and install all dependencies | ||
|
||
git clone [email protected] --recursive | ||
cd hidpi-canvas-polyfill | ||
npm install | ||
|
||
Then to build a distribution run this grunt task | ||
Then to build a distribution run | ||
|
||
grunt dist | ||
npm run build | ||
|
||
This will generate the compiled (and minified) sourc in your `dist/` directory | ||
along with a distributable zip archive. | ||
|
@@ -35,7 +35,7 @@ need to re-run this command. | |
|
||
You can also use | ||
|
||
grunt watch | ||
npm run watch | ||
|
||
to automatically reconcat the unminified file everytime you | ||
change any of the `src/**/*.js` files. | ||
|
@@ -49,7 +49,7 @@ sure to organize and produce tests that fit the patterns present. | |
|
||
### Running Tests | ||
|
||
grunt test | ||
npm test | ||
|
||
## On Contribution | ||
|
||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "hidpi-canvas", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"homepage": "https://github.com/jondavidjohn/hidpi-canvas-polyfill", | ||
"authors": [ | ||
"Jonathan Johnson <[email protected]>" | ||
|
@@ -13,7 +13,7 @@ | |
"polyfill" | ||
], | ||
"main": "dist/hidpi-canvas.js", | ||
"license": "Apache 2.0", | ||
"license": "Apache-2.0", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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