One-com/livestyle — Issue #18: Does not work with IE9
Author: walling
Created: 2012-02-27 09:49:20+00:00
State: open

I tested a simple HTML page with a simple CSS stylesheet using livestyle 0.0.16 on node 0.6.8 on windows 7. It works great in IE9 running Quirks mode, IE7 or IE8 standards mode, but not when I'm using IE9 standards mode. Sometimes it does nothing, sometimes it removes the CSS on the page on the first change in the CSS file.

It is not possible to run `livestyle --debug` in IE, because `console.log` is not a true JavaScript function in IE. It does not have the apply method, which is found in the codebase:

```javascript
function log() { // ...
if (liveStyleOptions.debug && window.console) {
console.log.apply(console, arguments);
}
}
```

A possible work-around is to detect that `console.log.apply` is not defined and in that case loop through all arguments and invoke `console.log` on each one.