question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NotebookScope, getVariable no longer available

See original GitHub issue

I noticed that interactive variable in JS now has only configureRequire when notebookscope and getVariables disappeared. I know that I can use #!share #!value instead but would like to understand the reason for that.

I personaly preferred the first option as in some of my solutions I just translate js to F# under the cover and it is easier for me to use js instead of magic commands.

Btw, how to achieve now the following:

interactive.javascript.submitCode(command);

It is deep in the loop of code so #!share/#!value will most likely not work

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kcaswickcommented, Nov 7, 2022

These variables were removed 10 months ago, and no one has bothered to update the Javascript sample file(s) linked from the front page to not depend on it? The JavaScript experience is very poor right now, as it is very difficult to find current documentation or examples.

0reactions
ryantheleachcommented, Nov 10, 2022

Weird, it might have been a scoping issue / user error on my part. I’ll give it a shot the next time I’m working some data, but I’d since moved on.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found