MCQs > Website Designing & Development > BackBone.js > Which of the following code will you use if Defining a root route?

BackBone.js MCQs

Which of the following code will you use if Defining a root route?

Answer

Correct Answer: App.Router = Backbone.Router.extend({ routes: { '': 'index' }, index: function(){ $(document.body).append("root index route"); } });

Explanation:

Note: This Question is unanswered, help us to find answer for this one

BackBone.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

BackBone.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it