DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


getting_started:docs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
getting_started:docs [2018/12/30 13:34]
182.1.60.113 [app]
getting_started:docs [2018/12/30 17:05] (current)
administrator old revision restored (2018/12/30 05:27)
Line 1: Line 1:
-function indicator( v ) { +======Documentation====== 
-    ​return v0 ]; +The docs section of the **[[ide|IDE]]** is a good place for newcomers to look to find out how DroidScript works.
-+
-var arr = '​beep',​ '​boop',​ '​foo',​ '​bar' ​];+
  
-var out = groupBy( arrindicator ); +At the very leastyou should look at the first two sectionsIntroduction and Layouts.
-// returns { '​b':​ [ '​beep'​'​boop',​ '​bar'​ ], '​f':​ [ '​foo'​ ] } +
-function predicate( key, value ) { +
-    return ( value > 1 ); +
-}+
  
-var obj1 = { 
-    '​a':​ 1, 
-    '​b':​ 2, 
-    '​c':​ 3 
-}; 
- 
-var obj2 = omitBy( obj1, predicate ); 
-// returns { '​a':​ 1 } 
 =====Introduction===== =====Introduction=====
 Start here to find the very basics of the DroidScript app. Start here to find the very basics of the DroidScript app.
Line 25: Line 11:
 all **[[built_in:​app_events|Events]]** of the app object\\ all **[[built_in:​app_events|Events]]** of the app object\\
  
-function indicator( v ) { 
-    return v[ 0 ]; 
-} 
-var arr = [ '​beep',​ '​boop',​ '​foo',​ '​bar'​ ]; 
- 
-var out = groupBy( arr, indicator ); 
-// returns { '​b':​ [ '​beep',​ '​boop',​ '​bar'​ ], '​f':​ [ '​foo'​ ] } 
-function predicate( key, value ) { 
-    return ( value > 1 ); 
-} 
- 
-var obj1 = { 
-    '​a':​ 1, 
-    '​b':​ 2, 
-    '​c':​ 3 
-}; 
- 
-var obj2 = omitBy( obj1, predicate ); 
-// returns { '​a':​ 1 } 
 =====Layouts===== =====Layouts=====
 Show the basics of organising stuff on the screen **[[built_in:​layouts|Layouts]]** Show the basics of organising stuff on the screen **[[built_in:​layouts|Layouts]]**
getting_started/docs.txt · Last modified: 2018/12/30 17:05 by administrator