Skip to content

Releases: projectestac/jclic.js

v0.1.35

08 Sep 11:42
Compare
Choose a tag to compare

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

02 Sep 07:55
Compare
Choose a tag to compare

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

22 Jul 21:51
Compare
Choose a tag to compare

Bug fixes

  • Apply JClicPlayer.defaultSkin only when JClicProject.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

22 Jul 21:53
Compare
Choose a tag to compare

Improvements

  • Skin and player windows fully styled with CSS
  • Updated skin names. Expressions like '@___.xml' are no longer needed (but still supported)
  • Added a reset method to JClicPlayer

Bug fixes

  • Set color and size for close icon

v0.1.29

22 Jul 21:53
Compare
Choose a tag to compare

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 global JClicObject, 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

22 Jul 21:54
Compare
Choose a tag to compare

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 for canvas.drawImage to catch exceptions caused by HTMLImageElement 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

22 Jul 21:55
Compare
Choose a tag to compare

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 and zh_TW found on the main JClic translation project.

v0.1.25

22 Jul 21:56
Compare
Choose a tag to compare

Improvements

  • Multi-language support using gettext (.po and .pot) files stored in /locales

v0.1.24

22 Jul 21:57
Compare
Choose a tag to compare

Improvements

  • Improved UI in reports
  • Added copy to clipboard and improved UI in reports
  • Optimized JQuery object builders
  • New counters (time, actions, score) and reports system

v0.1.23

22 Jul 21:57
Compare
Choose a tag to compare

Improvements

  • Use of Google WebFonts, with parameterizable font substitution list
  • Automatic detection of animated GIFs
  • Upgrade to JSZip 3.0

Code cleaning and documentation

  • Supressed 'test/lib' folder
  • Added some badges to README.md