fix css margin errors do not work on Mac Firefox.

fix #353
This commit is contained in:
Fabian Jakobs 2011-07-25 09:58:29 +02:00
commit 482c23734c

View file

@ -54,7 +54,10 @@ oop.inherits(Worker, Mirror);
var value = this.doc.getValue();
result = CSSLint.verify(value);
this.sender.emit("csslint", result.messages);
this.sender.emit("csslint", result.messages.map(function(msg) {
delete msg.rule;
return msg;
}));
};
}).call(Worker.prototype);