Skip to content

Commit

Permalink
Add file:/// bugfix to 1.3.3 browser release
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeapage committed Jan 5, 2013
1 parent 905ccb8 commit c06d849
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/header.js
Expand Up @@ -2,6 +2,6 @@
// LESS - Leaner CSS v@VERSION
// http://lesscss.org
//
// Copyright (c) 2009-2011, Alexis Sellier
// Copyright (c) 2009-2013, Alexis Sellier
// Licensed under the Apache 2.0 License.
//
4 changes: 2 additions & 2 deletions dist/less-1.3.3.js
Expand Up @@ -2,7 +2,7 @@
// LESS - Leaner CSS v1.3.3
// http://lesscss.org
//
// Copyright (c) 2009-2011, Alexis Sellier
// Copyright (c) 2009-2013, Alexis Sellier
// Licensed under the Apache 2.0 License.
//
(function (window, undefined) {
Expand Down Expand Up @@ -4075,7 +4075,7 @@ function extractUrlParts(url, baseUrl) {
// urlParts[4] = filename
// urlParts[5] = parameters

var urlPartsRegex = /^((?:[a-z-]+:)?\/\/(?:[^\/\?#]+\/)|([\/\\]))?((?:[^\/\\\?#]+[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/,
var urlPartsRegex = /^((?:[a-z-]+:)?\/\/(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/,
urlParts = url.match(urlPartsRegex),
returner = {}, directories = [], i, baseUrlParts;

Expand Down

0 comments on commit c06d849

Please sign in to comment.