1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-04 10:09:16 +02:00

Initial archive.js

This commit is contained in:
codedread 2011-09-06 08:54:43 -07:00
parent 66e4720bef
commit a147bc1d24
2 changed files with 37 additions and 0 deletions

36
archive.js Normal file
View file

@ -0,0 +1,36 @@
/**
* archive.js
*
* Provides base functionality for unarchiving.
*
* Licensed under the MIT License
*
* Copyright(c) 2011 Jeff Schiller
*/
var bitjs = bitjs || {};
bitjs.archive = bitjs.archive || {};
(function() {
bitjs.archive.UnarchiveEvent = funciton() {
this.type
};
bitjs.archive.Unarchiver = function() {
this.listeners_ = [];
};
bitjs.archive.Unarchiver.prototype.addEventListener = function() {
};
bitjs.archive.Unarchiver.prototype.removeEventListener = function() {
};
bitjs.archive.Unarchiver.prototype.unarchive = function() {
throw "Error! Abstract method unarchive() in bitjs.archive.Unarchiver called";
};
})();

View file

@ -6,6 +6,7 @@
* Licensed under the MIT License * Licensed under the MIT License
* *
* Copyright(c) 2011 Jeff Schiller * Copyright(c) 2011 Jeff Schiller
* Copyright(c) 2011 antimatter15
*/ */
var bitjs = bitjs || {}; var bitjs = bitjs || {};