Skip to content

Instantly share code, notes, and snippets.

View patrickjholloway's full-sized avatar

Patrick Holloway patrickjholloway

View GitHub Profile
@patrickjholloway
patrickjholloway / backbonewoes
Created December 5, 2012 19:48
backbone model woes
#OUTPUT
undefined
Currentuser {attributes: Object, _escapedAttributes: Object, cid: "c1", changed: Object, _silent: Object…}
_changing: false
_escapedAttributes: Object
_pending: Object
_previousAttributes: Object
_silent: Object
class Workshop.Views.FontsIndex extends Backbone.View
el: '#content_wrapper'
initialize: ->
this.current_user = new Workshop.Models.Currentuser
this.current_user.fetch()
this.fonts = new Workshop.Collections.Fonts
this.fonts.fetch()
events:
'mouseenter span': 'whiteIcon'