Commit 3552c248 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

remove unused functions that were copy-pasted from the font dialog

parent 7722303f
......@@ -106,8 +106,13 @@ function register_window_id(gfxstub, text_string) {
add_events(gfxstub);
translate_form();
// We request the text data only after we're certain our window
// has loaded. Otherwise the node.js context might try to populate
// the textarea before the window has actually loaded.
// This doesn't happen in Pd Vanilla because tcl/tk synchronously
// creates the window.
pdgui.pdsend(gfxstub, "map");
// populate_form(text_string); // Fill the form we created with the actual data
// We don't turn on rendering of the "container" div until
// We've finished displaying all the spans and populating the
......@@ -132,14 +137,6 @@ function translate_form() {
}
}
function get_attr(name, attrs) {
return attrs[attrs.indexOf(name) + 1];
}
function get_elem(name) {
return document.getElementById(name);
}
function close_window() {
pdgui.pdsend(pd_object_callback, "close");
pdgui.remove_dialogwin(pd_object_callback);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment