Skip to content

Commit

Permalink
No longer throw an error when new-style spreadsheets are passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoma committed Apr 27, 2014
1 parent f199e92 commit c3fb4c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tabletop.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,8 @@
}

if(/pubhtml/.test(this.key)) {
alert("You passed a new Google Spreadsheets url as the key! This won't work yet, you'll need to change back to old Sheets.");
this.log("You passed a new Google Spreadsheets url as the key! Attempting to parse.");
this.key = this.key.match("d\\/(.*?)\\/pubhtml")[1];
console.log(this.key);
}

if(!this.key) {
Expand Down

0 comments on commit c3fb4c4

Please sign in to comment.