mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
Update JSBaker.cpp
This commit is contained in:
parent
da8b2d2137
commit
1d373c2988
1 changed files with 5 additions and 4 deletions
|
@ -18,9 +18,10 @@ const int ASCII_CHARACTERS_UPPER_LIMIT = 126;
|
|||
|
||||
JSBaker::JSBaker(const QUrl& jsURL, const QString& bakedOutputDir) :
|
||||
_jsURL(jsURL),
|
||||
_bakedOutputDir(bakedOutputDir) {
|
||||
_bakedOutputDir(bakedOutputDir)
|
||||
{
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
void JSBaker::bake() {
|
||||
qCDebug(js_baking) << "JS Baker " << _jsURL << "bake starting";
|
||||
|
@ -40,7 +41,7 @@ void JSBaker::bake() {
|
|||
bool success = bakeJS(&inputJS, &outputJS);
|
||||
if (!success) {
|
||||
qCDebug(js_baking) << "Bake Failed";
|
||||
handleError("Error unterminated multi line comment");
|
||||
handleError("Unterminated multi-line comment");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -62,7 +63,7 @@ void JSBaker::bake() {
|
|||
|
||||
// Export successful
|
||||
_outputFiles.push_back(_bakedJSFilePath);
|
||||
qCDebug(js_baking) << "Exported" << _jsURL << "with re-written paths to" << _bakedJSFilePath;
|
||||
qCDebug(js_baking) << "Exported" << _jsURL << "minified to" << _bakedJSFilePath;
|
||||
|
||||
// emit signal to indicate the JS baking is finished
|
||||
emit finished();
|
||||
|
|
Loading…
Reference in a new issue