You are here

private function SassExtentionsCompassFunctionsUrls::is_absolute_path in Sassy 7

2 calls to SassExtentionsCompassFunctionsUrls::is_absolute_path()
SassExtentionsCompassFunctionsUrls::font_url in phamlp/sass/extensions/compass/functions/urls.php
SassExtentionsCompassFunctionsUrls::image_url in phamlp/sass/extensions/compass/functions/urls.php

File

phamlp/sass/extensions/compass/functions/urls.php, line 111

Class

SassExtentionsCompassFunctionsUrls
Compass extension SassScript urls functions class. A collection of functions for use in SassSCript. @package PHamlP @subpackage Sass.extensions.compass.functions

Code

private function is_absolute_path($path) {
  return $path[0] === '/' || substr($path, 0, 4) === 'http';
}