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

Commit 9bc38e8

Browse files
committed
update based on slight api tweaks.
1 parent f3d8547 commit 9bc38e8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pica/components/pi-app.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<polymer-element name="pi-app" extends="g-app" on-keyup="keyupHandler">
2121
<template>
2222
<link rel="stylesheet" href="css/pi-app.css" />
23-
<g-panels id="panels" selected="{{selectedPanel}}" transition="flow" autoselect on-select="panelSelectHandler">
23+
<g-panels id="panels" selected="{{selectedPanel}}" transition="flow" autoselect on-g-panels-select="panelSelectHandler">
2424
<g-ribbon id="ribbon" class="custom-panel" label="Pica" selected="{{ribbonSelected}}" valueattr="label" on-activate="showMain">
2525
<g-menu-item label="Home" src="../images/ribbon_home_lightreg.png" iconsize="32"></g-menu-item>
2626
<g-menu-item label="Topics" src="../images/ribbon_topics_lightreg.png" iconsize="32"></g-menu-item>

pica/components/pi-feed-viewer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<template>
1515
<link rel="stylesheet" href="css/pi-feed-viewer.css" />
1616
<g-panels id="panels" class="feed-viewer-panels" autoselect selected="{{panel}}" transition="keyframe"
17-
on-select="panelSelected" on-canselect="panelCanSelect">
17+
on-g-panels-select="panelSelected" on-g-panels-canselect="panelCanSelect">
1818
<pi-items-view id="topics" layout="{{topicsLayout}}" items="{{topics}}" view="topics" selected="{{topic}}"></pi-items-view>
1919
<pi-items-view id="stories" layout="{{layout}}" items="{{stories}}" view="flex" selected="{{story}}"></pi-items-view>
2020
<pi-story id="story" story="{{story}}" on-flick="storyFlickHandler" on-keydown="storyKeydownHandler"></pi-story>

pica/components/pi-items-view.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
var yTrans = yDist * 10 / dist;
117117
var xTrans = xDist * 10 / dist;
118118
var d = x + y;
119-
parGroup.add(
119+
parGroup.append(
120120
new Animation(cards[i], {
121121
opacity: ["0", "1"],
122122
"-webkit-transform": [

0 commit comments

Comments
 (0)