removed unneeded cache
This commit is contained in:
parent
7e583e5f58
commit
b8811780ef
@ -56,12 +56,10 @@ module Compass
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.path_and_name(uri)
|
def self.path_and_name(uri)
|
||||||
Compass.quick_cache "Sprite_map_name:#{uri}", 5 do
|
if uri =~ SPRITE_IMPORTER_REGEX
|
||||||
if uri =~ SPRITE_IMPORTER_REGEX
|
[$1, $3]
|
||||||
[$1, $3]
|
else
|
||||||
else
|
raise Compass::Error "invalid sprite path"
|
||||||
[nil, nil]
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user