(Programming Guide) KeyFrame Animation, Path Animation, Constraints
[platform/core/uifw/dali-toolkit.git] / docs / content / shared-javascript-and-cpp-documentation / script-overview.md
index bb7bb5d..d8eab23 100644 (file)
@@ -1,8 +1,9 @@
-/**
- *
+<!--
+/**-->
+
 # Scripting Overview  {#scriptoverview}
 
-Dali has:
+DALi has:
 - JSON to support:
  - layouting
  - theme / styling
@@ -17,7 +18,7 @@ Dali has:
 
 JSON support is built in to DALi.
 
-JavaScript support is via a plugin held in dali-toolkit, which builds automatically if Google's V8 engine is installed. 
+JavaScript support is via a plugin held in DALi Toolkit, which builds automatically if Google's V8 engine is installed. 
 The V8 version required by DALi can be built and installed using dali-core/scripts/dali_env script.
 
 Files can be loaded inside any DALi application, or from command line using the launcher ( part of dali-demo).
@@ -138,7 +139,7 @@ Actor userActorTree = builder.Create("users");
 #### JavaScript example
 
 ~~~{.js}
-builder.applyStyle = builder.create( "live-tv-focus", tvIcon );
+builder.applyStyle( "live-tv-focus", tvIcon );
 ~~~
 
 #### C++ example
@@ -184,12 +185,14 @@ builder.ApplyStyle( "live-tv-focus", tvIcon );
 #### JavaScript example
 
 ~~~{.js}
+// JavaScript
+
 var anim = builder.createAnimation( { animation:"animate-show", actor: myActor } );
 ~~~
 
-#### C++ example
-
 ~~~{.cpp}
+// C+++
+
 Animation anim = builder.createAnimation( "animate-show", propertyMap );
 ~~~