WebAPI/ProposedDeviceStorageAPIWithNotifications: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 57: Line 57:
An example callback:
An example callback:


  store.addFileWatcher(function(DeviceStorage store, DOMString name, DOMString type){
  store.addFileWatcher(callback);
     do_something(store,name,type);
...
void callback (DeviceStorage store, DOMString name, DOMString type){
     //do stuff
  };
  };
22

edits

Navigation menu