Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split up into W3C-named modules #2

Open
coolaj86 opened this issue Jul 6, 2011 · 0 comments
Open

Split up into W3C-named modules #2

coolaj86 opened this issue Jul 6, 2011 · 0 comments

Comments

@coolaj86
Copy link
Owner

coolaj86 commented Jul 6, 2011

This module should be split up into the w3c names and republished as such.

This will increase compatibility with ender.js modules

// http://www.html5rocks.com/tutorials/#file
// http://www.html5rocks.com/tutorials/#filereader
// http://www.html5rocks.com/tutorials/#filewriter
// http://www.html5rocks.com/tutorials/#filesystem

var FileApi = {
// FormData
// http://www.w3.org/TR/XMLHttpRequest2/
"FormData": window.FormData,
// File API
// http://www.w3.org/TR/FileAPI/
// http://www.w3.org/TR/file-upload/
"FileList": window.FileList,
"Blob": window.Blob,
"File": window.File,
"FileReader": window.FileReader,
"FileError": window.FileError,
// File API: Writer
// http://www.w3.org/TR/file-writer-api/
"BlobBuilder": window.BlobBuilder,
"FileSaver": window.FileSaver,
"FileSaverSync": window.FileSaverSync,
"FileWriter": window.FileWriter,
"FileWriterSync": window.FileWriterSync,
// File API: Directories and System
// http://www.w3.org/TR/file-system-api/
// implemented by Window and WorkerGlobalScope
"LocalFileSystem": window.LocalFileSystem,
  // requestFileSystem(type, size, successCallback, opt_errorCallback)
  "requestFileSystem": window.requestFileSystem || window.webkitRequestFileSystem,
  // resolveLocalFileSystemURL
"LocalFileSystemSync": window.LocalFileSystemSync,
  // Asychronous FileSystem API
"Metadata": window.Metadata,
"Flags": window.Flags,
"FileSystem": window.FileSystem,
"Entry": window.Entry,
"DirectoryEntry": window.DirectoryEntry,
"DirectoryReader": window.DirectoryReader,
"FileEntry": window.FileEntry,
  // Synchronous FileSystem API
"FileSystemSync": window.FileSystemSync,
"EntrySync": window.EntrySync,
"DirectoryEntrySync": window.DirectoryEntrySync,
"DirectoryReaderSync": window.DirectoryReaderSync,
"FileEntrySync": window.FileEntrySync,
//"FileError": window.FileError,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant