Permalink
Browse files

moved app to example/example.js

  • Loading branch information...
1 parent afa6536 commit 5107c649bb7cab77877b04801b350e6b697ca22b @jedp committed May 11, 2011
View
@@ -7,3 +7,12 @@
[submodule "public/javascripts/headjs"]
path = public/javascripts/headjs
url = git://github.com/headjs/headjs.git
+[submodule "example/public/javascripts/headjs"]
+ path = example/public/javascripts/headjs
+ url = git://github.com/headjs/headjs.git
+[submodule "example/public/javascripts/backbone"]
+ path = example/public/javascripts/backbone
+ url = git://github.com/documentcloud/backbone.git
+[submodule "example/public/javascripts/underscore"]
+ path = example/public/javascripts/underscore
+ url = git://github.com/documentcloud/underscore.git
View
@@ -1,4 +1,4 @@
-var _ = require('./public/javascripts/underscore');
+var _ = require('underscore');
var fs = require('fs');
var r = require('redis').createClient();
@@ -5,7 +5,7 @@
var express = require('express');
var nowjs = require('now');
-var completer = require('./completer');
+var completer = require('../completer');
var app = module.exports = express.createServer();
@@ -47,6 +47,6 @@ everyone.now.search = function(text, count, callback) {
// Only listen on $ node app.js
if (!module.parent) {
- app.listen(3000);
+ app.listen(3001);
console.log("Express server listening on port %d", app.address().port);
}
Submodule backbone added at 82e0b3
Submodule headjs added at 395631
File renamed without changes.
Submodule underscore added at 5951d3
File renamed without changes.
File renamed without changes.
File renamed without changes.
Submodule backbone deleted from 222d67
Submodule headjs deleted from 50dc3e
Submodule underscore deleted from b61761

0 comments on commit 5107c64

Please sign in to comment.