source:
Dev/trunk/src/client/util/shrinksafe/tests/5303.js
Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago | |
---|---|
File size: 326 bytes |
Rev | Line | |
---|---|---|
[483] | 1 | result = ""; |
2 | ||
3 | (function() { | |
4 | CallMe = function(callback) { | |
5 | callback(); | |
6 | }; | |
7 | ||
8 | var say_hello_twice = function() { | |
9 | say_hello(); | |
10 | ||
11 | CallMe(function(){ | |
12 | say_hello(); | |
13 | }); | |
14 | }; | |
15 | ||
16 | var say_hello = function() { | |
17 | result += 'hello world'; | |
18 | }; | |
19 | ||
20 | say_hello_twice(); | |
21 | })(); |
Note: See TracBrowser
for help on using the repository browser.