-
-
Save codeschool-courses/1996310 to your computer and use it in GitHub Desktop.
var Appointment = Backbone.Model.extend({}); | |
var appointment = new Appointment(); | |
var AppointmentView = Backbone.View.extend({}); |
@NYCLUBOY, I pasted your last line and it worked fine, I don't know if they fixed something or you were submitting the whole 4 lines not just the last line.
I'm having the same issue.
I even copied and pasted from the hint and it still didn't work.
*I submitted all four lines.
Still having the same issue, I cut and paste the same 4 lines and still fails.
this exercise, "Set the Title", and "Render the View" seem not to be working correctly.
Looks like they only want the last line of code. I got stuck on the second excercise the same way.
var Appointment = Backbone.Model.extend({});
var appointment = new Appointment();
var AppointmentView = Backbone.View.extend({});
var appointmentView1 = new AppointmentView({model:appointment});
I have pasted this code but it still not working.
Thanks for answering folks!!!
var Appointment = Backbone.Model.extend({});
var appointment = new Appointment();
var AppointmentView = Backbone.View.extend({});
var appointmentView = new AppointmentView({model: appointment});
is correct but the challenge wont accept it - what gives?? anyone see what I may have done wrong?