Permalink
Browse files

Add 'remote-show' library files.

This is the socket componante for remote control.
  • Loading branch information...
1 parent e7f9e47 commit 730209562bb2e2f563b6a6e6468bede6ee005707 @Techniv committed May 23, 2012
Showing with 25 additions and 5 deletions.
  1. +1 −1 libs/http-server/http-serv.js
  2. +10 −0 libs/remote-show/package.json
  3. +7 −0 libs/remote-show/remote-show.js
  4. +7 −4 package.json
View
2 libs/http-server/http-serv.js
@@ -63,7 +63,7 @@ eventManager.on('ready', function(){
app.get('/slideshow/:id/remote', function(req, res){
var args = req.params;
var meta = prepareMeta(args.id,{
- title: 'remote slideshow'
+ title: 'remote "'+meta.name+'"';
});
res.render('remote-home', meta);
View
10 libs/remote-show/package.json
@@ -0,0 +1,10 @@
+{
+ "name": "remote-show",
+ "main": "remote-show.js",
+
+ "dependencies": {
+ "express": ">= 2.5.0",
+ "socket.io": ">= 0.9.0",
+
+ }
+}
View
7 libs/remote-show/remote-show.js
@@ -0,0 +1,7 @@
+/**
+ * @author Vincent Peybernes [Techniv] <vpeybernes.pro@gmail.com>
+ */
+
+var RemoteShow = function(){
+ var io = require('socket.io');
+}
View
11 package.json
@@ -4,9 +4,12 @@
"author": "Vincent Peybernes [Techniv]",
"dependencies": {
- "colors": ">= 0.6.0",
- "express": ">= 2.5.0",
- "ejs": ">= 0.6.0",
- "cmd-conf": ">= 0.2.1"
+ "colors": ">= 0.6.0",
+ "express": ">= 2.5.0",
+ "socket.io": ">= 0.9.0",
+ "ejs": ">= 0.6.0",
+ "cmd-conf": ">= 0.2.1"
}
+
+ "engines": { "node": ">= 0.6.x" }
}

0 comments on commit 7302095

Please sign in to comment.