mumuki/mumuki-html-runner

View on GitHub
lib/render/multiple-files.js

Summary

Maintainability
A
0 mins
Test Coverage
$(document).ready(function() {
  const setEditorMainFile = () => {
    const multipleFileEditor = mumuki.multipleFileEditor;
    if(!multipleFileEditor) return setTimeout(setEditorMainFile, 100);
    multipleFileEditor.mainFile = 'index.html';
    multipleFileEditor.updateButtonsVisibility();
  };

  setEditorMainFile();
});