Merge pull request #637 from Kienz/patch-1

Add `complexity` method to fabric.Text (returns 1)
This commit is contained in:
Juriy Zaytsev 2013-05-20 02:44:51 -07:00
commit 4aa656c549

View file

@ -900,6 +900,14 @@
this._initDimensions();
this.setCoords();
}
},
/**
* Returns complexity of an instance
* @return {Number} complexity
*/
complexity: function() {
return 1;
}
});