forked from 0x2620/oxjs
IE8 fixes
This commit is contained in:
parent
12dcdf13fc
commit
aa8f4133be
5 changed files with 11 additions and 10 deletions
|
|
@ -440,7 +440,7 @@ Ox.URL = function(options) {
|
|||
}
|
||||
|
||||
function parseURL(str, callback) {
|
||||
// fixme: removing trailing slash makes it impossible to search for '/'
|
||||
// fixme: removing trailing slash makes it impossible to search for '/'
|
||||
str = str.replace(/(^\/|\/$)/g, '');
|
||||
var parts = str.split('/'),
|
||||
state = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue