Index: Source/WebCore/inspector/front-end/DOMAgent.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/DOMAgent.js (revision 77794) |
+++ Source/WebCore/inspector/front-end/DOMAgent.js (working copy) |
@@ -502,19 +502,19 @@ |
{ |
} |
+WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync = function(callback) |
+{ |
+ function mycallback(applicationCaches) |
+ { |
+ // FIXME: Currently, this list only returns a single application cache. |
+ if (applicationCaches) |
+ callback(applicationCaches); |
+ } |
+ |
+ InspectorBackend.getApplicationCaches(mycallback); |
+} |
+ |
WebInspector.ApplicationCacheDispatcher.prototype = { |
- getApplicationCachesAsync: function(callback) |
- { |
- function mycallback(applicationCaches) |
- { |
- // FIXME: Currently, this list only returns a single application cache. |
- if (applicationCaches) |
- callback(applicationCaches); |
- } |
- |
- InspectorBackend.getApplicationCaches(mycallback); |
- }, |
- |
updateApplicationCacheStatus: function(status) |
{ |
WebInspector.panels.resources.updateApplicationCacheStatus(status); |