Mention read-only nature of “type”

This commit is contained in:
kangax 2015-01-13 12:53:25 +01:00
parent 2f0b551491
commit df888e47cc

View file

@ -297,7 +297,9 @@
*/
/**
* Type of an object (rect, circle, path, etc.)
* Type of an object (rect, circle, path, etc.).
* Note that this property is meant to be read-only and not meant to be modified.
* If you modify, certain parts of Fabric (such as JSON loading) won't work correctly.
* @type String
* @default
*/