aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage-google/feed-reader
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-27 15:38:51 -0700
committerArmen Kesablyan2012-06-27 15:38:51 -0700
commit53b8d67197a63e8c8efce102769dd8947a0eae4b (patch)
tree70d4ec7f7931ac3d249082a76167ac9bd73da777 /node_modules/montage-google/feed-reader
parent8eb74d31d3c9ac60d48312d8774fd02cad0c77af (diff)
parentd764ea70f75841cbe959733b471509b5a61d8b9c (diff)
downloadninja-53b8d67197a63e8c8efce102769dd8947a0eae4b.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Diffstat (limited to 'node_modules/montage-google/feed-reader')
-rw-r--r--node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html2
-rw-r--r--node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html1
-rw-r--r--node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js3
3 files changed, 1 insertions, 5 deletions
diff --git a/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html
index 332b2932..66471eab 100644
--- a/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html
+++ b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.html
@@ -45,7 +45,6 @@
45 } 45 }
46 }, 46 },
47 "owner": { 47 "owner": {
48 "prototype": "feed-reader/feed-entry.reel",
49 "properties": { 48 "properties": {
50 "element": {"#": "feed-entry"} 49 "element": {"#": "feed-entry"}
51 } 50 }
@@ -76,6 +75,7 @@
76</head> 75</head>
77<body> 76<body>
78 <div class="feed-entry" data-montage-id="feed-entry"> 77 <div class="feed-entry" data-montage-id="feed-entry">
78
79 <a target="_blank" data-montage-id="entry-url" class="entry-url"><h2 data-montage-id="entry-title" class="entry-title"></h2></a> 79 <a target="_blank" data-montage-id="entry-url" class="entry-url"><h2 data-montage-id="entry-title" class="entry-title"></h2></a>
80 <p data-montage-id="entry-description" class="entry-description"></p> 80 <p data-montage-id="entry-description" class="entry-description"></p>
81 </div> 81 </div>
diff --git a/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html b/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html
index 4d6792a1..a5c1346f 100644
--- a/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html
+++ b/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.html
@@ -38,7 +38,6 @@
38 }, 38 },
39 39
40 "owner": { 40 "owner": {
41 "prototype": "feed-reader/feed-reader.reel",
42 "properties": { 41 "properties": {
43 "element": {"#": "feed-reader"} 42 "element": {"#": "feed-reader"}
44 } 43 }
diff --git a/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js b/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js
index 34533d6d..3c139c60 100644
--- a/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js
+++ b/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js
@@ -16,11 +16,8 @@ exports.FeedReader = Montage.create(Component, {
16 value: function() { 16 value: function() {
17 var self = this; 17 var self = this;
18 var apiInit = function() { 18 var apiInit = function() {
19 console.log('google api initialized');
20
21 google.load("feeds", "1", { 19 google.load("feeds", "1", {
22 callback: function() { 20 callback: function() {
23 console.log('google feeds api loaded');
24 self._apiLoaded = true; 21 self._apiLoaded = true;
25 self.feedURL = self._feedURL; 22 self.feedURL = self._feedURL;
26 self.needsDraw = true; 23 self.needsDraw = true;