Comparing version 0.0.5 to 0.0.6
@@ -0,1 +1,6 @@ | ||
/* | ||
Copyright (c) 2012, Yahoo! Inc. All rights reserved. | ||
Code licensed under the BSD License: | ||
http://yuilibrary.com/license/ | ||
*/ | ||
"use strict"; | ||
@@ -2,0 +7,0 @@ |
@@ -0,4 +1,8 @@ | ||
/* | ||
Copyright (c) 2012, Yahoo! Inc. All rights reserved. | ||
Code licensed under the BSD License: | ||
http://yuilibrary.com/license/ | ||
*/ | ||
"use strict"; | ||
var path = require('path'); | ||
var parse = require('url').parse; | ||
@@ -28,3 +32,3 @@ var qs = require('querystring'); | ||
exports.delete = function (req, res) { | ||
exports['delete'] = function (req, res) { | ||
var p = parse(req.url), | ||
@@ -38,4 +42,3 @@ code = ((req.method === 'DELETE') ? 200 : 403); | ||
var post = function (method, req, res) { | ||
var p = parse(req.url), | ||
code = ((req.method === method) ? 200 : 403), | ||
var code = ((req.method === method) ? 200 : 403), | ||
data = '', | ||
@@ -42,0 +45,0 @@ gotData = false, |
@@ -5,11 +5,10 @@ { | ||
"author": "Dav Glass <davglass@gmail.com>", | ||
"version": "0.0.5", | ||
"dependencies": { | ||
}, | ||
"version": "0.0.6", | ||
"devDependencies": { | ||
"jslint": "*", | ||
"vows": "*" | ||
"vows": "*", | ||
"yui-lint": "~0.1.1", | ||
"jshint": "~0.9.0" | ||
}, | ||
"scripts": { | ||
"pretest": "jslint --node ./lib/*.js", | ||
"pretest": "jshint --config ./node_modules/yui-lint/jshint.json ./lib/*.js", | ||
"test": "vows --spec ./tests/*.js" | ||
@@ -16,0 +15,0 @@ }, |
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
24343
8
565
3