function addItemIDB(id, value) {
  var trans = isolation.db.transaction(['partitions'], 'readwrite');
  var store = trans.objectStore('partitions');
  var data = {'partition': value, 'id': id };

  var request = store.put(data);
  request.onsuccess = function(e) {
    sendResponse('addItemIDB complete');
  };
  request.onerror = isolation.onerror;
}
// This method adds a |value| to the database identified by |id|.
This method adds a |value| to the database identified by |id|.
This method adds a |value| to the database identified by |id| .
function addItemIDB(id, value) {
  var trans = isolation.db.transaction(['partitions'], 'readwrite');
  var store = trans.objectStore('partitions');
  var data = {'partition': value, 'id': id };
  var request = store.put(data);
  request.onsuccess = function(e) {
    sendResponse('addItemIDB complete');
  };
  request.onerror = isolation.onerror;
}
function addItemIDB ( id , value ) { var trans = isolation . db . transaction ( [ 'partitions' ] , 'readwrite' ) ; var store = trans . objectStore ( 'partitions' ) ; var data = { 'partition' : value , 'id' : id } ; var request = store . put ( data ) ; request . onsuccess = function ( e ) { sendResponse ( 'addItemIDB complete' ) ; } ; request . onerror = isolation . onerror ; }
This method adds a |value| to the database identified by |id|.
This method adds a |value| to the database identified by |id| .