aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sourcemap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sourcemap.js b/lib/sourcemap.js
index 3998e405..a67011f0 100644
--- a/lib/sourcemap.js
+++ b/lib/sourcemap.js
@@ -87,6 +87,6 @@ function SourceMap(options) {
return {
add : add,
get : function() { return generator },
- toString : function() { return generator.toString() }
+ toString : function() { return JSON.stringify(generator.toJSON()); }
};
};