forked from 0x2620/oxjs
update map, url controller, icon list selection css
This commit is contained in:
parent
5f20f84582
commit
c624cc5082
4 changed files with 24 additions and 19 deletions
|
|
@ -416,7 +416,9 @@ Ox.URL = function(options) {
|
|||
|
||||
function parseURL(str, callback) {
|
||||
Ox.print('pU', str)
|
||||
var parts = str.substr(1).split('/'),
|
||||
// fixme: removing trailing slash makes it impossible to search for '/'
|
||||
str = str.replace(/(^\/|\/$)/g, '');
|
||||
var parts = str.split('/'),
|
||||
state = {};
|
||||
if (parts[0] == '') {
|
||||
// empty URL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue