Skip to content

Commit

Permalink
trying to pass remote values
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaGupta18 committed Jun 11, 2019
1 parent bda190a commit 46ff3bd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dist/PublicLab.Grapher.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,12 @@ function () {
this.csvParser = new _CsvParser.CsvParser(this.csvFile, this.elementId, "googleSheet");
};
}
}, {
key: "receive",
value: function receive(vall) {
console.log(vall);
console.log("hurray!!");
}
}, {
key: "handleFileSelectremote",
value: function handleFileSelectremote(val) {
Expand Down
6 changes: 6 additions & 0 deletions dist/transpiled_code/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ function () {
this.csvParser = new _CsvParser.CsvParser(this.csvFile, this.elementId, "googleSheet");
};
}
}, {
key: "receive",
value: function receive(vall) {
console.log(vall);
console.log("hurray!!");
}
}, {
key: "handleFileSelectremote",
value: function handleFileSelectremote(val) {
Expand Down
4 changes: 4 additions & 0 deletions src/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ class View{
this.csvParser = new _CsvParser.CsvParser(this.csvFile, this.elementId, "googleSheet");
};
}
receive(vall){
console.log(vall);
console.log("hurray!!");
}
handleFileSelectremote(val){
const proxyurl = "https://cors-anywhere.herokuapp.com/";
const url = val;
Expand Down

0 comments on commit 46ff3bd

Please sign in to comment.