Browse Source

typo

master
Odilitime 4 years ago
parent
commit
af5a752b87
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/interfaces/elements/SCRIPTElement.cpp

+ 1
- 1
src/interfaces/elements/SCRIPTElement.cpp View File

@@ -49,7 +49,7 @@ std::unique_ptr<Component> SCRIPTElement::renderer(const ElementRenderRequest &r
const std::clock_t begin = clock();
std::shared_ptr<JavaScript> newScript = parser.parse(source);
const std::clock_t end = clock();
logDebug() << "SCRIPTElement::renderer - Parsed document in: " << std::fixed << ((static_cast<double>(end - begin)) / CLOCKS_PER_SEC) << std::scientific << " seconds" << std::endl;
logDebug() << "SCRIPTElement::renderer - Parsed javascript in: " << std::fixed << ((static_cast<double>(end - begin)) / CLOCKS_PER_SEC) << std::scientific << " seconds" << std::endl;
request.docComponent->mainScript = parser.append(request.docComponent->mainScript, newScript);
// we need to execute the new instructions with the combined scope
// copy scope back into our script

Loading…
Cancel
Save