examples/grow21/client/lib/crafty.js
function getTimestamps() {
					try {
						var trans = db.transaction(['save'], "read"),
						store = trans.objectStore('save'),
						request = store.getAll();
						request.onsuccess = function (e) {
							var i = 0, a = event.target.result, l = a.length;
							for (; i < l; i++) {
								timestamps[a[i].key] = a[i].timestamp;
							}
						};
					}
					catch (e) {
					}
				}
function getTimestamps() {
					try {
						var trans = db.transaction(['save'], "read"),
						store = trans.objectStore('save'),
						request = store.getAll();
						request.onsuccess = function (e) {
							var i = 0, a = event.target.result, l = a.length;
							for (; i < l; i++) {
								timestamps[a[i].key] = a[i].timestamp;
							}
						};
					}
					catch (e) {
					}
				}
function getTimestamps ( ) { try { var trans = db . transaction ( [ 'save' ] , "read" ) , store = trans . objectStore ( 'save' ) , request = store . getAll ( ) ; request . onsuccess = function ( e ) { var i = 0 , a = event . target . result , l = a . length ; for ( ; i < l ; i ++ ) { timestamps [ a [ i ] . key ] = a [ i ] . timestamp ; } } ; } catch ( e ) { } }
get all the timestamps for existing keys
get all the timestamps for existing keys