Skip to content

Commit a03fd3e

Browse files
committed
Remove tutorial iframe on homepage.
- saves network requests - also inline vulcanize with --inline
1 parent 940a513 commit a03fd3e

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ module.exports = function(grunt) {
9393
},
9494
strip: true,
9595
csp: false,
96-
// inline: true
96+
inline: true
9797
},
9898
build: {
9999
files: {

elements/learn-tabs.html

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<link rel="import" href="../components/paper-button/paper-button.html">
55
<link rel="import" href="demo-tabs.html">
66

7-
<polymer-element name="learn-tabs">
7+
<polymer-element name="learn-tabs" noscript>
88
<template>
99
<style>
1010
:host {
@@ -30,12 +30,10 @@
3030
text-decoration: none;
3131
color: inherit;
3232
}
33-
.card iframe {
34-
border: 0;
33+
.card img {
3534
width: 400px;
36-
min-height: 280px;
3735
}
38-
iframe.stretch {
36+
img.stretch {
3937
width: 100%;
4038
}
4139
</style>
@@ -131,14 +129,12 @@ <h2>Build an app</h2>
131129
<a href="/docs/start/usingelements.html"><paper-button raisedButton icon="arrow-forward" label="Go to documentation"></paper-button></a>
132130
</div>
133131
</div>
134-
<iframe src="/samples/tutorial/finished/index.html" class="{{ {stretch:!wide} | tokenList }}"></iframe>
132+
<a href="/docs/start/tutorial/intro.html">
133+
<img src="/images/unquote.png" class="{{ {stretch:!wide} | tokenList }}">
134+
</a>
135135
</div>
136136
</div>
137137
</demo-tab>
138138
</demo-tabs>
139139
</template>
140-
<script>
141-
Polymer('learn-tabs', {
142-
});
143-
</script>
144140
</polymer-element>

scripts/release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ echo "=== Updating: components, polymer, polyfills, projects, and labs ==="
3232
rm -rf polymer-all/projects/
3333
mv projects/ polymer-all/
3434
cp -R js/bower_components/highlightjs/ components/highlightjs
35+
cp -R js/bower_components/marked/ components/marked
3536

3637
# Update designer =====
3738
cd $DESIGNER_DIR

0 commit comments

Comments
 (0)