krtek / Tea-clock

Steep your tea right!
www.tea-clock.com
MIT License
26 stars 12 forks source link

tea-clock.com is not working #9

Closed michalbcz closed 11 years ago

michalbcz commented 11 years ago

tea-clock.com

app is not working

Chrome 28 js console: TypeError: Cannot read property 'symbol' of undefined at Function.Utils.convertTemp (http://www.tea-clock.com/js/timer-ang.js:311:26) at setFromSelection (http://www.tea-clock.com/js/timer-ang.js:286:41) at new InfoPanelController (http://www.tea-clock.com/js/timer-ang.js:288:17) at d (http://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js:28:304) at Object.instantiate (http://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js:28:434) at http://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js:53:326 at http://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js:44:274 at n (http://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js:7:74) at k (http://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js:44:139)

krtek commented 11 years ago

Did you try to turn it off and on?

michalbcz commented 11 years ago

Well I tried and it works. Imho problem is that I have chosen "herbal" tea in older version of application and it was stored in localStorage (and it was my default after that). But when new version of tea clock with degrees was introduced - for some reason I don't understand (I can't modify it, so why store it?) degrees are also stored in storage. But as it wasn't set in version before degrees it is null and hence this error occured

krtek commented 11 years ago

Thanks for analysis...

Degrees shouldn't ve stored at all - will fix it. On 19 Aug 2013 13:38, "Michal Bernhard" notifications@github.com wrote:

Well I tried and it works. Imho problem is that I have chosen "herbal" tea in older version of application and it was stored in localStorage (and it was my default after that). But when new version of tea clock with degrees was introduced - for some reason I don't understand (I can't modify it s why?) degrees are also stored in storage. But as it wasn't setted in version before degrees it is null and hence this error occured

— Reply to this email directly or view it on GitHubhttps://github.com/krtek/Tea-clock/issues/9#issuecomment-22866002 .

michalbcz commented 11 years ago

np sir