mirror of
https://github.com/codedread/bitjs
synced 2025-10-04 10:09:16 +02:00
Initial archive.js
This commit is contained in:
parent
66e4720bef
commit
a147bc1d24
2 changed files with 37 additions and 0 deletions
36
archive.js
Normal file
36
archive.js
Normal 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";
|
||||||
|
};
|
||||||
|
|
||||||
|
})();
|
|
@ -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 || {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue