cloudhead/less.js — pull request #1038 by fgnass (2012-11-14 15:50:39+00:00)
Title: Compatibility with Chrome's Sass support

Chrome DevTools now have experimental support for Sass-style line-number annotations but they are a little picky about the exact formatting.

This pull-request modifies the `-sass-debug-info` output to 100% match the syntax emitted by Sass itself which effectively gives us source-mapping for .less files in Chrome.

In order to be picked up by Chrome …

1. the filename must be a `file://` URL
2. the path must be escaped rather than quoted

![screenshot](http://cloud.github.com/downloads/fgnass/fgnass.github.com/less-source-maps.png)