moved data type logic into new utility files Type.js and renamed GlobalObject to Global

This commit is contained in:
Eric Rowell
2012-07-03 22:08:59 -07:00
parent 17644fcb8f
commit 6126c73a84
13 changed files with 231 additions and 220 deletions

View File

@@ -1840,7 +1840,7 @@ Test.prototype.tests = {
test(darth.getHeight() === 100, 'height should be 100');
test(darth.getOffset().x === 50, 'center offset x should be 50');
test(darth.getOffset().y === 30, 'center offset y should be 30');
test(Kinetic.GlobalObject._isElement(darth.getImage()), 'darth image should be an element');
test(Kinetic.Type._isElement(darth.getImage()), 'darth image should be an element');
var crop = null;
crop = darth.getCrop();