From 46ff3bd268bf1e21cba88286917dd08a8c8fe983 Mon Sep 17 00:00:00 2001 From: IshaGupta18 Date: Tue, 11 Jun 2019 20:10:38 +0530 Subject: [PATCH] trying to pass remote values --- dist/PublicLab.Grapher.js | 6 ++++++ dist/transpiled_code/View.js | 6 ++++++ src/View.js | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/dist/PublicLab.Grapher.js b/dist/PublicLab.Grapher.js index 19cce49..cc1401f 100644 --- a/dist/PublicLab.Grapher.js +++ b/dist/PublicLab.Grapher.js @@ -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) { diff --git a/dist/transpiled_code/View.js b/dist/transpiled_code/View.js index b3a76fa..582874a 100644 --- a/dist/transpiled_code/View.js +++ b/dist/transpiled_code/View.js @@ -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) { diff --git a/src/View.js b/src/View.js index 46d491c..cc435bf 100644 --- a/src/View.js +++ b/src/View.js @@ -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;