Comparing version 0.0.11 to 0.0.12
@@ -219,2 +219,5 @@ // | ||
Renderer.prototype.sendJSON = function (req, res, views) { | ||
// Before we start to send stuff, set headers. | ||
res.setHeader('Content-Type', 'application/json; charset=utf-8'); | ||
var stream = jsonstream.stringifyObject('{', ',', '}'); | ||
@@ -221,0 +224,0 @@ stream.pipe(res); |
{ | ||
"name": "arthus", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Yet another web framework.", | ||
@@ -5,0 +5,0 @@ "main": "application.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29309
907