8bae36c499988dc4c3021ad8ffa3f044f8194bd1
[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;
14 a ? foo() : bar()
15
16
17 // from jquery
18 x = function(num) {
19   return num == null ?
20
21     // Return a 'clean' array
22     this.toArray() :
23
24     // Return just the object
25     (object);
26 }
27
28 function x() {
29   x.test(y) ?
30     a :
31     b;
32 }
33
34 num == null ?
35
36   // Return a 'clean' array
37   this.toArray() :
38
39   // Return just the object
40   (num < 0 ? this[this.length + num] : this[num]);
41
42 // issue #253
43 var format = isSameDate(startDate, endDate) ? this._oneDayLabelFormat :
44   'event-multiple-day-duration';