Tag: javascript
-
Adding a custom attribute to an existing sencha touch component (and why it might cause error after production build)
Lately we’ve been using Sencha Touch for an interesting project. We found a problem which something was working correctly while on develop mode but stopped working after the app was built for production. Turned out the problem was becuase we added a custom attribute to an existing sencha component which we wanted to use. Ext.define(‘SomeView’,…
-
JS Date object and iOS Safari
Safari on iOS is probably one of the best mobile browsers. Still there is one thing that I often got wrong and wonder why my webapp doesn’t work. Javascript Date Object in iOS Safari In every normal browser you could just create a Date object from string as var myDate = new Date(‘2013-01-21T13:46:20’); But on…