-
Notifications
You must be signed in to change notification settings - Fork 1
/
javascriptvoid(0).php
93 lines (90 loc) · 3.93 KB
/
javascriptvoid(0).php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<html xmlns:ng="http://angularjs.org/" id="ng-app">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>PayUMoney</title>
<link href="//media.payumoney.com/index.php?f=/media/css/layout.css,/media/css/buyer_payment/buyer_payment.css,/media/font/font.css,E/jQuery/NgProgress/ngProgress.css,media/css/rupees_font/rupees.css" rel="stylesheet" type="text/css" />
<link href="img/favicon_index.ico" rel="shortcut icon" type='image/x-icon' sizes="16x16"/>
<!--[if lte IE 8]>
<script>
document.createElement('ng-include');
document.createElement('ng-pluralize');
document.createElement('ng-view');
// Optionally these for CSS
document.createElement('ng:include');
document.createElement('ng:pluralize');
document.createElement('ng:view');
</script>
<![endif]-->
</head>
<body>
<div class="layout_main">
<div class="shadow_bg">
<div class="layout">
<div class="main">
<div class="header">
<!-- <ul class="login_sec">
<li><a href="#">Welcome Rajeev Singh</a></li>
<li class="login">|<a href="#"><span class="login_icon left"></span>Login</a></li>
</ul> -->
<h1 class="logo_fr_pymnt"><a href="javascriptvoid(0)"></a></h1>
</div>
<ng:view></ng:view>
</div>
</div>
</div>
</div>
<script async="true" type="text/javascript">
/*Some ie fixes */
/*Basic fixes for indexOf in ie can be moved to some */
if (!Array.prototype.indexOf) {
Array.prototype.indexOf = function(obj, start) {
for (var i = (start || 0), j = this.length; i < j; i++) {
if (this[i] === obj) { return i; }
}
return -1;
}
}
var _reqM = [//@wiki sequence is neccessary.
'A/jquery/jquery.min.js',
'A/angular.min.js',
'A/angular-route.min.js',
'E/jQuery/placeholder.js',
'A/storage.js',
'A/angular-cookies.min.js',
'A/angular-resource.min.js',
'customer/paymentOptionsGroup/route.js',
'Application/bootstrap.js',
'Application/models/authModel.js',
'Application/models/merchantModel.js',
'Application/models/paymentModel.js',
'Application/models/webServicesModel.js',
'Application/models/webFrontModel.js',
'Application/controllers/front/paymentOptionsGroupController.js',
'E/Google/googleRecordsPageVisits.js',
'E/Google/gaService.js',
'E/Google/feedback.js',
'E/jQuery/NgProgress/ngProgress.min.js',
'Application/service/nProgressService.js'
];
(function(document) {
//@TODO add max-length on script src.
// add debug mode:
// this will add scripts as one on one.
var ng = document.createElement('script'); ng.type = 'text/javascript'; ng.async = true;
ng.src = '//ux.payumoney.com/index.php?f=' + _reqM.join(',');
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ng, s);
if(document.all){ // if IE this would fired.
ng.onreadystatechange = function(){ // for IE.
if((("loaded" === ng.readyState || "complete" === ng.readyState) && !ng.onloadDone)){
angular.bootstrap(document,["app"]);
}
}
}
ng.onload = function(){ // for other browsers.
angular.bootstrap(document,["app"]);
}
})(window.document);
</script>
</body>
</html>