mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-16 14:41:03 +00:00
Update http.js
This commit is contained in:
parent
344eb14f02
commit
9e97f72cda
|
@ -535,8 +535,6 @@ var HTTPObject = function(engine) {
|
||||||
var Rpos = str.indexOf('}', Lpos + 1);
|
var Rpos = str.indexOf('}', Lpos + 1);
|
||||||
var s1 = [], s2 = null, s3, s4;
|
var s1 = [], s2 = null, s3, s4;
|
||||||
|
|
||||||
console.log("Before evaluated:", str);
|
|
||||||
|
|
||||||
while (Lpos > -1 && Rpos > -1) {
|
while (Lpos > -1 && Rpos > -1) {
|
||||||
s1 = str.substring(Lpos + 1, Rpos).split(' ');
|
s1 = str.substring(Lpos + 1, Rpos).split(' ');
|
||||||
|
|
||||||
|
@ -566,8 +564,6 @@ var HTTPObject = function(engine) {
|
||||||
Rpos = str.indexOf('}', Lpos + 1);
|
Rpos = str.indexOf('}', Lpos + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("After evaluated:", str);
|
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user