moved Path to Plugins namespace

This commit is contained in:
Eric Rowell
2013-03-17 17:32:35 -07:00
parent a1f934d26a
commit b37f50ba69
7 changed files with 86 additions and 86 deletions

View File

@@ -528,7 +528,7 @@ Test.Modules.CONTAINER = {
data: "M 10,10 300,150 550,150"
});
var path = new Kinetic.Path({
var path = new Kinetic.Plugins.Path({
x: 200,
y: -75,
data: 'M200,100h100v50z',

View File

@@ -1,5 +1,5 @@
Test.Modules.LABEL = {
'*add label': function(containerId) {
'add label': function(containerId) {
var stage = new Kinetic.Stage({
container: containerId,
width: 578,

File diff suppressed because one or more lines are too long

View File

@@ -13,7 +13,7 @@ Test.Modules['TEXT PATH'] = {
var c = "M 10,10 300,150";
var path = new Kinetic.Path({
var path = new Kinetic.Plugins.Path({
stroke: 'red',
strokeWidth: 1,
data: c
@@ -47,7 +47,7 @@ Test.Modules['TEXT PATH'] = {
var layer = new Kinetic.Layer();
var c = "M10,10 C0,0 10,150 100,100 S300,150 400,50";
var path = new Kinetic.Path({
var path = new Kinetic.Plugins.Path({
stroke: 'red',
strokeWidth: 1,
data: c
@@ -82,7 +82,7 @@ Test.Modules['TEXT PATH'] = {
var layer = new Kinetic.Layer();
var c = "M 250,100 A 100 50 30 1 0 150 150";
var path = new Kinetic.Path({
var path = new Kinetic.Plugins.Path({
stroke: 'red',
strokeWidth: 1,
data: c