yr.no-forecast
Advanced tools
Comparing version 0.0.5 to 0.0.51
@@ -227,4 +227,6 @@ // Copyright 2013 Evan Shortiss | ||
function getWeather(params, callback, version) { | ||
version = version || 1.9; | ||
// Make a standard call to the API | ||
yrno.locationforecast(params, function(err, body) { | ||
yrno.locationforecast(params, version, function(err, body) { | ||
if (err) { | ||
@@ -236,3 +238,3 @@ return callback(err, null); | ||
new LocationForecast(body, callback); | ||
}, version); | ||
}); | ||
} | ||
@@ -239,0 +241,0 @@ |
{ | ||
"name": "yr.no-forecast", | ||
"version": "0.0.5", | ||
"version": "0.0.51", | ||
"description": "Module to easily retrieve simple weather forecast for a given time and location.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
17127
462