From 79df9d05b4af751260a8a868965e1a59307face8 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Sun, 10 Apr 2016 10:47:11 +0200 Subject: [PATCH] weather works --- app/client/start.js | 17 ------ app/client/state.html | 1 + app/client/state.js | 2 + app/client/weather.html | 9 +++ app/client/weather.js | 39 ++++++++++++ misc/kalkulator.html | 132 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 183 insertions(+), 17 deletions(-) create mode 100644 app/client/weather.html create mode 100644 app/client/weather.js create mode 100644 misc/kalkulator.html diff --git a/app/client/start.js b/app/client/start.js index 30e824b..e69de29 100644 --- a/app/client/start.js +++ b/app/client/start.js @@ -1,17 +0,0 @@ -var options = { - location: 40.7127+','+ 74.0059, // New York - unit: 'c', - success: function(weather) { - html = '

' - html += weather.temp+'°'+weather.units.temp+'

'; - html += '