mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-30 08:10:57 +02:00
14 lines
376 B
JavaScript
14 lines
376 B
JavaScript
const Launcher = require('../comp/launcher');
|
|
|
|
const AutoTypeHelperFactory = {
|
|
create: function() {
|
|
if (Launcher && Launcher.autoTypeSupported) {
|
|
const AutoTypeHelper = require('./helper/auto-type-helper-' + Launcher.platform());
|
|
return new AutoTypeHelper();
|
|
}
|
|
return null;
|
|
}
|
|
};
|
|
|
|
module.exports = AutoTypeHelperFactory;
|