Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions js/slides/0_Slides_Intro.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ SLIDES.push({
text_id:"intro"
});

var _showYear = function(){
var currentYear = Words.get("intro");
currentYear = currentYear.replace(/\[X\]/g, new Date().getFullYear());
self.objects.intro_text.setText(currentYear);
};
_showYear();

// Button
self.add({
id:"intro_button", type:"Button", x:304, y:466, size:"long",
Expand Down
2 changes: 1 addition & 1 deletion words.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
and gathered to bury their dead, exchange gifts, and play games.
<br><br>

Meanwhile: it's 2017, the West has been at peace for decades, and<br>
Meanwhile: it's [X], the West has been at peace for decades, and<br>
wow, we <i>suck</i> at trust. Surveys show that, over the past forty years,
fewer and fewer people say they trust each other. So here's our puzzle:
<br><br>
Expand Down