mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 15:41:30 -07:00
js: Remove support for creating the status bar in JavaScript
Now we depend on its being in the HTML.
This commit is contained in:
16
emcclib.js
16
emcclib.js
@ -513,22 +513,6 @@ mergeInto(LibraryManager.library, {
|
||||
x, y, w, h);
|
||||
},
|
||||
|
||||
/*
|
||||
* void js_canvas_make_statusbar(void);
|
||||
*
|
||||
* Cause a status bar to exist. Called at setup time if the puzzle
|
||||
* back end turns out to want one.
|
||||
*/
|
||||
js_canvas_make_statusbar: function() {
|
||||
if (statusbar === null) {
|
||||
var statusholder = document.getElementById("statusbarholder");
|
||||
statusbar = document.createElement("div");
|
||||
statusbar.id = "statusbar";
|
||||
statusbar.appendChild(document.createTextNode(" "));
|
||||
statusholder.appendChild(statusbar);
|
||||
}
|
||||
},
|
||||
|
||||
/*
|
||||
* void js_canvas_remove_statusbar(void);
|
||||
*
|
||||
|
Reference in New Issue
Block a user