Releases: projectestac/jclic.js
Releases · projectestac/jclic.js
v0.1.47
Improvements
- Updated French translation, thanks to Heluga Valka
Bug fixes
- Control of the maximum display time of previous screen in text activities. This JClic feature was unimplemented until now. Probably closes #12.
- Backslashes in active media parameters and file names are now always converted to forward slashes. This avoids problems with chaining in big projects distributed among multiple folders.
- Set default value of
navButtonsAlways
tofalse
. Closes #11. - Avoid creating
AccessibleElement
when canvas has no surface. - Double-check the existence of
ActiveBoxBag
elements before using them. - Use index -1 in
jQuery.get
to avoid addeddiv style-scope
elements in Shadow DOM. - Put stylesheets within shadow-root when in shadow DOM.
v0.1.46
v0.1.45
v0.1.44
Improvements
EmptySkin
has been implemented and now used as initial player skin.- JClic java applets generated through
jclicplugin.js
are now always loaded as JClic.js HTML5 elements. This change has been motivated by the fact that Firefox 52 has dropped support for Java applets. - Updated NPM components.
Bug fixes
- Check
AWT.WebFont
to avoid conflicts with other webfont loader packages already loaded. - Build always a skin for
JClicPlayer
, even when the requested one does no exist. - Force main container width and height when inside a
TD
. - Avoid incorrect placement of inner elements when parent container has the
align
attribute defined.
v0.1.43
Bug fixes
- Allow animated GIFs also over gradients.
- Solved incorrect startup of "complete text" activities with previous screen.
- Place "check" button always anchored at bottom of text activities.
- Properly initialize
Evaluator
withIntl.Collator
in text activities. - Solved problems when rounding and ceiling integers in Arith.
- Avoid calling
buildAccessibleElements
on null panels
Miscellaneous
- Export third-party NPM packages in a new member of
Utils
calledpkg
, so external scripts can make use of it through the global vriableJClicObject
. This change was needed to implement downloading of JClic projects in JClic Repo.
v0.1.41
Improvements
- Use of es6-promise polyfill to support
Promise
in IE11 and other outdated browsers. - Explicit loading of fonts included in JClic projects. The
name
attribute of media elements is now used asfont-family
value.
Bug fixes
- Resolve dependencies and browserless issues affecting
listProjectContents.js
(intest/nodejs
)
Miscellaneous
- Specific developer's settings for VS-Code, besides NetBeans IDE.
- Use of ESLint instead of JSHint. Same functionality, but better integration with VS-Code.
v0.1.40
v0.1.39
Improvements
- Animated GIF support extended to more activities: now panels with static (not scrambled) cells, using any type of shaper, can have an animated GIF as a main content. This applies to information screen, identify, associations, written answer and word search activities.
v0.1.38
Bug fixes
- Treat 'x' as zero when parsing data for Arith operators, thus avoiding "NaN" errors in some activities.
- Avoid keyboard hiding on tablets when in written answer activities.
- Ignore mouse events on accessible components.
Improvements
- Added Japanese to the list of supported languages (thanks to Naofumi!)
- Improved log system
v0.1.37
Bug fixes
- Fixed incorrect calculation of score in Identify activities
- Full screen mode should work now as expected (when available)
- Avoid resizing of font attribute in
BoxBase
prototype
Improvements
- Project license changed to EUPL-1.1 (compatible with GPL-2.0)
- Improved accessibility based on WAI-ARIA specifications (still in progress)
- Experimental use of Hit regions in HTML canvas. Works only when flags
ExperimentalCanvasFeatures
(Chrome) orcanvas.hitregions.enabled
(Firefox) are enabled. Checked with ChromeVox
Code cleaning and documentation
- Miscellaneous optimizations: conditional operators, jQuery expressions, allow reuse of
JClicPlayer
objects, etc. See git log for details