Correct Answer : Jeremy Ashkenas
Explanation :
Correct Answer : October 13, 2010
Correct Answer : All of the above
Explanation : All of the above are the main components of Backbone.js.
Correct Answer : All of the above.
Correct Answer : var Todo = Backbone.Model.extend({}); var todo1 = new Todo(); console.log(JSON.stringify(todo1)); var todo2 = new Todo({ title: 'Check the attributes of both model instances in the console.', completed: true }); console.log(JSON.stringify(todo2));
Correct Answer : The ModelBinder class is used to make a synchronization process of views and models together.
Explanation : The ModelBinder class is used to make a synchronization process of views and models together.
Explanation : All of the above are the configuration options available in Backbone.js.
Correct Answer : All of the Above.
Correct Answer : jQuery, Backbone.js, Underscore
Explanation : The three js files required to set up Backbone.js are jQuery, Backbone.js, Underscore, etc.
Correct Answer : When Backbone.js wants to save or read a model to the Server, it calls out a function called Backbone.sync.
Explanation : All of the above options specify the view in Backbone.js.
Correct Answer : When a model's attribute is copied to an HTML element or when an HTML element's value is copied into a model's attribute, a function is called; this function is known as a converter in Backbone Js.
Correct Answer : Router = Backbone.Router.extend({ routes: { ": 'index' }, index: function(){ $(document.body).append("root index route"); } });
Correct Answer : first(20)
Correct Answer : "sync"(model_or_collection, resp, options)
Correct Answer : sort
Correct Answer : var Type = Backbone.Model.extend({ urlRoot : "/api/SomeRoute" });
Explanation : All of the above are typical problems you might face with the Backbone.js view code.
Correct Answer : 3
Correct Answer : All the above
Correct Answer : require.config({ baseUrl:
Correct Answer : npm install -g yeoman
Correct Answer : on
Correct Answer : npm install -g grunt-cli
Correct Answer : invalid
Correct Answer : collection.first(20)
Correct Answer : App.Router = Backbone.Router.extend({ routes: { '': 'index' }, index: function(){ $(document.body).append("root index route"); } });
Correct Answer : routers
Correct Answer : When Backbone wants to save or read a model to the server it calls out a function called as Backbone.sync.
Correct Answer : undelegateEvents
Correct Answer : collection.fetch()
Correct Answer : render: function(){ var templateFn = this.options.template || this.template; this.$el.html(templateFn(this.model.attributes)); return this; }
Correct Answer : omit
Correct Answer : subString
Correct Answer : phantomjs.runner.js [timeout-in-seconds] [url-of-your-qunit-testsuite]
Correct Answer : QUnitJog = function(results, message)[ ];
Correct Answer : to Have Been Triggered( event, handler)
Correct Answer : on('change',)
Correct Answer : on Close
Correct Answer : collection.unshift(model. [options])
Correct Answer : jQuery Selector
Correct Answer : _.extend(Backbone.Events); var object = {};
Correct Answer : delegateEvents()
Correct Answer : deequual(actual, expected)
Correct Answer : on Render
Correct Answer : json2.js
Correct Answer : myViewExampIe = new ExampleView();
Correct Answer : var myCollection = Backbone.Collection.extend({ parse: function(response) { return response.slice(0,20); } });
Correct Answer : Hash
Correct Answer : trigger
Correct Answer : create
Correct Answer : Collection.set()
Correct Answer : :params
Correct Answer : window.history.push State
Correct Answer : create, update, patch, delete, read
Correct Answer : Fetch(), save()
Correct Answer : Backbone.history.start();
Correct Answer : setElement
Correct Answer : collection.retrive()
Correct Answer : object.on(event, callback)
Correct Answer : deleteList: function() { if (confirm(delete a list?')) { bTask.views.activeListMenuItem.model.destroy(); } return false; }