Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit cf98c29ddfc6d504d402083ff24efa142d3fca89 1 parent 4479649
@bmelton authored
Showing with 15 additions and 15 deletions.
  1. +15 −15 client/orbvt.js
View
30 client/orbvt.js
@@ -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");
Please sign in to comment.
Something went wrong with that request. Please try again.