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:
rolux 2012-06-13 12:04:11 +02:00
parent ba5bea09f0
commit 71499d0cfa

View file

@ -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