Skip to content

Commit a767178

Browse files
Testing beta
1 parent 3f01a59 commit a767178

File tree

4 files changed

+34
-3
lines changed

4 files changed

+34
-3
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.2
1+
2.7.0

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ DEPENDENCIES
7272
pygments.rb (~> 1.2, >= 1.2.1)
7373

7474
RUBY VERSION
75-
ruby 2.5.5p157
75+
ruby 2.7.0p0
7676

7777
BUNDLED WITH
7878
2.1.4

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ theme: minima
1111
permalink: pretty
1212
highlighter: pygments
1313

14-
socket_key: 9c79f14df986a1ec693c
14+
socket_key: 390eb8d224a0f64395eb
1515
gems:
1616
- jekyll-feed
1717
exclude:

_examples/no_stars.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: socket_example
3+
title: No Review Stars Example
4+
permalink: /examples/no-stars/
5+
description: An example of the tutors list with no review stars shown
6+
---
7+
<div id="socket-no-stars"></div>
8+
9+
<!-- If you haven't called it before -->
10+
<script src="{{ site.socket_url }}"></script>
11+
12+
{% highlight html %}
13+
<!-- Then -->
14+
<script>
15+
socket('{{ site.socket_key }}', {
16+
router_mode: 'history',
17+
element: '#socket-no-stars',
18+
show_stars: false,
19+
});
20+
</script>
21+
{% endhighlight %}
22+
23+
<div id="socket-no-stars"></div>
24+
25+
<script>
26+
socket('{{ site.socket_key }}', {
27+
router_mode: 'history',
28+
element: '#socket-no-stars',
29+
show_stars: false,
30+
});
31+
</script>

0 commit comments

Comments
 (0)