-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add package.json and get ready to make NPM package.
- Loading branch information
Showing
5 changed files
with
52 additions
and
38 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
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,9 +1,25 @@ | ||
# NonBlock.js | ||
|
||
Nonblocking UI elements in JavaScript. | ||
|
||
# Usage | ||
* Include NonBlock.css and NonBlock.js. | ||
* Add the class "nonblock" to any element you want nonblocking enabled for. | ||
## Installation | ||
|
||
Install via NPM with: | ||
|
||
```sh | ||
npm install --save nonblockjs | ||
``` | ||
|
||
Include `NonBlock.css` and `NonBlock.js` in your page. | ||
|
||
## Usage | ||
|
||
Add the class `nonblock` to any element you want to make nonblocking. | ||
|
||
## Demos | ||
|
||
https://sciactive.github.io/nonblockjs/ | ||
|
||
## Author | ||
|
||
# Author | ||
NonBlock.js was written by Hunter Perrin as part of [PNotify](https://github.com/sciactive/pnotify). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "nonblockjs", | ||
"version": "1.0.0", | ||
"description": "Nonblocking UI elements in JavaScript.", | ||
"keywords": [ | ||
"non blocking", | ||
"nonblocking", | ||
"unintrusive" | ||
], | ||
"homepage": "https://github.com/sciactive/nonblockjs", | ||
"bugs": { | ||
"url": "https://github.com/sciactive/nonblockjs/issues" | ||
}, | ||
"license": "Apache-2.0", | ||
"author": "Hunter Perrin", | ||
"files": [ | ||
"NonBlock.css", | ||
"NonBlock.js" | ||
], | ||
"main": "NonBlock.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/sciactive/nonblockjs.git" | ||
}, | ||
"dependencies": {} | ||
} |