thlorenz/convert-source-map — pull request #6 by tybruffy (2014-07-02 20:35:27+00:00)
Title: Regex Update to allow Source Maps on same line as Code, Fix #5

These regex updates should fix #5. I added some extra tests that explicitly check for the source map to be the last important thing on a line (ie, whitespace is allowed, but other text on the same line and the regex won't register it as a map.) That did mean I had to rework a couple of the tests that were explicitly failing if a source map was on the same line as code.