jsonschema
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -19,6 +19,4 @@ 'use strict'; | ||
var CAPITALIZE_REGEXP = /(^|\s)([a-z])/g; | ||
var capitalize = function (input) { | ||
return input.replace(CAPITALIZE_REGEXP, function (m, p1, p2) { return p1 + p2.toUpperCase(); }); | ||
return input.charAt(0).toUpperCase() + input.slice(1); | ||
}; | ||
@@ -25,0 +23,0 @@ |
{ | ||
"author": "Tom de Grunt <tom@degrunt.nl>", | ||
"name": "jsonschema", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "mocha": "~1.3.0", |
48119
1121