Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit f463cf1

Browse files
committed
Merge pull request #1 from dart-lang/master
update upstream
2 parents 5976f21 + 146ec6f commit f463cf1

File tree

5 files changed

+31
-12
lines changed

5 files changed

+31
-12
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ add_version:
1616

1717
deploy: build
1818
cd ./build && appcfg.py update .
19+
echo "Visit http://$(CURRENT_BRANCH).dart-lang.appspot.com"
1920

2021
server:
2122
@open http://localhost:8080/ && cd ./src/site && jekyll && cd ../..

src/site/_layouts/dartisans_episode.markdown

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,34 @@
22
layout: default
33
---
44

5-
# Dartisans ep. {{ page.episode.num }}
5+
# Dartisans ep. {{ page.episode.title }}
66

7-
## {{ page.episode.subtitle }}
7+
<div class="row" style="margin-top: 25px">
8+
<div class="span12">
89

9-
{{ page.episode.description }}
10+
<img style="box-shadow: 5px 5px 10px #CCC; float: left; margin-right: 25px" src="dartisans-{{page.episode.num | format_num: "%02d" }}-thumb.jpeg" width="120" height="90" alt="Screenshot of Dartisans ep {{ page.episode.num }}">
1011

11-
This hangout was recorded on {{ page.episode.pubdate }}.
12+
<p>
13+
{{ page.episode.description }}
14+
</p>
1215

13-
<iframe width="640" height="360" src="http://www.youtube.com/embed/{{ page.episode.youtubeid }}" frameborder="0" allowfullscreen></iframe>
16+
<p>
17+
This hangout was recorded on {{ page.episode.pubdate }}.
18+
</p>
1419

15-
Watch more [recordings of previous episodes of Dartisans](index.html)
16-
or subscribe to an
17-
<a href="/dartisans/podcast-feed"><i class="icon-rss"> </i> audio podcast of Dartisans</a>.
20+
</div>
21+
</div>
22+
23+
<div class="row" style="margin-top: 25px">
24+
<div class="span12">
25+
26+
<iframe width="640" height="360" src="http://www.youtube.com/embed/{{ page.episode.youtubeid }}" frameborder="0" allowfullscreen></iframe>
27+
28+
<p>
29+
Watch more <a href="index.html">recordings of previous episodes of Dartisans</a>
30+
or subscribe to an
31+
<a href="/dartisans/podcast-feed"><i class="icon-rss"> </i> audio podcast of Dartisans</a>.
32+
</p>
33+
34+
</div>
35+
</div>
4.49 KB
Loading

src/site/js/editor-downloads-analytics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $(document).ready(function() {
99
var bits = target.getAttribute('data-bits') || 'unknown';
1010
var build = target.getAttribute('data-build') || 'unknown';
1111
var bitsAndBuild = build + '/' + bits;
12-
_gaq.push(['_trackEvent', 'Editor Downloads', os, bitsAndBuild]);
12+
_gaq.push(['_trackEvent', 'Editor Downloads', os, bitsAndBuild, 1]);
1313
});
1414
}
1515
});

src/site/js/social-event-analytics.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
function gplus_pressed(data) {
44
if (data && data['state'] == 'on') {
5-
pageTracker._trackEvent('Social', 'Share', 'Gplus', 1);
5+
_gaq.push(['_trackEvent', 'Social', 'Share', 'Gplus', 1]);
66
}
77
}
88

@@ -28,13 +28,13 @@ $(document).ready(function() {
2828

2929
function tweetIntentToAnalytics(intent_event) {
3030
if (intent_event) {
31-
pageTracker._trackEvent('Social', 'Share', 'Twitter', 1);
31+
_gaq.push(['_trackEvent', 'Social', 'Share', 'Twitter', 1]);
3232
};
3333
}
3434

3535
function followIntentToAnalytics(intent_event) {
3636
if (intent_event) {
37-
pageTracker._trackEvent('Social', 'Follow', 'Twitter', 1);
37+
_gaq.push(['_trackEvent', 'Social', 'Follow', 'Twitter', 1]);
3838
};
3939
}
4040

0 commit comments

Comments
 (0)