Skip to content

Commit eff5720

Browse files
committed
js mode added favico as base64 data url
1 parent e2f37d8 commit eff5720

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

app/src/processing/mode/javascript/JavaScriptEditor.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,12 +393,16 @@ public boolean handleSaveRequest(boolean immediately)
393393
handleSave();
394394
if ( jsServer != null && jsServer.isRunning() )
395395
handleStartServer();
396+
else
397+
statusEmpty();
396398
} else {
397399
SwingUtilities.invokeLater(new Runnable() {
398400
public void run() {
399401
handleSave();
400402
if ( jsServer != null && jsServer.isRunning() )
401403
handleStartServer();
404+
else
405+
statusEmpty();
402406
}
403407
});
404408
}

javascript/applet_js/template.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
44
<meta name="Generator" content="Processing" />
55
<title>@@sketch@@ : Built with Processing and Processing.js</title>
6+
<link rel="icon" type="image/x-icon" href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAQAAVzABAEAjBQAaDwYAWjUGAGE6CQBrQQ0ATS8PAFhAJwBUQC8AbFI6AHVXPACBZk4A4NrWAPb19QAAAAAAAMmZmZmZmgAJIwAAAAAAcMIjPjA+PjAKpxIuMDMzMAm0Ii4zMzMACaIiLt3dMAAJtyIuIzPQAAm0Un5yM+IzKLRkfncy4iIotRF+dyLkIiq0QX53F+EiGrQUTkd34iIatEVu7u5iIVrBVVRBRFRVbAtGZGZla2uwAMu7u7u8vADAAwAAgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIABAADAAwAA" />
67
<style type="text/css">
78
body {
89
background-color: #333; color: #bbb; line-height: normal;

0 commit comments

Comments
 (0)