Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions dropit.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
/*
* Dropit v1.1.0
* Dropit v1.1.1
* http://dev7studios.com/dropit
*
* Copyright 2012, Dev7studios
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/

;(function($) {
;(function (factory) {
if (typeof module === 'object' && module.exports) {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Browser globals
factory(jQuery);
}
}(function ($) {

$.fn.dropit = function(method) {

Expand Down Expand Up @@ -94,4 +102,9 @@

$.fn.dropit.settings = {};

})(jQuery);
return {
name: 'dropit',
version: '1.1.1'
};

}));
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "dropit",
"version": "1.1.1",
"description": "Stupidly Simple jQuery Dropdowns",
"main": "dropit.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gilbitron/Dropit.git"
},
"author": "Dev7studios",
"license": "MIT",
"bugs": {
"url": "https://github.com/gilbitron/Dropit/issues"
},
"homepage": "http://dev7studios.com/dropit/",
"dependencies": {
"jquery": ">=1.8.0"
}
}