根据骨干网站:
孤身仅是硬性依赖物(和大体;1.3.1)。 对于教育的持久性,历史通过背后支持。 Liner and DOM por with Backbone. 观点包括json2.js和j Query(1.4.2)或Zepto。
I tested with code below, removing jQuery and the Backbone view throws an error.
<html>
<head>
<title>asda</title>
<!--<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>-->
<script src="http://documentcloud.github.com/underscore/underscore.js"></script>
<script src="http://documentcloud.github.com/backbone/backbone.js"></script>
<script type="text/javascript" charset="utf-8" async defer>
SearchView = Backbone.View.extend({
initialize: function(){
alert("Alerts suck.");
}
});
// The initialize function is always called when instantiating a Backbone View.
// Consider it the constructor of the class.
var search_view = new SearchView;
</script>
</head>
<body>
</body>
</html>
如何战胜。 观点和背后。 1. 路线上不作Qu?