Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

repackaged with each global as its own module

  • Loading branch information...
commit 1cd35098a68d8f87da58cf3671781a8017ca3f4b 1 parent f19fe96
@coolaj86 authored
View
5 lib/Blob/Blob.js
@@ -0,0 +1,5 @@
+//
+// Blob
+//
+// http://www.w3.org/TR/FileAPI/#dfn-Blob
+// TODO
View
12 lib/Blob/package.json
@@ -0,0 +1,12 @@
+{
+ "name" : "Blob",
+ "description" : "HTML5 FileAPI `Blob` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "Blob"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ },
+ "main" : "Blob.js",
+ "version" : "0.10.0"
+}
View
5 lib/BlobBuilder/BlobBuilder.js
@@ -0,0 +1,5 @@
+//
+// BlobBuilder
+//
+// http://www.w3.org/TR/file-writer-api/#idl-def-BlobBuilder
+// TODO
View
12 lib/BlobBuilder/package.json
@@ -0,0 +1,12 @@
+{
+ "name" : "BlobBuilder",
+ "description" : "HTML5 FileAPI `BlobBuilder` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "BlobBuilder"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ },
+ "main" : "BlobBuilder.js",
+ "version" : "0.10.0"
+}
View
3  lib/file.js → lib/File/File.js
@@ -3,7 +3,6 @@
//
// http://www.w3.org/TR/FileAPI/#dfn-file
// https://developer.mozilla.org/en/DOM/File
-var provide = provide || function () {};
(function () {
"use strict";
@@ -60,6 +59,4 @@ var provide = provide || function () {};
}
module.exports = File;
-
- provide('file-api/file');
}());
View
13 lib/File/package.json
@@ -0,0 +1,13 @@
+{
+ "name" : "File",
+ "description" : "HTML5 FileAPI `File` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "file"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ "mime": ">= 0.0.0"
+ },
+ "main" : "File.js",
+ "version" : "0.10.0"
+}
View
0  lib/file-error.js → lib/FileError/FileError.js
File renamed without changes
View
12 lib/FileError/package.json
@@ -0,0 +1,12 @@
+{
+ "name" : "FileError",
+ "description" : "HTML5 FileAPI `FileError` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "FileError"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ },
+ "main" : "FileError.js",
+ "version" : "0.10.0"
+}
View
3  lib/file-list.js → lib/FileList/FileList.js
@@ -3,7 +3,6 @@
//
// http://www.w3.org/TR/FileAPI/#dfn-filelist
// https://developer.mozilla.org/en/DOM/FileList
-var provide = provide || function () {};
(function () {
"use strict";
@@ -34,6 +33,4 @@ var provide = provide || function () {};
};
module.exports = FileList;
-
- provide('file-api/file-list');
}());
View
12 lib/FileList/package.json
@@ -0,0 +1,12 @@
+{
+ "name" : "FileList",
+ "description" : "HTML5 FileAPI `FileList` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "FileList"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ },
+ "main" : "FileList.js",
+ "version" : "0.10.0"
+}
View
3  lib/file-reader.js → lib/FileReader/FileReader.js
@@ -3,7 +3,6 @@
//
// http://www.w3.org/TR/FileAPI/#dfn-filereader
// https://developer.mozilla.org/en/DOM/FileReader
-var provide = provide || function () {};
(function () {
"use strict";
@@ -294,6 +293,4 @@ var provide = provide || function () {};
}
module.exports = FileReader;
-
- provide('file-api/file-list');
}());
View
13 lib/FileReader/package.json
@@ -0,0 +1,13 @@
+{
+ "name" : "FileReader",
+ "description" : "HTML5 FileAPI `FileReader` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "FileReader"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ "noop": ">= 0.0.0"
+ },
+ "main" : "FileReader.js",
+ "version" : "0.10.0"
+}
View
5 lib/FileSaver/FileSaver.js
@@ -0,0 +1,5 @@
+//
+// FileSaver
+//
+// http://www.w3.org/TR/file-writer-api/#idl-def-FileSaver
+// TODO
View
12 lib/FileSaver/package.json
@@ -0,0 +1,12 @@
+{
+ "name" : "FileSaver",
+ "description" : "HTML5 FileAPI `FileSaver` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "FileSaver"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ },
+ "main" : "FileSaver.js",
+ "version" : "0.10.0"
+}
View
5 lib/FileWriter/FileWriter.js
@@ -0,0 +1,5 @@
+//
+// FileWriter
+//
+// http://www.w3.org/TR/file-writer-api/#idl-def-FileWriter
+// TODO
View
12 lib/FileWriter/package.json
@@ -0,0 +1,12 @@
+{
+ "name" : "FileWriter",
+ "description" : "HTML5 FileAPI `FileWriter` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "FileWriter"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ },
+ "main" : "FileWriter.js",
+ "version" : "0.10.0"
+}
View
5 lib/FileWriterSync/FileWriterSync.js
@@ -0,0 +1,5 @@
+//
+// FileWriterSync
+//
+// http://www.w3.org/TR/file-writer-api/#idl-def-FileWriterSync
+// TODO
View
12 lib/FileWriterSync/package.json
@@ -0,0 +1,12 @@
+{
+ "name" : "FileWriterSync",
+ "description" : "HTML5 FileAPI `FileWriterSync` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "FileWriterSync"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ },
+ "main" : "FileWriterSync.js",
+ "version" : "0.10.0"
+}
View
7 lib/form-data.js → lib/FormData/FormData.js
@@ -3,7 +3,6 @@
//
// http://hacks.mozilla.org/2010/05/formdata-interface-coming-to-firefox/
//
-var provide = provide || function () {};
(function () {
"use strict";
@@ -12,8 +11,8 @@ var provide = provide || function () {};
var EventEmitter = require('events').EventEmitter,
Futures = require('futures'),
- File = require('./file'),
- FileReader = require('./file-reader');
+ File = require('File'),
+ FileReader = require('FileReader');
function isFile(o) {
return (o instanceof File) ||
@@ -231,6 +230,4 @@ var provide = provide || function () {};
}
module.exports = FormData;
-
- provide('file-api/form-data');
}());
View
17 lib/FormData/package.json
@@ -0,0 +1,17 @@
+{
+ "name" : "FormData",
+ "description" : "HTML5 FileAPI `FormData` for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api", "FormData"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ "bufferjs": ">= 0.0.0"
+ , "remedial": ">= 0.0.0"
+ , "futures": ">= 2.0.0"
+ , "File": ">= 0.0.0"
+ , "FileReader": ">= 0.0.0"
+ },
+ "main" : "FormData.js",
+ "version" : "0.10.0"
+}
View
13 lib/index.js → lib/file-api/index.js
@@ -1,16 +1,15 @@
//
// HTML5 File API
// http://www.w3.org/TR/FileAPI
-var provide = provide || function () {};
(function () {
"use strict";
var FileApi = module.exports = {
- File: require('./file'),
- FileList: require('./file-list'),
- //FileError: require('./file-error'),
- FileReader: require('./file-reader'),
- FormData: require('./form-data')
+ File: require('File')
+ , FileList: require('FileList')
+ //, FileError: require('FileError')
+ , FileReader: require('FileReader')
+ , FormData: require('FormData')
};
FileApi.isFile = function (obj) {
@@ -34,6 +33,4 @@ var provide = provide || function () {};
}
return false;
};
-
- provide('file-api');
}());
View
20 lib/file-api/package.json
@@ -0,0 +1,20 @@
+{
+ "name" : "file-api",
+ "description" : "HTML5 FileAPI for Node.JS.",
+ "url" : "http://github.com/coolaj86/node-file-api/",
+ "keywords" : ["html5", "jsdom", "file-api"],
+ "author" : "AJ ONeal <coolaj86@gmail.com>",
+ "contributors" : [],
+ "dependencies" : {
+ "bufferjs": "> 0.2.0"
+ , "noop": ">= 0.1.0"
+ , "futures": ">= 1.9.4"
+ , "File": ">= 0.10.0"
+ , "FileList": ">= 0.10.0"
+ , "FileError": ">= 0.10.0"
+ , "FileReader": ">= 0.10.0"
+ , "FormData": ">= 0.10.0"
+ },
+ "main" : "./index",
+ "version" : "0.10.0"
+}
View
15 lib/package.json
@@ -1,15 +0,0 @@
-{
- "name" : "file-api",
- "description" : "HTML5 FileAPI for Node.JS.",
- "url" : "http://github.com/coolaj86/node-file-api/",
- "keywords" : ["html5", "jsdom", "file-api"],
- "author" : "AJ ONeal <coolaj86@gmail.com>",
- "contributors" : [],
- "dependencies" : {
- "bufferjs": "> 0.2.0",
- "noop": ">= 0.1.0",
- "futures": ">= 1.9.4"
- },
- "main" : "./index",
- "version" : "0.9.3"
-}

0 comments on commit 1cd3509

Please sign in to comment.
Something went wrong with that request. Please try again.