Examples: replace use of deprecated functions.

This commit is contained in:
Jonathan Puckey 2011-06-19 17:37:43 +02:00
parent 874cf5713f
commit c167920480
5 changed files with 6 additions and 6 deletions

View file

@ -27,7 +27,7 @@
}
path.smooth();
var placedSymbol = new PlacedSymbol(path);
layer.appendBottom(placedSymbol);
layer.insertChild(0, placedSymbol);
}
layer.position = view.center;

View file

@ -28,7 +28,7 @@
for (var i = 0; i < lineCount; i++) {
var linePath = new Path.Line([0, 0], [0, 0]);
linePath.strokeColor = 'red';
lineGroup.appendTop(linePath);
lineGroup.addChild(linePath);
}
var path1 = new Path();