Skip to content

Instantly share code, notes, and snippets.

View Thibaut's full-sized avatar

Thibaut Courouble Thibaut

View GitHub Profile
@Thibaut
Thibaut / dirty.js.coffee
Created August 28, 2012 07:11
Spine Dirty Plugin
Include =
savePrevious: ->
@constructor.records[@id].previousAttributes = @attributes()
revertChanges: ->
if @previousAttributes