剛開始使用Backbone.js。簡單地包括骨幹網(無論是開發/生產版本),導致錯誤:Backbone.js:`extend` undefined?
Uncaught TypeError: Cannot call method 'extend' of undefined
128線:
// Attach all inheritable methods to the Model prototype
_.extend(Backbone.Model.prototype, Backbone.Events,
問題:你是否將它與任何其他JS庫以及Backbone結合?你有沒有試過看看,如果你還沒有得到它的錯誤? – Spudley 2011-02-02 15:26:29
這是一個全新的Rails應用程序;我甚至沒有加載jQuery! :) – 2011-02-02 15:36:27