Comparing version
@@ -10,5 +10,5 @@ 'use strict'; | ||
var construct = function (constructor, args) { | ||
function F() { | ||
var F = function () { | ||
return constructor.apply(this, args); | ||
} | ||
}; | ||
F.prototype = constructor.prototype; | ||
@@ -150,2 +150,6 @@ | ||
if (schema.faker) { | ||
return namespace(Faker, schema.faker)(); | ||
} | ||
var min = schema.minLength; | ||
@@ -152,0 +156,0 @@ var max = schema.maxLength; |
{ | ||
"name": "fake-json", | ||
"description": "Generate fake data based on a JSON schema.", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
@@ -6,0 +6,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
9992
18.42%8
14.29%125
2.46%