-1
我已經開始與骨幹今天有很難得到它加載它返回錯誤的骨幹JS有沒有方法擴展
Uncaught TypeError: Object function (a,b){var c,d=a||
{};this.cid=f.uniqueId("c");this.attributes={};b&&b.collection&&
(this.collection=b.collection);b&&b.parse&&(d=this.parse(d,b)||
{});if(c=f.result(this,"defaults"))d=f.defaults({},
d,c);this.set(d,b);this.changed={};this.initialize.apply(this,arguments)} has no method
'Extend'
這實際上意味着它有沒有所謂的擴展方法。
代碼
<html>
<head>
<title></title>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script type="text/javascript" src="https://raw.github.com/douglascrockford/JSON-js/master/json2.js"></script>
<script type="text/javascript" src="http://underscorejs.org/underscore.js"></script>
<script type="text/javascript" src="http://backbonejs.org/backbone.js"></script>
<script type="text/javascript">
(function($){
Wine = Backbone.Model.Extend();
})(jQuery);
</script>
</head>
<body>
</body>
</html>
的是什麼呢
,我的天哪,這是什麼時候發生的新手有一個新的圖書館開始..感謝 –
不要忘記接受這是答案! –