Skip to content

Instantly share code, notes, and snippets.

@codeschool-courses
Last active May 3, 2025 05:34
Show Gist options
  • Save codeschool-courses/4683932 to your computer and use it in GitHub Desktop.
Save codeschool-courses/4683932 to your computer and use it in GitHub Desktop.
Backbone 2 - Challenge 1-5
{ "appointment": { "title": "Ms. Kitty Hairball Treatment", "cankelled": false, "identifer": 1 }
// In the `Appointment` Model
parse: function(response){
var appointment = response.appointment;
appointment.cancelled = appointment.cankelled;
delete appointment.cankelled;
return appointment;
}
@happysing123
Copy link

Hello, Can we create a tool like sasa350.co.za using JSON? I am a bit confused. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment