Skip to content

Commit dd69632

Browse files
committed
v0.0.13
2 parents b2fdf0b + d2c361e commit dd69632

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 0.0.13 - 2013-09-12
4+
- Fixed failing on empty files (#66)
5+
36
## 0.0.12 - 2013-09-11
47
- Option: combinator-space
58
- Readme update

lib/csscomb.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,9 @@ Comb.prototype = {
9090
* @param {String} filename
9191
*/
9292
processString: function(text, filename) {
93+
if (!text) return text;
9394
var tree;
9495
var string = JSON.stringify;
95-
if (typeof text === 'undefined') {
96-
throw new Error('Undefined file content ' + filename + ': ' + string(text));
97-
}
9896
try {
9997
tree = gonzales.srcToCSSP(text);
10098
} catch (e) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "csscomb",
33
"description": "CSS coding style formatter",
4-
"version": "0.0.12",
4+
"version": "0.0.13",
55
"homepage": "http://csscomb.com/",
66
"author": "Mikhail Troshev <mishanga@yandex-team.ru>",
77
"repository": "https://github.com/csscomb/csscomb.js",

0 commit comments

Comments
 (0)