mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 09:50:34 +03:00
Show message and don't start if javascript files have not been built
fixes #1782 - added builtFilesExist function to check for files during startup. If built files do not exist Ghost startup is stopped and a link to the documentation is displayed. - exported a scriptFiles object from server/helpers. - added a builtScriptPath to the paths module. - removed "js-msg" about missing javascript from the UI.
This commit is contained in:
parent
2705a28da9
commit
553cb35913
@ -49,9 +49,6 @@
|
||||
};
|
||||
|
||||
Ghost.init = function () {
|
||||
// remove the temporary message which appears
|
||||
$('.js-msg').remove();
|
||||
|
||||
Ghost.router = new Ghost.Router();
|
||||
|
||||
// This is needed so Backbone recognizes elements already rendered server side
|
||||
|
Loading…
Reference in New Issue
Block a user