Permalink
Browse files

fix typo

  • Loading branch information...
mah0x211 committed May 23, 2011
1 parent 7bcc32b commit b2e9a3a2b9eee68e3352a12b33797e06d88fc896
Showing with 7 additions and 7 deletions.
  1. +6 −6 lib/auditor.js
  2. +1 −1 package.json
View
@@ -29,10 +29,10 @@ var TypeRule = /^(text|email(_loose)?|url|date|(un)?signed)$/,
REGEXP_URL = undefined,
// Status
STATUS = {
- NO_CONTENT = 204,
- BAD_REQUEST = 400,
- NOT_ACCEPTABLE = 406,
- PRECONDITION_FAILED = 412
+ NO_CONTENT: 204,
+ BAD_REQUEST: 400,
+ NOT_ACCEPTABLE: 406,
+ PRECONDITION_FAILED: 412
};
function Init()
@@ -151,8 +151,8 @@ function auditor()
// MARK: defined status
// add options
-for( var name in STATUS ){
- auditor.prototype[ename] = STATUS[name];
+for( var ename in STATUS ){
+ auditor.prototype[ename] = STATUS[ename];
}
auditor.prototype.addField = function( label, field, rule )
View
@@ -6,7 +6,7 @@
],
"description": "",
"homepage": "http://github.com/mah0x211/node-auditor",
- "version" : "0.1.1",
+ "version" : "0.1.2",
"licenses" : [
{
"type": "MIT"

0 comments on commit b2e9a3a

Please sign in to comment.