update references regexp to match 'Ox.$' (which is never followed by a word boundary, since $ is not a word char)
This commit is contained in:
parent
ba5bea09f0
commit
71499d0cfa
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
|
@ -380,7 +380,7 @@ Ox.load(function() {
|
||||||
},
|
},
|
||||||
items: app.data.docItems || void 0,
|
items: app.data.docItems || void 0,
|
||||||
path: 'dev/',
|
path: 'dev/',
|
||||||
references: /\b(Ox\.[\w\$]+)\b/g,
|
references: /\b(Ox\.[\w\$]+(?=\W))/g,
|
||||||
replace: [app.re.code],
|
replace: [app.re.code],
|
||||||
results: app.data.testResults || void 0,
|
results: app.data.testResults || void 0,
|
||||||
selected: app.user.item.doc,
|
selected: app.user.item.doc,
|
||||||
|
|
@ -419,7 +419,7 @@ Ox.load(function() {
|
||||||
.html(app.html.examples),
|
.html(app.html.examples),
|
||||||
examples: app.data.examples,
|
examples: app.data.examples,
|
||||||
path: 'examples/',
|
path: 'examples/',
|
||||||
references: /\b(Ox\.[\w\$]+)\b/g,
|
references: /\b(Ox\.[\w\$]+(?=\W))/g,
|
||||||
replaceCode: [app.re.code],
|
replaceCode: [app.re.code],
|
||||||
replaceComment: [app.re.comment],
|
replaceComment: [app.re.comment],
|
||||||
selected: app.user.item.examples
|
selected: app.user.item.examples
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue