socketio-file-upload
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -39,2 +39,5 @@ /* | ||
} | ||
else if (typeof module === 'object' && module.exports) { | ||
module.exports = factory(); | ||
} | ||
else { | ||
@@ -41,0 +44,0 @@ scope[name] = factory(); |
@@ -0,0 +0,0 @@ /* Socket IO File Upload Client-Side Library |
{ | ||
"name": "socketio-file-upload", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Uploads files to a Node.JS server using Socket.IO", | ||
@@ -20,2 +20,3 @@ "keywords": [ | ||
"main": "server.js", | ||
"browser": "client.js", | ||
"repository": { | ||
@@ -22,0 +23,0 @@ "type": "git", |
@@ -43,2 +43,8 @@ Socket.IO File Upload | ||
If you use browserify, just require it like this: | ||
```javascript | ||
var SocketIOFileUpload = require('socketio-file-upload'); | ||
``` | ||
The module also supports AMD; see the docs below for more information. | ||
@@ -45,0 +51,0 @@ |
@@ -0,0 +0,0 @@ /* |
55717
884
601