fix build without examples, version can contain more than numbers
This commit is contained in:
parent
9651cec448
commit
bb931c006f
2 changed files with 2 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ Ox.SHORT_MONTHS = Ox.MONTHS.map(function(val) {
|
|||
//@ Ox.PATH <s> Path of Ox.js
|
||||
Ox.PATH = (function() {
|
||||
// IE8 can't apply slice to NodeLists, see Ox.slice
|
||||
var index, regexp = /Ox\.js(\?\d+|)$/,
|
||||
var index, regexp = /Ox\.js(\?.+|)$/,
|
||||
scripts = document.getElementsByTagName('script'), src;
|
||||
for (index = scripts.length - 1; index >= 0; index--) {
|
||||
src = scripts[index].src;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue