Files
qt-creator/tests/auto/qml/reformatter/objectliteral.js
Christian Kamm a24c49720a QmlJS reformatter: Fix object literals.
The comma token seems to be invalid.

Change-Id: I859fa58ba0ba1e975e0cf1105c2b53aac848fb0d
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2011-11-30 10:11:28 +01:00

13 lines
162 B
JavaScript

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