Changed JavaScript API name for signal connection and disconnection
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / docs / content / resource-image.js
index e14ad0f..fb982a0 100644 (file)
@@ -28,7 +28,7 @@ function imageLoaded( image )
   
 var image = new dali.ResourceImage( {url: "my_image.png"} );
   
-image.connect("imageLoadingFinished", finished );
+image.on("imageLoadingFinished", finished );
   
 // Create a material and add the image as texture to be used by the material.
 var material = new dali.Material();