define(["dojo/_base/declare", "dojox/data/JsonRestStore", "dojox/rpc/ProxiedPath"], function(declare, JsonRestStore, ProxiedPath) { return declare("dojox.data.S3Store", JsonRestStore, { // summary: // S3JsonRestStore is an extension of JsonRestStore to handle // Amazon's S3 service using JSON data _processResults : function(results){ // unfortunately, S3 returns query results in XML form var keyElements = results.getElementsByTagName("Key"); var jsResults = []; var self = this; for(var i=0; i