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
David MacDonald
purr-data
Commits
a2e1bd92
Commit
a2e1bd92
authored
May 12, 2016
by
Jonathan Wilkes
Browse files
ignore case for pd META tags
parent
b0d554fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/dialog_search.html
View file @
a2e1bd92
...
...
@@ -48,9 +48,9 @@ function add_doc_to_index(filename, data) {
desc
;
// We use [\s\S] to match across multiple lines...
keywords
=
big_line
.
match
(
/#X text
[
0-9
]
+
[
0-9
]
+ KEYWORDS
([\s\S]
*
?)
;/
),
.
match
(
/#X text
[
0-9
]
+
[
0-9
]
+ KEYWORDS
([\s\S]
*
?)
;/
i
),
desc
=
big_line
.
match
(
/#X text
[
0-9
]
+
[
0-9
]
+ DESCRIPTION
([\s\S]
*
?)
;/
);
.
match
(
/#X text
[
0-9
]
+
[
0-9
]
+ DESCRIPTION
([\s\S]
*
?)
;/
i
);
keywords
=
keywords
&&
keywords
.
length
>
1
?
keywords
[
1
].
trim
()
:
null
;
desc
=
desc
&&
desc
.
length
>
1
?
desc
[
1
].
trim
()
:
null
;
if
(
desc
)
{
...
...
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