after some more thought, I've decided to remove the Plugins namespace, but keep the plugins directory. I don't want 3rd parties putting some things in the Kinetic namespace, while others put things in the Plugin space. I really don't see a real need for the namespacing. For organizational purposes, the plugins directory still makes sense, however.

This commit is contained in:
Eric Rowell
2013-03-24 20:42:27 -07:00
parent 3c63b13c95
commit 5192ccd954
15 changed files with 153 additions and 154 deletions

View File

@@ -7,7 +7,7 @@ Test.Modules.REGULAR_POLYGON = {
});
var layer = new Kinetic.Layer();
var poly = new Kinetic.Plugins.RegularPolygon({
var poly = new Kinetic.RegularPolygon({
x: 200,
y: 100,
sides: 3,
@@ -36,7 +36,7 @@ Test.Modules.REGULAR_POLYGON = {
});
var layer = new Kinetic.Layer();
var poly = new Kinetic.Plugins.RegularPolygon({
var poly = new Kinetic.RegularPolygon({
x: 200,
y: 100,
sides: 4,
@@ -58,7 +58,7 @@ Test.Modules.REGULAR_POLYGON = {
});
var layer = new Kinetic.Layer();
var poly = new Kinetic.Plugins.RegularPolygon({
var poly = new Kinetic.RegularPolygon({
x: 200,
y: 100,
sides: 5,
@@ -80,7 +80,7 @@ Test.Modules.REGULAR_POLYGON = {
});
var layer = new Kinetic.Layer();
var poly = new Kinetic.Plugins.RegularPolygon({
var poly = new Kinetic.RegularPolygon({
x: 200,
y: 100,
sides: 8,