Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
3552c248
Commit
3552c248
authored
Sep 07, 2016
by
Jonathan Wilkes
Browse files
remove unused functions that were copy-pasted from the font dialog
parent
7722303f
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/dialog_text.html
View file @
3552c248
...
...
@@ -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
);
...
...
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