History

Complete console.trace and added a testcases for all 13 functions.

NeetBhagat committed 9 years ago

Commit 9646eba1 parent 5c3242615 files · +204 −165Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.h (1 of 15 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.h+3−3
@@ -147,7 +147,8 @@ public: · 146 unmodified lines
147147 /// to run... NOTE - this is used by Application currently to load the url. We don't really want it to be exposed
148148 /// to scripts. we may not need this to be invokable
149149 void loadURL(const QUrl& scriptURL, bool reload);
150− bool hasValidScriptSuffix(const QString& scriptFileName);
150+ bool hasValidScriptSuffix(const QString& scriptFileName);
151+
151152 Q_INVOKABLE QString getContext() const;
152153 Q_INVOKABLE bool isClientScript() const { return _context == CLIENT_SCRIPT; }
153154 Q_INVOKABLE bool isEntityClientScript() const { return _context == ENTITY_CLIENT_SCRIPT; }
@@ -225,8 +226,7 @@ public: · 71 unmodified lines
225226 void scriptWarningMessage(const QString& message);
226227 void scriptInfoMessage(const QString& message);
227228 void scriptPrintedMessage(const QString& message);
228−
229− void clearConsole();
229+ void clearDebugLogWindow();
230230 int getNumRunningEntityScripts() const;
231231 bool getEntityScriptDetails(const EntityItemID& entityID, EntityScriptDetails &details) const;
232232

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t