Migrating To v7 - nodeGame/nodegame GitHub Wiki

  • status: complete
  • version: 7.x

Migrating to nodeGame 7.0

Breaking backward compatibility:

  • Support for PhantomJS is dropped. The project PhantomJS is no longer maintained and not compatible with the latest features of modern browser and Node.JS. ServerChannel.connectPhantom and launcher option --phantoms display an error message and return false.

  • Stager block methods stageBlock and stepBlock require the id of the block as first parameter (previously it was optional).

Potentially breaking backward compatibility:

  • When a frame is not defined, nodeGame will try to load an html file (.htm and .html) from the public/ folder, and then, if not found, a view from the views/ folder with the same name of the step. Files with the same of the step in public/ or views/ that not used as a frame should be renamed.

Non-breaking changes:

  • Survey widgets style redesigned.

Next Topics

Next: Start the Tutorial v7

⚠️ **GitHub.com Fallback** ⚠️