Added HTTP upload saver

Now we can save changes to TiddlySpot
This commit is contained in:
Jeremy Ruston
2012-07-13 13:03:38 +01:00
parent b4a75b25fc
commit 5e11de719c
4 changed files with 88 additions and 7 deletions

View File

@@ -52,15 +52,15 @@ FirefoxSaver.prototype.info = {
/*
Static method that returns true if this saver is capable of working
*/
exports.canSave = function() {
exports.canSave = function(wiki) {
return window.location.protocol === "file:" && !!window.Components;
};
/*
Create an instance of this saver
*/
exports.create = function() {
return new FirefoxSaver();
exports.create = function(wiki) {
return new FirefoxSaver(wiki);
};
})();