Releases: projectestac/jclic.js
Releases · projectestac/jclic.js
v0.1.35
Bug fixes
- Avoid "same-origin" policy exception when initializing SCORM from an embedded iFrame.
Improvements
- JClic.js can now directly open
project.json
files generated by JClic Author
v0.1.34
Bug fixes
- Merge styles with its base style (when defined) in
TextActivityDocument
- Allow HTML text in
ActiveBox
cells - Workaround for an Edge/Explorer SVG bug in 'close' button.
- Add
-webkit-flex-xxx
CSS properties for Safari 8 compatibility.
Improvements
- Now JClic.js opens the new
.scorm.zip
files generated by JClic Author 0.3.2.0 - More strict settings when checking code with JSHint
v0.1.31
Bug fixes
- Apply
JClicPlayer.defaultSkin
only whenJClicProject.skin
is not specified
Improvements
- Implemented support for SCORM 1.2 and SCORM 2004. Now JClic reports global score and session time when a SCORM API is detected.
- New method to calculate scores for SCORM: now "partial score" refers to the score average of all played activities and "global score" multiplies it by the ratio between the number of activities played at least once and the total number of activities in the project. For example, when playing a project with 20 activities, a student that has successly finished only one activity will have a partial score of 100%, but its global score will be only 5%. When all activities are played at least once, global and partial scores have the same value.
- New logging system. Verbosity on the JavaScript console can now be adjusted with a 'logLevel' parameter that can have one of the values: all, trace, debug, info, warn, error and none. Default is: warn.
v0.1.30
v0.1.29
Improvements
- Waiting image changed from SVG animation (deprecated) to CSS keyframes
- Skin support implemented with (almost) pure CSS
- Implemented support for stock skins (standard, orange, blue, green, simple and mini)
- Created
loadProject
function in the globalJClicObject
, thus allowing the creation of JClic players from other scripts - Allow JClic.js to be used as a Node.js module
- Added example of Node.js usage in
test/nodejs
v0.1.28
Improvements
- New class
TCPReporter
allows now to connect with external services like JClic Reports and JClic module for Moodle - i18n: New messages waiting for translation in Transifex. Contributions welcome!
- Upgrade to jQuery 3.0
- Improved user interface in reports.
- Implemented
Skin.showDlg
Bug fixes
- Use a
try
clause forcanvas.drawImage
to catch exceptions caused byHTMLImageElement
objects in broken state
Code cleaning and documentation
- Updated documentation and code comments
- Unified
this
syntax in closures - Added a Gitter badge to README.md
v0.1.27
Bug fixes
- Set always base attributes when setting target style in text activities
Improvements
- i18n: Opened new project in Transifex to help translating messages to any language and locale. Initially filled with partial translations to
ar
,ast
,bs
,ca
,ca@valencia
,cs
,da
,de
,el
,en
,es
,eu
,fr
,gl
,he
,it
,nl
,pt
,pt_BR
,ru
,tr
,vec
andzh_TW
found on the main JClic translation project.