javascript - XMLHttpRequest cannot load file:///myfilepath/www/aws-sdk?=xxxxxxxxxx -
i rather new phonegap. trying build simple app javascript,html , jquery. unable connect server after appropriate objects created.
var s3 = new aws.s3({accesskeyid: accesskey , secretaccesskey: secretkey}); //listing buckets console s3.listbuckets(function(error, data) { if (err) { navigator.notification.alert(err); } else { (var index in data.buckets) { var bucket = data.buckets[index]; console.log("bucket: ", bucket.name, ' : ', bucket.creationdate); } }
});
Comments
Post a Comment