[script.js] Fix syntax error
This commit is contained in:
parent
5cef5c3906
commit
d1fd149ef2
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ utils.script = {
|
||||||
if (typeof(methodArgs) == "function") { // Todo: Hmmmm..
|
if (typeof(methodArgs) == "function") { // Todo: Hmmmm..
|
||||||
return methodArgs();
|
return methodArgs();
|
||||||
}
|
}
|
||||||
return objectName + "." + methodName + utils.script..methodHead(methodArgs);
|
return objectName + "." + methodName + utils.script.methodHead(methodArgs);
|
||||||
},
|
},
|
||||||
setAttribute: function (objectName, attributeHash) {
|
setAttribute: function (objectName, attributeHash) {
|
||||||
if (!utils.common.getKeysFromHash(attributeHash).length || !objectName) {
|
if (!utils.common.getKeysFromHash(attributeHash).length || !objectName) {
|
||||||
|
@ -86,7 +86,7 @@ utils.script = {
|
||||||
return random.number() + ' % ' + o.pick(objName) + '.length';
|
return random.number() + ' % ' + o.pick(objName) + '.length';
|
||||||
},
|
},
|
||||||
addElementToBody: function (name) {
|
addElementToBody: function (name) {
|
||||||
return "(document.body || document.documentElement).appendChild" + utils.script..methodHead([name]);
|
return "(document.body || document.documentElement).appendChild" + utils.script.methodHead([name]);
|
||||||
},
|
},
|
||||||
forceGC: function () {
|
forceGC: function () {
|
||||||
if (platform.isMozilla) {
|
if (platform.isMozilla) {
|
||||||
|
|
Loading…
Reference in a new issue