Skip to content

Commit

Permalink
Add package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Mar 20, 2015
1 parent 316f6e5 commit 1d66074
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jquery.blockUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,14 @@


/*global define:true */
if (typeof define === 'function' && define.amd && define.amd.jQuery) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], setup);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = setup(require('jquery'));
} else {
// Browser globals
setup(jQuery);
}

Expand Down
42 changes: 42 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "blockUI",
"description": "Simulate synchronous ajax by blocking - not locking - the UI. This plugin lets you block user interaction with the page or with a specific element on the page. Also great at displaying modal dialogs.",
"version": "2.70.0",
"author": {
"name": "M. Alsup",
"url": "http://jquery.malsup.com"
},
"bugs": {
"url": "https://github.com/malsup/blockui/issues"
},
"homepage": "http://jquery.malsup.com/block/",
"keywords": [
"block",
"dialog",
"ecosystem:jquery",
"jquery-plugin",
"modal",
"overlay"
],
"license": [
{
"type": "MIT",
"url": "http://malsup.github.com/mit-license.txt"
},
{
"type": "GPL",
"url": "http://malsup.github.com/gpl-license-v2.txt"
}
],
"main": "jquery.blockUI.js",
"peerDependencies": {
"jquery": ">=1.7.x"
},
"repository": {
"type": "git",
"url": "https://github.com/malsup/blockui.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}

0 comments on commit 1d66074

Please sign in to comment.