summaryrefslogtreecommitdiffstats
path: root/examples/nodejs-mongodb-mongoose-restify
diff options
context:
space:
mode:
authorThomas Davis <thomasalwyndavis@gmail.com>2012-04-22 23:07:21 +1000
committerThomas Davis <thomasalwyndavis@gmail.com>2012-04-22 23:07:21 +1000
commitba7b88f2d40c2b2fdeeb888d595c0d803e03eb28 (patch)
tree6a138d6f02906a106ec5bedcc8c9cfa3d45179a3 /examples/nodejs-mongodb-mongoose-restify
parentec1a010b5eb959f090d17b30add1eb833f4209e6 (diff)
downloadbackbonetutorials-ba7b88f2d40c2b2fdeeb888d595c0d803e03eb28.zip
backbonetutorials-ba7b88f2d40c2b2fdeeb888d595c0d803e03eb28.tar.gz
backbonetutorials-ba7b88f2d40c2b2fdeeb888d595c0d803e03eb28.tar.bz2
ooo
Diffstat (limited to 'examples/nodejs-mongodb-mongoose-restify')
-rw-r--r--examples/nodejs-mongodb-mongoose-restify/js/collections/messages.js3
-rw-r--r--examples/nodejs-mongodb-mongoose-restify/js/models/message.js3
-rw-r--r--examples/nodejs-mongodb-mongoose-restify/package.json8
3 files changed, 8 insertions, 6 deletions
diff --git a/examples/nodejs-mongodb-mongoose-restify/js/collections/messages.js b/examples/nodejs-mongodb-mongoose-restify/js/collections/messages.js
index 1edaa0a..59d32db 100644
--- a/examples/nodejs-mongodb-mongoose-restify/js/collections/messages.js
+++ b/examples/nodejs-mongodb-mongoose-restify/js/collections/messages.js
@@ -6,7 +6,8 @@ define([
], function($, _, Backbone, MessageModel){
var Messages = Backbone.Collection.extend({
model: MessageModel,
- url: 'http://localhost:8080/messages'
+ //url: 'http://localhost:8080/messages'
+ url: 'http://backbonetutorials.nodejitsu.com/messages'
});
return Messages;
diff --git a/examples/nodejs-mongodb-mongoose-restify/js/models/message.js b/examples/nodejs-mongodb-mongoose-restify/js/models/message.js
index d61d447..19b15d2 100644
--- a/examples/nodejs-mongodb-mongoose-restify/js/models/message.js
+++ b/examples/nodejs-mongodb-mongoose-restify/js/models/message.js
@@ -3,7 +3,8 @@ define([
'backbone'
], function(_, Backbone) {
var Message = Backbone.Model.extend({
- url: 'http://localhost:8080/messages'
+ //url: 'http://localhost:8080/messages'
+ url: 'http://backbonetutorials.nodejitsu.com/messages'
});
return Message;
});
diff --git a/examples/nodejs-mongodb-mongoose-restify/package.json b/examples/nodejs-mongodb-mongoose-restify/package.json
index 522b0ba..6de9aaf 100644
--- a/examples/nodejs-mongodb-mongoose-restify/package.json
+++ b/examples/nodejs-mongodb-mongoose-restify/package.json
@@ -1,10 +1,10 @@
{
- "name": "budder",
- "subdomain": "budder",
+ "name": "backbonetutorials",
+ "subdomain": "backbonetutorials",
"scripts": {
"start": "server.js"
},
- "version": "0.0.0-8",
+ "version": "0.0.0-9",
"engines": {
"node": "0.6.x"
},
@@ -12,4 +12,4 @@
"restify": "1.4.x",
"mongoose": "2.6.x"
}
-} \ No newline at end of file
+}