Total Complexity | 3 |
Complexity/F | 1.5 |
Lines of Code | 9 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | (function (window, document) { |
||
2 | var loader = function () { |
||
3 | var script = document.createElement("script"), tag = document.getElementsByTagName("script")[0]; |
||
4 | script.src = "https://seamless-epay.sslcommerz.com/embed.min.js?" + Math.random().toString(36).substring(7); |
||
5 | tag.parentNode.insertBefore(script, tag); |
||
6 | }; |
||
7 | |||
8 | window.addEventListener ? window.addEventListener("load", loader, false) : window.attachEvent("onload", loader); |
||
9 | })(window, document); |
||
10 |