Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Strip single quotes as well as double from `pie-load-path` #202

Merged
merged 1 commit into from Feb 27, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -32,7 +32,7 @@ if ( !window[ 'PIE' ] && docMode < 10 ) {
// Look for a custom -pie-load-path, or fall back to the CDN url
baseUrl = doc.documentElement.currentStyle.getAttribute( ( isIE6 ? '' : '-' ) + 'pie-load-path' );
if( baseUrl ) {
- baseUrl = baseUrl.replace(/^"|"$/g, '');
+ baseUrl = baseUrl.replace(/^("|')|("|')$/g, '');
baseUrls = [ baseUrl ];
}