From: Adeel Kazmi Date: Thu, 28 Apr 2016 16:55:45 +0000 (+0100) Subject: Remove ImageActor usage from V8 plugin X-Git-Tag: dali_1.1.32~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=556f077c8d4e57a7afdcffea9968feebefc0cf18;ds=sidebyside Remove ImageActor usage from V8 plugin Change-Id: I88eb6606b232e2cbca081933c8cebb7c87b084c1 --- diff --git a/plugins/dali-script-v8/src/animation/animation-api.cpp b/plugins/dali-script-v8/src/animation/animation-api.cpp index e20e656..3a63034 100644 --- a/plugins/dali-script-v8/src/animation/animation-api.cpp +++ b/plugins/dali-script-v8/src/animation/animation-api.cpp @@ -825,7 +825,7 @@ void AnimationApi::Animate( const v8::FunctionCallbackInfo& args ) * * // animation x position * var anim = new dali.Animation( 1 ); - * anim.animateBy( imageActor,"positionX", 30 ); + * anim.animateBy( actor,"positionX", 30 ); * anim.play(); * * // animate x,y,z position with the optional animation options @@ -835,7 +835,7 @@ void AnimationApi::Animate( const v8::FunctionCallbackInfo& args ) * alpha:"easeInOutSine" // Speeds up and slows to a gradual stop * } * - * anim.animateBy( imageActor,"position", [100,200,0], options ); + * anim.animateBy( actor,"position", [100,200,0], options ); * */ void AnimationApi::AnimateBy( const v8::FunctionCallbackInfo& args ) @@ -886,7 +886,7 @@ void AnimationApi::AnimateBy( const v8::FunctionCallbackInfo& args ) * @example * * var anim = new dali.Animation( 1 ); - * anim.animateTo( imageActor,"positionX", 30 ); + * anim.animateTo( actor,"positionX", 30 ); * anim.play(); * * @@ -897,7 +897,7 @@ void AnimationApi::AnimateBy( const v8::FunctionCallbackInfo& args ) * alpha:"easeInOutSine" // Speeds up and slows to a gradual stop * } * - * anim.animateTo( imageActor,"position", [100,200,0], options ); + * anim.animateTo( actor,"position", [100,200,0], options ); * */ void AnimationApi::AnimateTo( const v8::FunctionCallbackInfo< v8::Value >& args ) @@ -977,7 +977,7 @@ void AnimationApi::AnimateTo( const v8::FunctionCallbackInfo< v8::Value >& args * } ]; * * - * anim.animateBetween( imageActor,"position", keyframes ); + * anim.animateBetween( actor,"position", keyframes ); * */ void AnimationApi::AnimateBetween( const v8::FunctionCallbackInfo< v8::Value >& args )