X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fdali-script-v8%2Fsrc%2Fanimation%2Fanimation-api.cpp;h=0db448236684c529ebb3be93b3d93b167b20d31a;hb=c21f89ce2860e287d964cf11c5267f9d240660f4;hp=9378742770d6bc8823c8a1ff58e33f0485e13a4e;hpb=df92f45e89c92ca9b2286d51116ff7b69e75c569;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git
diff --git a/plugins/dali-script-v8/src/animation/animation-api.cpp b/plugins/dali-script-v8/src/animation/animation-api.cpp
index 9378742..0db4482 100644
--- a/plugins/dali-script-v8/src/animation/animation-api.cpp
+++ b/plugins/dali-script-v8/src/animation/animation-api.cpp
@@ -245,9 +245,9 @@ bool GetAnimationParameters( v8::Isolate* isolate,
AnimationParameters& animParams,
AnimationApi::AnimationParameterType type)
{
- // used for things like anim.AnimateBy( myImageActor, property-name, property-value (or Javascript number array));
+ // used for things like anim.AnimateBy( myImageView, property-name, property-value (or Javascript number array));
// 1 extract property handle from param1.
- // 2 extract property name from param2 ( can be in the format "u-color" or "uColor"
+ // 2 extract property name from param2 ( in the format "uColor" )
// 3 extract PropertyValue from param3
// 4 extract animation options ( delay, duration, alpha func)
@@ -273,9 +273,7 @@ bool GetAnimationParameters( v8::Isolate* isolate,
if( index == Property::INVALID_INDEX )
{
- // convert the property name from "uColor" to "u-color"
- std::string convetedName = V8Utils::JavaScriptNameToPropertyName( propertyName );
- index = animParams.target.GetPropertyIndex( convetedName );
+ index = animParams.target.GetPropertyIndex( propertyName );
}
animParams.propertyIndex = index;
@@ -1030,7 +1028,7 @@ void AnimationApi::AnimateTo( const v8::FunctionCallbackInfo< v8::Value >& args
*
* create some keyframes to move an actor around a square, and return to the start
*
- *
+ *
*
*
* var keyframes = [