diff options
author | Cliff Brake <cbrake@bec-systems.com> | 2012-08-17 13:43:14 -0400 |
---|---|---|
committer | Cliff Brake <cbrake@bec-systems.com> | 2012-08-17 13:43:14 -0400 |
commit | a94e78479793722bc97b8771158d1acee3f55413 (patch) | |
tree | bf8f79959febb472513b299df99774de524f5fd1 /tools/node_modules/expresso/deps/jscoverage/tests/javascript/javascript-function.js | |
parent | c11f922b0bfa023a4cf49f26e55aec6a1413344b (diff) | |
download | openembedded-admin-a94e78479793722bc97b8771158d1acee3f55413.tar.gz |
add node modules to git
This is now the best practice for deployed apps
Diffstat (limited to 'tools/node_modules/expresso/deps/jscoverage/tests/javascript/javascript-function.js')
-rw-r--r-- | tools/node_modules/expresso/deps/jscoverage/tests/javascript/javascript-function.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/node_modules/expresso/deps/jscoverage/tests/javascript/javascript-function.js b/tools/node_modules/expresso/deps/jscoverage/tests/javascript/javascript-function.js new file mode 100644 index 0000000..94fc8bd --- /dev/null +++ b/tools/node_modules/expresso/deps/jscoverage/tests/javascript/javascript-function.js @@ -0,0 +1,38 @@ +function x() {} + +function x() { + ; +} + +function x() { + x(); + return 'x'; +} + +function x(a) { + x(); +} + +function x(a, b) { + x(); +} + +x = function() { + x(); +}; + +(function () { + print('x'); +})(); + +(function (a) { + print('x'); +})(1); + +(function (a, b) { + print('x'); +})(1, 2); + +(function () { + print('x'); +}).call(window); |