pipworks SCORM API where there is none

74 views
Skip to first unread message

Markus Essl

unread,
Mar 27, 2012, 9:37:46 AM3/27/12
to elearning-technolo...@googlegroups.com
Hello!
 
I tried the pipwerks SCORM API Wrapper from GitHub and found a problem when there is no SCORM API available and the content is launched directly (I used FireFox 11).
 
SCORM_API_Wrapper.js (around line 185):
 
    //Special handling for Plateau
    //Thanks to Joseph Venditti for the patch
    if(!API && win.top.opener.document) {
        API = find(win.top.opener.document);
    }
 
When there is no win.top.opener, a javascript error message is produced (and the function does not return). This is the fix for it:
 
    //Special handling for Plateau
    //Thanks to Joseph Venditti for the patch
    if(!API && win.top.opener && win.top.opener.document) {
        API = find(win.top.opener.document);
    }
 
Unfortunatly, I have no idea how to submit patch-requests or bug reports to the project, I have not used GitHub before - that's why I post it here.
 
Markus

Philip Hutchison

unread,
Mar 27, 2012, 12:15:42 PM3/27/12
to elearning-technolo...@googlegroups.com
Hi Markus

I'm aware of that bug and thought I fixed it a long time ago... I must have forgotten to upload the patch to GitHub. Doh!

Thanks for letting me know!
- philip


--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To view this discussion on the web visit https://groups.google.com/d/msg/elearning-technology-and-development/-/zIPQKmYaykQJ.
To post to this group, send email to elearning-technolo...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.

Reply all
Reply to author
Forward
0 new messages