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
ddc199e5
Commit
ddc199e5
authored
Dec 14, 2016
by
Albert Gräf
Browse files
Make gatom_unescape properly handle '-' prefixes.
parent
33bf9711
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/dialog_gatom.html
View file @
ddc199e5
...
...
@@ -196,8 +196,8 @@ function gatom_escape(str) {
}
function
gatom_unescape
(
str
)
{
if
(
str
===
"
-
"
)
{
str
=
""
;
if
(
str
.
slice
(
0
,
1
)
===
"
-
"
)
{
str
=
str
.
slice
(
1
)
;
}
else
{
var
arr
=
str
.
split
(
""
);
for
(
var
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
...
...
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