Fix absolute path detection on Windows.
Closes GH-451.
This commit is contained in:
parent
b7e66a7658
commit
3b18b72d64
@ -22,6 +22,7 @@ The Documentation for the [latest preview release](http://beta.compass-style.org
|
||||
* Vertical rhythm now has a minimum padding that defaults to 2px.
|
||||
This makes some edge cases look better.
|
||||
* New mixin `force-wrap` prevents URLs and long lines of text from breaking layouts.
|
||||
* Fix absolute path detection on windows.
|
||||
|
||||
0.11.3 (06/11/2011)
|
||||
-------------------
|
||||
|
@ -84,8 +84,8 @@ module Compass
|
||||
end
|
||||
|
||||
def absolute_path?(path)
|
||||
# This is only going to work on unix, gonna need a better implementation.
|
||||
path.index(File::SEPARATOR) == 0
|
||||
# Pretty basic implementation
|
||||
path.index(File::SEPARATOR) == 0 || path.index(':') == 1
|
||||
end
|
||||
|
||||
def skip_extension_discovery?
|
||||
|
@ -38,8 +38,8 @@ module Compass
|
||||
end
|
||||
|
||||
def absolute_path?(path)
|
||||
# This is only going to work on unix, gonna need a better implementation.
|
||||
path.index(File::SEPARATOR) == 0
|
||||
# Pretty basic implementation
|
||||
path.index(File::SEPARATOR) == 0 || path.index(':') == 1
|
||||
end
|
||||
|
||||
def to_sass_engine_options
|
||||
|
Loading…
Reference in New Issue
Block a user