-
Notifications
You must be signed in to change notification settings - Fork 36
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
implement copy link and copy source buttons in snippet details #24
Conversation
Thanks for looking into this - I actually quite like how this looks! Here are a few comments after playing with this a little:
Nice work :) looking forward to having this merged! |
Thanks. I haven't been around any sort of web development for two years now, so I had to read about all those technologies in a short amount of time, thus you might find my coding style especially with JavaScript a bit crappy.
|
Hi Tomas. The modal size is now dynamically adjusted. |
I have not yet looked into the problem with source. Does this work for you? As for accessing the HTTP request info, this is not automatically exposed to the template page. You need to modify the F# record that is passed to the template (see this piece of code) and pass all data that you need there. Here is an example that shows how to extract the body of a HTTP request and how to access URL parameters. |
Yes. showing the source works perfectly on my device. Could You check your browser's console for any JavaScript exceptions ? |
…nt.location object
Hey Tomas. I have pushed another commit which should fix the issue completely. Please let me know about the "show source" problem on your machine. |
implement copy link and copy source buttons in snippet details
It took a long time (holidays + work!) but I finally deployed this to Azure: http://fssnip.azurewebsites.net/ Also, now that it's running on Azure, it will be a lot more fun to complete the rest - any PR into master will immediately affect the web site! |
this resolves issue #9