Details
-
Bug
-
Resolution: Done
-
P4: Low
-
4.7.0
-
None
-
271c790e020b82be88e421611bef169334ea0a4f
Description
http://doc.qt.nokia.com/latest/qml-coding-conventions.html suggest two different coding conventions for JavaScript functions within QML:
1) Qt, brace on next line:
function calculateWidth(object)
{
2) Crockford JavaScript, brace on same line:
function doSomething {
Pick one.