4d433a1e014f2dac0ad624a4b06e040da55076d3
[platform/framework/web/crosswalk-tizen.git] /
1 a?foo():bar();
2
3 b = (dolor!==amet)  ?  'ipsum': 'dolor';
4
5 if(true){
6   // notice that we don't indent since "consequent" is on same line as "test"
7 c = !a ?(!foo?d  :   function(){
8     return a;
9 }):b;
10 }
11
12 // should break lines
13 foo.a = true; a?foo() : bar()
14
15
16 // from jquery
17 x = function(num) {
18     return num == null ?
19
20         // Return a 'clean' array
21         this.toArray() :
22
23         // Return just the object
24         (object);
25 }
26
27 function x() {
28     x.test(y) ?
29         a :
30         b;
31 }
32
33 num == null ?
34
35     // Return a 'clean' array
36     this.toArray() :
37
38     // Return just the object
39     ( num < 0 ? this[ this.length + num ] : this[ num ] );
40
41 // issue #253
42 var format = isSameDate(startDate, endDate) ? this._oneDayLabelFormat :
43 'event-multiple-day-duration';