Mercurial > lada > lada-client
view app/lib/Helpers.js @ 297:1e1ee8abf91b
Added Helpers class to provide some helper methods.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 09 Aug 2013 15:22:09 +0200 |
parents | |
children | 60a2812568cb |
line wrap: on
line source
/** * Helper class * This class provides some globally used functions. */ Ext.define('Lada.lib.Helpers', { statics: { /** * Function to translate a timestamp into a date */ ts2date: function(v, record){ // Converts a timestamp into a date object. return new Date(v); } } })