Skip to content

Commit

Permalink
change http to https and fix broken image paths
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Sep 15, 2020
1 parent 5193144 commit d23c0ad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
url: "http://deanattali.com/shinyjs"
url: "https://deanattali.com/shinyjs"
baseurl: "/shinyjs"

title: shinyjs R package | by Dean Attali
Expand Down Expand Up @@ -31,4 +31,4 @@ google_analytics: "UA-59820529-1"

timezone: "America/Toronto"
markdown: kramdown
highlighter: rouge
highlighter: rouge
6 changes: 3 additions & 3 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<p class="copyright">
<strong>shinyjs</strong>
by
<a href="http://deanattali.com">{{ site.author.name }}</a>
<a href="https://deanattali.com">{{ site.author.name }}</a>
&nbsp;&bull;&nbsp;
<a href="https://github.com/daattali/shinyjs">View on GitHub</a>
</p>
<p class="theme-by">
Theme by
<a href="http://deanattali.com/beautiful-jekyll/">beautiful-jekyll</a>
Powered by
<a href="https://beautifuljekyll.com/">beautiful-jekyll</a>
</p>
<a style="display: inline-block;" href="https://paypal.me/daattali">
<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" />
Expand Down
6 changes: 3 additions & 3 deletions extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ shinyApp(

Running the code above produces this shiny app:

![Extendshinyjs demo](https://deanattali.com/img/blog/shinyjs-improvements/extendshinyjs-demo.gif)
![Extendshinyjs demo](https://deanattali.com/assets/img/blog/shinyjs-improvements/extendshinyjs-demo.gif)

See how easy that was? All I had to do was make the JavaScript function `shinyjs.pageCol`, pass the JavaScript code as an argument to `extendShinyjs()`, and then I can call `js$pageCol()`.

Expand Down Expand Up @@ -130,6 +130,6 @@ shinyApp(

And the resulting app:

![Extendshinyjs params demo](https://deanattali.com/img/blog/shinyjs-improvements/extendshinyjs-demo.gif)
![Extendshinyjs params demo](https://deanattali.com/assets/img/blog/shinyjs-improvements/extendshinyjs-demo.gif)

Note that I chose to define the JS code as a string for illustration purposes, but in reality I would prefer to place the code in a separate file and use the `script` argument instead of `text`.
Note that I chose to define the JS code as a string for illustration purposes, but in reality I would prefer to place the code in a separate file and use the `script` argument instead of `text`.

0 comments on commit d23c0ad

Please sign in to comment.