source:
pyenvjasmine/pyenvjasmine/envjasmine/samples/demo.js@
19:ab5f65372038
Last change on this file since 19:ab5f65372038 was 19:ab5f65372038, checked in by , 9 years ago | |
---|---|
File size: 145 bytes |
Rev | Line | |
---|---|---|
[0] | 1 | // Sample demo |
2 | ||
[19] | 3 | if (typeof(NS) === 'undefined' || !NS) { |
4 | var NS = {}; | |
[0] | 5 | } |
6 | ||
[19] | 7 | NS.greeter = function (name) { |
8 | return 'Hello ' + name + '!'; | |
9 | }; |
Note:
See TracBrowser
for help on using the repository browser.