mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-05 15:27:02 +00:00
Added HTTP upload saver
Now we can save changes to TiddlySpot
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user