Commit cee0e4ed authored by Nikolay Gromov's avatar Nikolay Gromov

Добавил доп. коммент в JS при создании блока

parent e7f33fd5
......@@ -64,7 +64,7 @@ if(blockName) {
// Если это JS
else if(extention == 'js') {
fileContent = '// (function(){\n// код\n// }());\n';
fileContent = '// document.addEventListener(\'DOMContentLoaded\', function(){});\n// (function(){\n// код\n// }());\n';
}
// Если нужна подпапка для картинок
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment