ember-cli-sassjs
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -19,4 +19,36 @@ import Ember from 'ember'; | ||
}); | ||
}, | ||
options: function(options) { | ||
return new Ember.RSVP.Promise(function(resolve) { | ||
window.Sass.options(options, function(response) { | ||
resolve(response); | ||
}) | ||
}) | ||
}, | ||
writeFile: function(filename) { | ||
return new Ember.RSVP.Promise(function(resolve) { | ||
window.Sass.writeFile(filename, function(success) { | ||
resolve(success); | ||
}) | ||
}) | ||
}, | ||
readFile: function(filename) { | ||
return new Ember.RSVP.Promise(function(resolve) { | ||
window.Sass.readFile(filename, function(content) { | ||
resolve(content); | ||
}) | ||
}) | ||
}, | ||
listFiles: function(filename) { | ||
return new Ember.RSVP.Promise(function(resolve) { | ||
window.Sass.listFiles(filename, function(list) { | ||
resolve(list); | ||
}) | ||
}) | ||
} | ||
}); |
{ | ||
"name": "ember-cli-sassjs", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Ember addon for Sass.js", | ||
@@ -5,0 +5,0 @@ "directories": { |
15150
216