cutting down Factory by creating a addComponentsGetterSetter method which all component attrs will use

This commit is contained in:
Eric Rowell
2014-01-08 23:13:50 -08:00
parent 01306af86b
commit f73baa1a4e
7 changed files with 138 additions and 184 deletions

View File

@@ -37,6 +37,7 @@ suite('Image', function(){
var crop = null;
crop = darth.getCrop();
assert.equal(crop.x, 135);
assert.equal(crop.y, 7);
assert.equal(crop.width, 167);