Permalink
Browse files

added some file to help with the view model

  • Loading branch information...
1 parent f926cab commit 15c41ee64c281b3dac3db4be116e09cf70d7a62e bconsole committed Jan 26, 2012
Showing with 21 additions and 0 deletions.
  1. +7 −0 index.js
  2. +6 −0 public/css/video.css
  3. +8 −0 public/js/jquery.videos.js
View
@@ -49,6 +49,7 @@ function loadHead(callback) {
h += '<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>';
h += '<link href="/css-norm" type="text/css" rel="stylesheet" />';
h += '<link href="/css-base" type="text/css" rel="stylesheet" />';
+ h += '<link href="/css-video" type="text/css" rel="stylesheet" />';
h += '</head>';
callback(null, h);
@@ -101,6 +102,12 @@ app.get('/css-base', function(req, res){
util.pump(rs, res);
});
+app.get('/css-video', function(req, res){
+ res.header('Content-Type', 'text/css');
+ var rs = fs.createReadStream(__dirname + '/public/css/video.css');
+ util.pump(rs, res);
+});
+
app.get('/', function(req, res){
res.header('Content-Type', 'text/html');
res.write('Watcha Watching');
View
@@ -0,0 +1,6 @@
+#videos {
+
+}
+#videos li {
+
+}
@@ -0,0 +1,8 @@
+$.fn.extend({
+ buildView: function () {
+
+ return this.each(function(){
+ var current_elem = $(this);
+ });
+ }
+});

0 comments on commit 15c41ee

Please sign in to comment.