The module is not using the library api! There are a few reasons why this is bad!

Ill write and post a patch soon :)

greetings

Comments

eigentor’s picture

Title: User Library API » Use Library API

One more person noticing this.
Modules installing libraries inside the module directory are soo D6 ;)
Should not be too hard to implement usage of the libraries module and put the library into /sites/all/library

ambient.impact’s picture

I agree, the Libraries API would be the right way to go. This has my vote.

chrisjlee’s picture

Just use the drupal sassy module with phpsass (fork of phamlp). phpsass is a little better maintained.

It has this already in place and some vast improvements.

mrded’s picture

Status: Active » Needs review
StatusFileSize
new1.93 KB

Please check my patch

capellic’s picture

Status: Needs review » Needs work
StatusFileSize
new1.11 KB

Thanks for the patch, though it didn't apply cleanly.

Got this error when trying to apply with git:

% git apply 0001-Use-Library-API.patch.txt
sites/all/modules/contrib/sass/0001-Use-Library-API.patch.txt:38: trailing whitespace.

warning: 1 line adds whitespace errors.

Got this error when trying to apply with patch. sass.module.rej file attached.

% patch -p1 < 0001-Use-Library-API.patch.txt
patching file README.txt
patching file sass.module
Hunk #1 FAILED at 74.
1 out of 1 hunk FAILED -- saving rejects to file sass.module.rej

I ended up apply the code manually.

mrded’s picture

Status: Needs work » Needs review
StatusFileSize
new2.22 KB

oh, sorry my text editor. This is new patch

elvis2’s picture

#6 patch failed while patching, for SASS version 7.x-2.0.

patching file README.txt
patching file sass.module
Hunk #1 FAILED at 71.
1 out of 1 hunk FAILED -- saving rejects to file sass.module.rej

mrded’s picture

C'mon, it's just few lines. Apply it manually :)

klonos’s picture

Issue summary: View changes
StatusFileSize
new1.92 KB

...ok here's an updated patch against 7.x-2.0 for the lazy ...both those too lazy to apply manually and those too lazy to re-roll and upload a new patch :P

With love from a person too lazy to actually review the patch.

PS: all credits to Dmitry - I just rerolled.