2014-07-16 09:06:24 +00:00
|
|
|
/*\
|
|
|
|
title: $:/plugins/tiddlywiki/upgrade/config.js
|
|
|
|
type: application/javascript
|
|
|
|
module-type: startup
|
|
|
|
|
|
|
|
Startup module for configuring the upgrade plugin
|
|
|
|
|
|
|
|
\*/
|
|
|
|
(function(){
|
|
|
|
|
|
|
|
/*jslint node: true, browser: true */
|
|
|
|
/*global $tw: false */
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
// Export name and synchronous status
|
|
|
|
exports.name = "upgrade-config";
|
|
|
|
exports.before = ["startup"];
|
|
|
|
exports.synchronous = true;
|
|
|
|
|
|
|
|
exports.startup = function() {
|
|
|
|
// See $tw.utils.decryptStoreAreaInteractive() in $:/core/modules/utils/crypto.js
|
|
|
|
$tw.config.usePasswordVault = true;
|
2020-10-26 17:28:57 +00:00
|
|
|
$tw.config.disableAutoSave = true;
|
2014-07-16 09:06:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
})();
|