mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 10:47:59 +08:00
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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user