pipwerks / scorm-api-wrapper

The pipwerks SCORM API Wrapper
http://pipwerks.com
357 stars 125 forks source link

No logging in chrome #7

Closed allanhortle closed 9 years ago

allanhortle commented 10 years ago

If you are using chrome if(window.console && window.console.firebug){ returns false and so will never log anything. Is this intentional?

pipwerks commented 10 years ago

I haven't looked at it in a while, but the logging code predates chrome's existence, so it could probably use some maintenance.

On Sunday, March 16, 2014, Allan Hortle notifications@github.com wrote:

If you are using chrome if(window.console && window.console.firebug){returns false and so will never log anything. Is this intentional?

Reply to this email directly or view it on GitHubhttps://github.com/pipwerks/scorm-api-wrapper/issues/7 .

moloko commented 10 years ago

window.console.firebug hasn't been valid for a while - you'll want to use if(window.console && window.console.log) instead

pipwerks commented 9 years ago

Updated