[#43,backend][s]: GDocs backend working (and has improved docs).

This commit is contained in:
Rufus Pollock
2012-02-17 09:16:02 +00:00
parent 7f923d3ccf
commit 87fa752908
2 changed files with 20 additions and 10 deletions

View File

@@ -452,13 +452,11 @@ var sample_gdocs_spreadsheet_data = {
}
test("GDoc Backend", function() {
var dataset = new recline.Model.Dataset();
dataset.backendConfig = {
type: 'gdocs',
url: 'https://spreadsheets.google.com/feeds/list/0Aon3JiuouxLUdDQwZE1JdV94cUd6NWtuZ0IyWTBjLWc/od6/public/values?alt=json'
};
console.log('got gdoc dataset', dataset);
var dataset = new recline.Model.Dataset({
url: 'https://spreadsheets.google.com/feeds/list/0Aon3JiuouxLUdDQwZE1JdV94cUd6NWtuZ0IyWTBjLWc/od6/public/values?alt=json'
},
'gdocs'
);
var stub = sinon.stub($, 'getJSON', function(options, cb) {
console.log('options are', options, cb);