Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.
Merged
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
22 changes: 22 additions & 0 deletions polymer-build-mobile/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
This is a sample code for the Google IO 2014 codelab
"Polymer: Build a Material Design Mobile Web App with Paper Elements".

Codelab instructions: http://io2014codelabs.appspot.com/static/codelabs/polymer-build-mobile/

***
This code sample uses [Bower](http://bower.io/) to manage code dependencies. Plese run

$ bower install

in each directory you wish to test before running the sample in the browser.
***

***
Polymer requires files to be served over HTTP server rather than as local files.
E.g. if you have python (2.x) installed, run

$ python -m SimpleHTTPServer

(or another server of your choice) to view the sample in the browser.
***

4 changes: 2 additions & 2 deletions polymer-build-mobile/end/codelab-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@
<template repeat="{{data}}" >
<div center horizontal layout class="item" data-done="{{done}}">
<paper-checkbox checked="{{done}}" on-change="{{dataChanged}}"></paper-checkbox>
<div flex class="card paper-shadow-top-z-2">
<div flex class="card">
<p>{{body}}</p>
<paper-ripple class="fit recenteringTouch"></paper-ripple>
<paper-shadow z="2"></paper-shadow>
</div>
</div>
</template>
Expand All @@ -73,7 +74,6 @@

</core-drawer-panel>
<core-localstorage id="storage" name="codelab-app-storage" value="{{data}}"></core-localstorage>
<paper-shadow></paper-shadow>
</template>
<script>
Polymer('codelab-app', {
Expand Down
2 changes: 1 addition & 1 deletion polymer-build-mobile/step3/codelab-app.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<link rel="import" href="bower_components/polymer/polymer.html">
<link rel="import" href="bower_components/font-roboto2/roboto2.html">
<link rel="import" href="bower_components/font-roboto/roboto.html">
<link rel="import" href="bower_components/core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="bower_components/core-header-panel/core-header-panel.html">
<link rel="import" href="bower_components/core-toolbar/core-toolbar.html">
Expand Down