Autoformat files with prettier

[MAILPOET-4075]
This commit is contained in:
Jan Jakes
2022-04-08 14:44:12 +02:00
committed by Veljko V
parent 2506ff5490
commit ab27eaee2d
592 changed files with 17992 additions and 12047 deletions

View File

@@ -1,6 +1,11 @@
var fs = require('fs');
module.exports = {
loadFileToContainer: function loadFileToContainer(path, window, containerTagName, opts) {
loadFileToContainer: function loadFileToContainer(
path,
window,
containerTagName,
opts,
) {
var contents = fs.readFileSync(path);
var container = window.document.createElement(containerTagName);
var options = opts || {};