source: trunk/doc/src/snippets/declarative/codingconventions/myscript.js

Last change on this file was 846, checked in by Dmitry A. Kuminov, 14 years ago

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

File size: 149 bytes
Line 
1function calculateWidth(parent)
2{
3 var w = parent.width / 3
4 // ...
5 // more javascript code
6 // ...
7 console.debug(w)
8 return w
9}
Note: See TracBrowser for help on using the repository browser.