File: blend-modes.rb

package info (click to toggle)
compass-blend-modes-plugin 0.0.3%2B20150331~dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 232 kB
  • sloc: javascript: 392; ruby: 28; makefile: 2; sh: 1
file content (14 lines) | stat: -rw-r--r-- 436 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
base_directory  = File.expand_path('/usr/share/compass/frameworks/blend-modes')
stylesheets_path = File.join(base_directory, 'stylesheets')
templates_path = File.join(base_directory, 'templates')

if (defined? Compass)
	Compass::Frameworks.register(
		'blend-modes',
		:path => base_directory
	)
else
	ENV["SASS_PATH"] = [ENV["SASS_PATH"], stylesheets_path].compact.join(File::PATH_SEPARATOR)
end

require 'compass/blend-modes/version'