source:
trunk/doc/src/snippets/declarative/codingconventions/myscript.js
Last change on this file was 846, checked in by , 14 years ago | |
---|---|
File size: 149 bytes |
Line | |
---|---|
1 | function 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.