react-moment-proptypes-browser-build
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -99,3 +99,2 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
function(obj) { | ||
console.log('momentObj:typeValidator', JSON.stringify(arguments)); | ||
return typeof obj === 'object'; | ||
@@ -123,10 +122,6 @@ }, | ||
function(obj) { | ||
var resultOut = typeof obj === 'object'; | ||
console.log('momentDurationObj:typeValidator', resultOut, JSON.stringify(arguments[0]), typeof arguments[0]); | ||
return resultOut; | ||
return typeof obj === 'object'; | ||
}, | ||
function isValid(value) { | ||
var resultOut = moment.isDuration(value); | ||
console.log('momentDurationObj:validator', resultOut, JSON.stringify(arguments[0]), typeof arguments[0]); | ||
return resultOut; | ||
return moment.isDuration(value); | ||
}, | ||
@@ -133,0 +128,0 @@ 'Duration' |
{ | ||
"name": "react-moment-proptypes-browser-build", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Direct browser importable version of react-moment-proptypes", | ||
"main": "lib/react-moment-proptypes.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "./node_modules/.bin/webpack" | ||
}, | ||
@@ -9,0 +10,0 @@ "author": "Caleb Morris", |
Sorry, the diff of this file is not supported yet
21967
268