diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/uglify-js/tmp/goto.js')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/uglify-js/tmp/goto.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/uglify-js/tmp/goto.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/uglify-js/tmp/goto.js new file mode 100644 index 00000000..945960c2 --- /dev/null +++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/uglify-js/tmp/goto.js @@ -0,0 +1,26 @@ +function unique(arqw) { + var a = [], i, j + outer: for (i = 0; i < arqw.length; i++) { + for (j = 0; j < a.length; j++) { + if (a[j] == arqw[i]) { + continue outer + } + } + a[a.length] = arqw[i] + } + return a +} + + +function unique(arqw) { + var crap = [], i, j + outer: for (i = 0; i < arqw.length; i++) { + for (j = 0; j < crap.length; j++) { + if (crap[j] == arqw[i]) { + continue outer + } + } + crap[crap.length] = arqw[i] + } + return crap +} |