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,
|
||||
path: 'dev/',
|
||||
references: /\b(Ox\.[\w\$]+)\b/g,
|
||||
references: /\b(Ox\.[\w\$]+(?=\W))/g,
|
||||
replace: [app.re.code],
|
||||
results: app.data.testResults || void 0,
|
||||
selected: app.user.item.doc,
|
||||
|
@ -419,7 +419,7 @@ Ox.load(function() {
|
|||
.html(app.html.examples),
|
||||
examples: app.data.examples,
|
||||
path: 'examples/',
|
||||
references: /\b(Ox\.[\w\$]+)\b/g,
|
||||
references: /\b(Ox\.[\w\$]+(?=\W))/g,
|
||||
replaceCode: [app.re.code],
|
||||
replaceComment: [app.re.comment],
|
||||
selected: app.user.item.examples
|
||||
|
|
Loading…
Reference in a new issue