LVel / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

Function getPath() in IE9.js is return invalid path when using with CssCombiner #258

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using CssCombiner

What is the expected output? What do you see instead?
background: 
url(http://localhost/Site/ResourceCombiner/css.ashx?path=/Inpar/css/&files=Geral
/curvyCorners.css,Geral/style.css,Geral/reset.css,Geral/presets.css,jQuery/../im
agens/Geral/bg_barraAtendimento.gif);

What version of the product are you using? On what operating system?
ie7-2.1(beta4).zip

Code to resolve:

function getPath(href, path)
{
    href = makePath(href, path).split('?')[0].split('#')[0];
    return href.slice(0, href.lastIndexOf("/") + 1);
};

Original issue reported on code.google.com by aliste...@gmail.com on 16 Jun 2010 at 8:35