Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moved app to example/example.js

  • Loading branch information...
commit 5107c649bb7cab77877b04801b350e6b697ca22b 1 parent afa6536
@jedp authored
View
9 .gitmodules
@@ -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
2  completer.js
@@ -1,4 +1,4 @@
-var _ = require('./public/javascripts/underscore');
+var _ = require('underscore');
var fs = require('fs');
var r = require('redis').createClient();
View
4 app.js → example/example.js
@@ -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);
}
1  example/public/javascripts/backbone
@@ -0,0 +1 @@
+Subproject commit 82e0b34adabde249d6eb2359ffe7d0abb739ef18
1  example/public/javascripts/headjs
@@ -0,0 +1 @@
+Subproject commit 395631d3350cec7baa6b59bed653a5cfa2c5843e
View
0  public/javascripts/models.js → example/public/javascripts/models.js
File renamed without changes
1  example/public/javascripts/underscore
@@ -0,0 +1 @@
+Subproject commit 5951d354afe0c4f42600e968f4bc4ff0eda99a66
View
0  public/stylesheets/style.css → example/public/stylesheets/style.css
File renamed without changes
View
0  views/index.jade → example/views/index.jade
File renamed without changes
View
0  views/layout.jade → example/views/layout.jade
File renamed without changes
1  public/javascripts/backbone
@@ -1 +0,0 @@
-Subproject commit 222d673dccd7f82e1d2ca65cf451c893e943a74d
1  public/javascripts/headjs
@@ -1 +0,0 @@
-Subproject commit 50dc3ea9ccdd60a517b979164fdfa6d05239b28e
1  public/javascripts/underscore
@@ -1 +0,0 @@
-Subproject commit b6176158199acfbb400e712b6333941c130f371a
Please sign in to comment.
Something went wrong with that request. Please try again.