Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

Commit 30ec6e6

Browse files
committed
Merge pull request #21 from lookback/fix/libsass-bindings
Upgrade node-sass
2 parents bcf2a66 + f084036 commit 30ec6e6

File tree

4 files changed

+24
-25
lines changed

4 files changed

+24
-25
lines changed

example/.meteor/release

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
METEOR@1.0.5
1+
METEOR@1.1.0.2

example/.meteor/versions

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
2-
2+
33
44
5-
5+
66
77
88
@@ -19,28 +19,28 @@ [email protected]
1919
2020
2121
22-
23-
24-
25-
26-
27-
28-
29-
22+
23+
24+
25+
26+
27+
28+
29+
3030
3131
3232
3333
3434
3535
36-
36+
3737
3838
meteorhacks:[email protected]
39-
40-
39+
40+
4141
4242
43-
43+
4444
4545
4646
@@ -50,9 +50,9 @@ [email protected]
5050
5151
5252
53-
54-
55-
53+
54+
55+
5656
5757
5858

package.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ Package.describe({
88
});
99

1010
Npm.depends({
11-
'node-sass': '2.0.0',
11+
'node-sass': '3.2.0',
1212
'juice': '1.0.0'
1313
});
1414

1515
Package.onUse(function(api) {
16-
api.versionsFrom('0.9.3');
16+
17+
api.versionsFrom('1.0.4');
1718

1819
api.use([
1920
'check',

utils.coffee

+3-5
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ share.MailerUtils =
8282
file = path.join(ROOT, scss)
8383

8484
try
85-
return sass.renderSync(file: file, sourceMap: false).css
85+
return sass.renderSync(file: file, sourceMap: false).css.toString()
8686
catch ex
87-
# `ex` is somehow a JSON string.
88-
e = JSON.parse(ex)
89-
console.error 'Sass failed to compile: ' + e.message
90-
console.error 'In ' + (e.file or scss)
87+
console.error 'Sass failed to compile: ' + ex.message
88+
console.error "In #{ex.file or scss} at line #{ex.line}, column #{ex.column}"

0 commit comments

Comments
 (0)