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
2fee2ba6
Commit
2fee2ba6
authored
Dec 22, 2015
by
carlosperate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated electron with changes from file saving
parent
efaae05b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
package/electron/app/appmenu.js
package/electron/app/appmenu.js
+3
-3
No files found.
package/electron/app/appmenu.js
View file @
2fee2ba6
...
@@ -103,7 +103,7 @@ var getFileMenuData = function() {
...
@@ -103,7 +103,7 @@ var getFileMenuData = function() {
type
:
'
info
'
,
type
:
'
info
'
,
title
:
'
Dialog
'
,
title
:
'
Dialog
'
,
buttons
:
[
'
ok
'
,],
buttons
:
[
'
ok
'
,],
message
:
'
This functionality has not yet been
'
+
message
:
'
This functionality has not yet been
'
+
'
implemented in the window menu.
\n
You can
'
+
'
implemented in the window menu.
\n
You can
'
+
'
still open a blocks file using the "Open"
'
+
'
still open a blocks file using the "Open"
'
+
'
button on the main interface.
'
'
button on the main interface.
'
...
@@ -115,7 +115,7 @@ var getFileMenuData = function() {
...
@@ -115,7 +115,7 @@ var getFileMenuData = function() {
click
:
function
()
{
click
:
function
()
{
BrowserWindow
.
getFocusedWindow
()
BrowserWindow
.
getFocusedWindow
()
.
webContents
.
webContents
.
executeJavaScript
(
'
Ardublockly.saveXmlFile
As
()
'
);
.
executeJavaScript
(
'
Ardublockly.saveXmlFile()
'
);
}
}
},
{
},
{
label
:
'
Save Arduino Sketch as
'
,
label
:
'
Save Arduino Sketch as
'
,
...
@@ -124,7 +124,7 @@ var getFileMenuData = function() {
...
@@ -124,7 +124,7 @@ var getFileMenuData = function() {
BrowserWindow
.
getFocusedWindow
()
BrowserWindow
.
getFocusedWindow
()
.
webContents
.
webContents
.
executeJavaScript
(
.
executeJavaScript
(
'
Ardublockly.saveSketchFile
As
()
'
);
'
Ardublockly.saveSketchFile()
'
);
}
}
}
}
]
]
...
...
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