Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Corrected the variable name in jnext to prevent reference errors. #592

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/jnext.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function JNEXT_() {
strVal = objJSExt.sendCmd(strCmd);
arParams = strVal.split(" ");
if(arParams[0] != "Ok") {
alert("userAgent " + strVal);
console.log("userAgent " + strVal);
return false;
}
self.m_bFirstRequire = false;
Expand All @@ -85,7 +85,7 @@ function JNEXT_() {
strVal = objJSExt.sendCmd(strCmd);
arParams = strVal.split(" ");
if(arParams[0] != "Ok") {
alert("Require " + strVal);
console.log("Require " + strVal);
return false;
}

Expand All @@ -100,7 +100,7 @@ function JNEXT_() {
strVal = objJSExt.sendCmd("CreateObject " + strObjName);
arParams = strVal.split(" ");
if(arParams[0] != "Ok") {
alert("CreateObject: " + strVal);
console.log("CreateObject: " + strVal);
return "";
}
return arParams[1];
Expand Down Expand Up @@ -138,7 +138,7 @@ function JNEXT_() {

var objNotify = self.m_arEvents[strObjId];
if( typeof (objNotify) == 'undefined') {
alert("Warning: No object with Id " + strId + " found for event " + strEvent);
console.log("Warning: No object with Id " + strObjId + " found for event " + strEvent);
return;
}

Expand Down Expand Up @@ -175,7 +175,7 @@ function JNEXT_() {
}

self.onAjaxRecv = function(strContent) {
alert(strContent);
console.log(strContent);
}

self.attachToDOM();
Expand Down