Skip to content

Commit

Permalink
wip.
Browse files Browse the repository at this point in the history
  • Loading branch information
Franco Sellitto committed Jun 8, 2011
1 parent 50f0eb5 commit 7d8eb45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/assets/javascripts/people.js.coffee
Expand Up @@ -3,13 +3,14 @@
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/

class PersonModel extends Backbone.Model
url: "http://localhost:3000/people",
url: "http://localhost:3000/people/4",
#name: "default name",
#initialize: ->
# alert "hello again"


a = new PersonModel({name: "Hans"})
#a.fetch()
#a.set({name: "my second name"})
#a.name = "my second name";

Expand Down

0 comments on commit 7d8eb45

Please sign in to comment.