V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yakczh
V2EX  ›  Node.js

Backbone.history.start({pushState: true}); 提示没有start这个方法

  •  
  •   yakczh · 2012-12-27 09:57:52 +08:00 · 3327 次点击
    这是一个创建于 4130 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Meteor.Router.add({
    '/': 'home',
    '/login': 'login',
    '/signup': 'signup'

    }
    });

    Meteor.startup(function () {
    Backbone.history.start({pushState: true});
    });


    运行 TypeError: Cannot call method 'start' of undefined
    1 条回复    1970-01-01 08:00:00 +08:00
    hafeyang
        1
    hafeyang  
       2012-12-27 12:53:54 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5043 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:40 · PVG 13:40 · LAX 22:40 · JFK 01:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.