changeset 2:9910e977e694

Separated out entries into entries.js
author Atul Varma <varmaa@toolness.com>
date Fri, 27 Nov 2009 11:49:10 -0500
parents af52e3302662
children fb1ca1cf7a19
files entries.js mozilla-the-big-picture.html mozilla-the-big-picture.js
diffstat 3 files changed, 34 insertions(+), 34 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/entries.js	Fri Nov 27 11:49:10 2009 -0500
@@ -0,0 +1,33 @@
+var __entries = [
+  {
+    'title': 'pocketfox',
+    'caption': 'no u',
+    'date': '',
+    'post': 'http://blog.mozilla.com/blog/2009/11/06/firefox-goes-mobile-winner-announced-plus-a-new-design-challenge/',
+    'large': 'http://creative.mozilla.org/images/designs/0/346/346_lg.jpg'
+  },
+  {
+    'title': 'colosseo',
+    'caption': '',
+    'date': '',
+    'post': 'http://www.flickr.com/photos/nois3lab/4088072729/in/set-72157622640597827/',
+    'large': 'http://farm3.static.flickr.com/2567/4088072729_0286a1611c_o.jpg',
+    'small': 'http://farm3.static.flickr.com/2567/4088072729_57e0e4c513.jpg'
+  },
+  {
+    'title': 'happy b-day firefox',
+    'caption': '',
+    'date': '',
+    'post': 'http://www.flickr.com/photos/rogeliocalamaya/4090865406/',
+    'large': 'http://farm3.static.flickr.com/2778/4090865406_2cc961098e_o.jpg',
+    'small': 'http://farm3.static.flickr.com/2778/4090865406_76ed2868d9.jpg'
+  },
+  {
+    'title': 'sketch day',
+    'caption': '',
+    'date': '',
+    'post': 'http://blog.stephenhorlander.com/2009/11/20/sketch-day/',
+    'large': 'http://www.stephenhorlander.com/images/blog-posts/sketches/menu-sketch-large.jpg',
+    'small': 'http://www.stephenhorlander.com/images/blog-posts/sketches/menu-sketch-small.jpg'
+  }
+];
--- a/mozilla-the-big-picture.html	Fri Nov 27 11:44:28 2009 -0500
+++ b/mozilla-the-big-picture.html	Fri Nov 27 11:49:10 2009 -0500
@@ -10,5 +10,6 @@
 <div id="pics"></div>
 </body>
 <script src="jquery.js"></script>
+<script src="entries.js"></script>
 <script src="mozilla-the-big-picture.js"></script>
 </html>
--- a/mozilla-the-big-picture.js	Fri Nov 27 11:44:28 2009 -0500
+++ b/mozilla-the-big-picture.js	Fri Nov 27 11:49:10 2009 -0500
@@ -1,37 +1,3 @@
-var __entries = [
-  {
-    'title': 'pocketfox',
-    'caption': 'no u',
-    'date': '',
-    'post': 'http://blog.mozilla.com/blog/2009/11/06/firefox-goes-mobile-winner-announced-plus-a-new-design-challenge/',
-    'large': 'http://creative.mozilla.org/images/designs/0/346/346_lg.jpg'
-  },
-  {
-    'title': 'colosseo',
-    'caption': '',
-    'date': '',
-    'post': 'http://www.flickr.com/photos/nois3lab/4088072729/in/set-72157622640597827/',
-    'large': 'http://farm3.static.flickr.com/2567/4088072729_0286a1611c_o.jpg',
-    'small': 'http://farm3.static.flickr.com/2567/4088072729_57e0e4c513.jpg'
-  },
-  {
-    'title': 'happy b-day firefox',
-    'caption': '',
-    'date': '',
-    'post': 'http://www.flickr.com/photos/rogeliocalamaya/4090865406/',
-    'large': 'http://farm3.static.flickr.com/2778/4090865406_2cc961098e_o.jpg',
-    'small': 'http://farm3.static.flickr.com/2778/4090865406_76ed2868d9.jpg'
-  },
-  {
-    'title': 'sketch day',
-    'caption': '',
-    'date': '',
-    'post': 'http://blog.stephenhorlander.com/2009/11/20/sketch-day/',
-    'large': 'http://www.stephenhorlander.com/images/blog-posts/sketches/menu-sketch-large.jpg',
-    'small': 'http://www.stephenhorlander.com/images/blog-posts/sketches/menu-sketch-small.jpg'
-  }
-];
-
 function ObserverManager(subject) {
   this.subject = subject;
   this.observers = {};