Permalink
Browse files

Integrating Greg Nelson's change to work with latest meteor.

  • Loading branch information...
1 parent 4479649 commit cf98c29ddfc6d504d402083ff24efa142d3fca89 @bmelton committed Apr 25, 2012
Showing with 15 additions and 15 deletions.
  1. +15 −15 client/orbvt.js
View
@@ -3,6 +3,21 @@ Properties = new Meteor.Collection("Properties");
nPosts = new Meteor.Collection("nPosts");
if (Meteor.is_client) {
+var Router = Backbone.Router.extend({
+ routes: {
+ "/": "main",
+ "/new": "new"
+ },
+ main: function() {
+ console.log("Yo yo");
+ },
+ new: function() {
+ console.log("New");
+ }
+});
+Router = new Router;
+
+
Template.stamp.stamp = function() {
return today();
};
@@ -42,21 +57,6 @@ Meteor.startup(function () {
});
var self = this;
-var Router = Backbone.Router.extend({
- routes: {
- "": "main",
- "new": "new"
- },
- main: function() {
- console.log("Yo yo");
- },
- new: function() {
- console.log("New");
- }
-});
-
-Router = new Router;
-
Eve.scope("#test", function() {
this.listen("li.nav", "click", function() {
console.log("HOLLA");

0 comments on commit cf98c29

Please sign in to comment.