spraypaint.js
spraypaint.js copied to clipboard
Copy original attributes during record.dup() as well.
Currently, if you duplicate a record using the dup()
function it doesn't copy original attribute values. It leads to a problem that changed attributes are not seen in changes()
.
Looks like a good fix! Would you mind adding a corresponding spec too?