Skip to content

Releases: projectestac/jclic.js

v0.1.21

22 Jul 21:58
Compare
Choose a tag to compare

Improvements

  • Display animated GIFs out of canvas elements. Some complex paths will not be clipped, but native browser image animation is now used.

Bug fixes

  • Adjust borders in ActiveBox hosted components
  • Partially reverted commit ba5330da that caused misfunctions in text activities
  • Hide hostedComponent when inactive

Code cleaning and documentation

  • Script for exporting README.md to an HTML snippet, useful to update index.html in https://projectestac.github.io/jclic.js
  • New CDN: JClic.js is now also available from JSDelivr
  • Ignore src in Bower package. Now with just dist files
  • Updated readme and docs

v0.1.20

22 Jul 21:59
Compare
Choose a tag to compare

Improvements

  • Audio recording is now possible in JClic.js (browser permissions should be accepted on request)
  • Converted wav files to mp3 in test activities
  • Optimized hit test on bezier curves, ellipses and complex paths
  • Link event handlers to cells in text activities (reverted by 180c684)

Bug fixes

  • Solved bug in MediaContent.isEquivalent

v0.1.19

22 Jul 22:00
Compare
Choose a tag to compare

Improvements

  • Implemented ActivitySequence.checkCurrentActivity

Code cleaning and documentation

  • Updated npm dependencies

Bug fixes

  • Solved error in ActiveMediaPlayer.linkTo

v0.1.18

22 Jul 22:01
Compare
Choose a tag to compare

Improvements

  • Play video and Flash objects
  • Optimized loading of audio
  • Add onClick event to msgBox and process media content in the same thread where user gesture event is generated

Bug fixes

  • Solved problems with readyState in media elements

v0.1.15

22 Jul 22:01
Compare
Choose a tag to compare

Improvements

  • "Check" button in text activities
  • prevScreen in text activities

Bug fixes

  • Media content of type "URL" not working (fixes Issue #1)
  • Corrected error in EventSounds inheritance

v0.1.12

22 Jul 22:02
Compare
Choose a tag to compare

Improvements

  • Use of event sounds
  • Updated base versions of npm packages
  • "Identify text" activities
  • "Complete text" activities
  • Draw connection lines in "order text" activities
  • Compute relative paths in PlayerHistory
  • Update JClicPlayer to support "file:" protocol

Bug fixes

  • Correct the calculation of nShapes in "Holes" shaper
  • Graphics workaround when working with local files

v0.1.11

22 Jul 22:03
Compare
Choose a tag to compare

Improvements

  • "order text" activities
  • Adjust automatic forwarding of activities

Bug fixes

  • Avoid calls to unexistent functions

Code cleaning and documentation

  • Updated API docs
  • Normalize backslashes and avoid empty bags

v0.1.7

22 Jul 22:04
Compare
Choose a tag to compare

Improvements

  • Add 'close' button
  • Implemented Skin.fit
  • JClic exports now the global variable JClicObject
  • Use of text() instead of html() in text activities
  • Multiple JClic objects in same document
  • Prevent browser spell-check in text activities
  • Tabulators in text activities
  • Allow passing project and options through global variables
  • Support sequences with multiple chained ZIP files
  • Chained calls to PlayerHistory push & pop
  • Load jclic.zip files using JSZip
  • activityReady method
  • "Fill-in blanks" text activities
  • Implemented BasicEvaluator and ComplexEvaluator
  • Moved TextTarget to TextActivityDocument.js
  • Implemented TextTarget
  • "Cross word" activities
  • Blink cursor and optimized shape clipping
  • Action status listeners
  • "Word search" activities
  • New runtime parameters: autoFit, width & height
  • Updated media icons
  • Activity panel fade-in
  • Full screen is now supported
  • "TextGrid" activities
  • Improved responsive design and passing of options
  • Seekable sounds
  • Improvied waiting animation and activity borders
  • Form submit in "Written answer" activity
  • Support of touch devices
  • Added support to relative paths when loading projects
  • Added new test suite
  • "Written answer" activities
  • "Memory" activities
  • "Explore" activity
  • "Identify" activities
  • "Complex Association" activities
  • Improved BoxConnector
  • "Simple Association"
  • Implemented AWT.Ellipse
  • "Hole" puzzle activity
  • Adjust "Holes" shaper
  • "Exchange" puzzle
  • Created "Arith" (automatic content provider)
  • Implemented BoxConnector
  • Cell scrambling
  • Clipping of multiple images into a single canvas
  • "JigSaw" shapers
  • "Double" Puzzle
  • "Information Screen" activity
  • Implemented ActiveBoxGrid
  • Build MediaContent
  • Implemented TextActivityBase
  • Check CORS and HttpXMLRequest calls
  • Created JClicPlayer
  • Created DefaultSkin

Bug fixes

  • Solved invalid assignment of nCols and nRows in "Holes" shaper
  • Corrections in PlayerHistory
  • Force hasRemainer in shapers.Holes with bgImg
  • Avoid overlap of message boxes with transparent background
  • Avoid breaking lines in targets when CSS 'white-space' is set to 'pre-wrap' (only in Chrome)
  • Check origin 'pos' and 'dim' in ctx.drawImage (Firefox crashes when out-of-range)
  • Check for availability of fullscreen.enabled prior to use it
  • Solved problem with double events stopping media
  • Solved problem with bad content type in $get
  • Solved erroneous calculation of remainder shape
  • Solved problem with id on empty cells
  • Solved problems with parsing of shape data
  • Swap the loading of rows and columns in ActiveBagContent due to an old JClic bug
  • Solved problem with color gradients
  • Activity start procedure revised

Code cleaning and documentation

  • Updated class skeleton
  • Generate just one sourcemap with Browserify
  • Optimized build process
  • Updated 'license' tag in package.json ('licenses' was deprecated)
  • Updated npm module
  • Updated documentation and comments
  • Convert code comments to JSDoc format
  • Move static methods from prototype to constructor
  • Create scripts to convert svg and png files to inline data (in '/misc/scripts`)