Last active
May 3, 2025 05:34
-
-
Save codeschool-courses/4683932 to your computer and use it in GitHub Desktop.
Backbone 2 - Challenge 1-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "appointment": { "title": "Ms. Kitty Hairball Treatment", "cankelled": false, "identifer": 1 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In the `Appointment` Model | |
parse: function(response){ | |
var appointment = response.appointment; | |
appointment.cancelled = appointment.cankelled; | |
delete appointment.cankelled; | |
return appointment; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, Can we create a tool like sasa350.co.za using JSON? I am a bit confused. Thanks