-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add a [Link] button to the "Try CoffeeScript" interface #1711
Conversation
@@ -84,6 +84,7 @@ | |||
</div> | |||
<div id="repl_results_wrap"><pre id="repl_results"></pre></div> | |||
<div class="minibutton dark run" title="Ctrl-Enter">Run</div> | |||
<a class="minibutton permalink" id="repl_permalink" style="display: block; top: 38px;" href="#src:">Link</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the inline style, and the href
value appears unnecessary.
What is the correct way to make changes? Do I just add commits to this, or do I start a new request so as not to clutter the log? |
I'd like to see the |
Just push extra commits. They'll show up here between the comments. |
I still have the inline styles on the button, I'm not sure of the cleanest place to move them. |
I'm guessing you would put the style in a selector in /documentation/css/docs.css somewhere around the 260s. |
Thanks -- this is great. Merged with some minor style (camelCase) tweaks. |
(Replacing #1628.) This adds a button to the "Try CoffeeScript" interface which is a permalink to the current source code. Here's an example on my fork.