V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yakczh
V2EX  ›  Node.js

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

  •  
  •   yakczh · Dec 27, 2012 · 4002 views
    This topic created in 4875 days ago, the information mentioned may be changed or developed.
    Meteor.Router.add({
    '/': 'home',
    '/login': 'login',
    '/signup': 'signup'

    }
    });

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


    运行 TypeError: Cannot call method 'start' of undefined
    1 replies    1970-01-01 08:00:00 +08:00
    hafeyang
        1
    hafeyang  
       Dec 27, 2012
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2559 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 14:59 · PVG 22:59 · LAX 07:59 · JFK 10:59
    ♥ Do have faith in what you're doing.