deps/browser-require/require.js
function normalizeId(id, parentId) {
    id = id.replace(/\/+$/g, '');
    return normalizeArray((parentId ? parentId + '/../' + id : id).split('/'))
           .join('/');
  }
function normalizeId(id, parentId) {
    id = id.replace(/\/+$/g, '');
    return normalizeArray((parentId ? parentId + '/../' + id : id).split('/'))
           .join('/');
  }
function normalizeId ( id , parentId ) { id = id . replace ( / \/+$ / g , '' ) ; return normalizeArray ( ( parentId ? parentId + '/../' + id : id ) . split ( '/' ) ) . join ( '/' ) ; }
normalize an id
normalize an id