dark-sky-api
Advanced tools
Comparing version 0.5.12 to 0.5.13
{ | ||
"name": "dark-sky-api", | ||
"version": "0.5.12", | ||
"version": "0.5.13", | ||
"description": "a simple and robust dark sky api service for client-side js", | ||
@@ -40,4 +40,5 @@ "main": "index.js", | ||
"dark-sky-skeleton": "^0.1.2", | ||
"geo-loc-utils": "^0.0.2", | ||
"moment": "^2.18.1" | ||
} | ||
} | ||
} |
@@ -9,2 +9,3 @@ # dark-sky-api | ||
* Promise based (es6-promises). | ||
* Lightweight browser location checking (by default). | ||
* Versatile - use it statically or instantiate it. | ||
@@ -216,5 +217,3 @@ * Dates returned as [moments](https://momentjs.com/). | ||
api.loadPositionAsync() // get current position | ||
.then(position => { | ||
api.setPosition(position); | ||
}); | ||
.then(position => api.setPosition(position)); | ||
``` | ||
@@ -221,0 +220,0 @@ |
Sorry, the diff of this file is not supported yet
39009
5
224
+ Addedgeo-loc-utils@^0.0.2
+ Addedgeo-loc-utils@0.0.2(transitive)