chrisdew/dusterjs — pull request #1 by jkrehm (2013-04-25 04:29:58+00:00)
Title: Multi-level directories are out of order because of array.reverse()

Because array.reverse() affects the array and not just the result, the split array was out of order and generated incorrect paths when more than one level exists, e.g. a/b/index.dust became b/a/index.js. I just added a second .reverse().