Lines Matching refs:Backbone
20 root.Backbone = factory(root, exports, _, $);
31 root.Backbone = factory(root, {}, root._, (root.jQuery || root.Zepto || root.ender || root.$));
34 })(function(root, Backbone, _, $) { argument
41 var previousBackbone = root.Backbone;
47 Backbone.VERSION = '1.3.3';
51 Backbone.$ = $;
55 Backbone.noConflict = function() {
56 root.Backbone = previousBackbone;
63 Backbone.emulateHTTP = false;
69 Backbone.emulateJSON = false;
132 var Events = Backbone.Events = {};
382 _.extend(Backbone, Events);
394 var Model = Backbone.Model = function(attributes, options) {
442 return Backbone.sync.apply(this, arguments);
762 var Collection = Backbone.Collection = function(models, options) {
811 return Backbone.sync.apply(this, arguments);
1233 var View = Backbone.View = function(options) {
1304 this.$el = el instanceof Backbone.$ ? el : Backbone.$(el);
1406 Backbone.sync = function(method, model, options) {
1411 emulateHTTP: Backbone.emulateHTTP,
1412 emulateJSON: Backbone.emulateJSON
1461 var xhr = options.xhr = Backbone.ajax(_.extend(params, options));
1477 Backbone.ajax = function() {
1478 return Backbone.$.ajax.apply(Backbone.$, arguments);
1486 var Router = Backbone.Router = function(options) {
1526 Backbone.history.route(route, function(fragment) {
1531 Backbone.history.trigger('route', router, name, args);
1545 Backbone.history.navigate(fragment, options);
1595 var History = Backbone.History = function() {
1892 Backbone.history = new History;
1945 return Backbone;