fix #96 setting text to integer data types no longer fails

This commit is contained in:
ericdrowell
2012-09-23 18:41:05 -07:00
parent 9fde3036f7
commit a349fa488c
4 changed files with 14 additions and 2 deletions

View File

@@ -2774,6 +2774,9 @@ Test.prototype.tests = {
test(text.getShadow().color === 'green', 'text box shadow color should be green');
test(text.getCornerRadius() === 20, 'text box corner radius should be 20');
test(text.getDraggable() === false, 'text draggable should be false');
// test set text to integer
text.setText(5);
//document.body.appendChild(layer.bufferCanvas.element)