Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: return snippet result #5

Open
wuuti opened this issue Oct 2, 2015 · 1 comment
Open

Feature: return snippet result #5

wuuti opened this issue Oct 2, 2015 · 1 comment

Comments

@wuuti
Copy link

wuuti commented Oct 2, 2015

After snippet execution a dialogbox pops up. This is either a success message or an error message. It is undocumented that your snippet has to return "success" in order to show the success box. All other values provoke the error box!

Better solution: have an tv option with selection of "Display results" | "Log results to browser console" | "Do not use results".
And then display/log the snippet results accordingly.
Another option: have another tv option where you can enter a text value which is used as an "error filter". Say: show/log an error, if the result is "error".

@degoya
Copy link
Owner

degoya commented Oct 3, 2015

added the information that your snippet needs to return a "success" to the readme.

i'm gonna check if i can implement the first solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants