Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ardublockly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ardublockly
Commits
e7e38810
Commit
e7e38810
authored
Dec 02, 2015
by
Neil Fraser
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #213 from tarling/doCommand
Fix to Blockly.doCommand to call Blockly.Realtime.isEnabled
parents
d717546c
ce8bbd66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/blockly.js
core/blockly.js
+1
-1
No files found.
core/blockly.js
View file @
e7e38810
...
...
@@ -614,7 +614,7 @@ Blockly.setMainWorkspaceMetrics_ = function(xyRatio) {
* @param {function()} cmdThunk A function representing the command execution.
*/
Blockly
.
doCommand
=
function
(
cmdThunk
)
{
if
(
Blockly
.
Realtime
.
isEnabled
)
{
if
(
Blockly
.
Realtime
.
isEnabled
()
)
{
Blockly
.
Realtime
.
doCommand
(
cmdThunk
);
}
else
{
cmdThunk
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment