Files
qt-creator/tests/auto/qml/reformatter/objectliteral.js
Christian Kamm ab64c1aef3 QmlJS indenter: Improve indentation of function expressions.
As discussed with Tor Arne and Fawzi in
http://codereview.qt-project.org/#change,18080

Change-Id: Ia0482d2ed3ddd61fa002e2c76b948301af52a795
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2012-03-06 17:26:46 +01:00

13 lines
156 B
JavaScript

var x = {
x: 12,
y: {
x: 12,
y: "abc",
z: function (x) {
return a
},
abc: 15
},
z: 12
}