summaryrefslogtreecommitdiffstats
path: root/examples/declarative/snow/create.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/snow/create.js')
-rw-r--r--examples/declarative/snow/create.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/snow/create.js b/examples/declarative/snow/create.js
index 9def7a7..2bdae4a 100644
--- a/examples/declarative/snow/create.js
+++ b/examples/declarative/snow/create.js
@@ -1,12 +1,12 @@
var myComponent = null;
function createNewBlock() {
- if (myComponent == null)
+ if (myComponent == null)
myComponent = createComponent("ImageBatch.qml");
var obj = myComponent.createObject();
- obj.parent = MyLayout;
+ obj.parent = layout;
obj.offset = maximumColumn + 1;
- obj.ref = ImagePanel;
+ obj.ref = imagePanel;
maximumColumn += 5;
}