calendar-month
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -25,3 +25,3 @@ { | ||
], | ||
"version": "0.0.6" | ||
"version": "0.0.7" | ||
} |
@@ -55,17 +55,2 @@ | ||
function extend () { | ||
var key, | ||
dest = [].shift.call(arguments), | ||
orig = [].shift.call(arguments); | ||
while( orig ) { | ||
for( key in orig ) { | ||
dest[key] = orig[key]; | ||
} | ||
orig = [].shift.call(arguments); | ||
} | ||
return dest; | ||
} | ||
function Month (year, month) { | ||
@@ -87,3 +72,5 @@ if( year instanceof Date ) { | ||
} else if( key instanceof Object ) { | ||
extend(Month.options, key); | ||
for( k in key ) { | ||
Month.options[k] = key[k]; | ||
} | ||
} | ||
@@ -90,0 +77,0 @@ }; |
{ | ||
"name": "calendar-month", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "vanillajs month data handler", | ||
@@ -5,0 +5,0 @@ "main": "lib/month.js", |
6689
140