300c5860a3ca0bc36918618f11d2af14dd46cc48
[platform/framework/web/crosswalk-tizen.git] /
1 foo.bar.Baz(  {
2     method2: function () {}, prop   : 'dolor amet'
3     , prop2 : 123
4 });
5
6
7 function foo(a){ amet(123, a, {flag:true}); }
8 ipsum({flag:true});
9 ipsum({flag:true,other:false});
10 ipsum({flag:true,other:false},789,'bar');
11
12
13 var obj = {foo:"bar", 'lorem'   :  123,
14     dolor :new Date()
15 , "re": /\w+/g}    ;
16
17 // ObjectEpression within CallExpression needs to indent comments
18 declare({
19 // comment
20 create: {}
21 });
22
23 this.element
24 .add()
25 .set({
26 // line comment
27 // one more
28 prop: "value"
29 });
30
31 define( name, {
32 _create: function() {
33 this.element
34 .add()
35 .set({
36 // line comment
37 // one more
38 prop: "value"
39 });
40 }
41 });