diff --git a/required/offline_API_wrapper.js b/required/offline_API_wrapper.js index 5141edf5..99f4b744 100644 --- a/required/offline_API_wrapper.js +++ b/required/offline_API_wrapper.js @@ -9,11 +9,11 @@ var API = { return "true"; }, LMSGetValue: function(key) { - console.log('LMSGetValue("' + key + '") - ' + this.data[key]); + window.console && console.log('LMSGetValue("' + key + '") - ' + this.data[key]); return this.data[key]; }, LMSSetValue: function(key, value) { - console.log('LMSSetValue("' + key + '") - ' + value); + window.console && console.log('LMSSetValue("' + key + '") - ' + value); this.data[key] = value; return "true"; },