Skip to content

Commit 4bfbd2a

Browse files
committed
Version number, console
Updated version number. Improved consistency of console function, added global "console" for JSHint/JSLint.
1 parent 9ee15f2 commit 4bfbd2a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/JavaScript/SCORM_API_wrapper.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
/*global console*/
2+
13
/* ===========================================================
24
35
pipwerks SCORM Wrapper for JavaScript
4-
v1.1.20140217
6+
v1.1.20141226
57
68
Created by Philip Hutchison, January 2008-2014
79
https://github.com/pipwerks/scorm-api-wrapper
@@ -828,7 +830,7 @@ pipwerks.UTILS.trace = function(msg){
828830
if(pipwerks.debug.isActive){
829831

830832
if(window.console && window.console.log){
831-
console.log(msg);
833+
window.console.log(msg);
832834
} else {
833835
//alert(msg);
834836
}

0 commit comments

Comments
 (0)