Skip to content

Squiffy 2.5

Compare
Choose a tag to compare
@alexwarren alexwarren released this 16 Feb 15:23

Compiler changes:

  • You can now specify the script filename when using the --scriptonly option.

jQuery plugin changes:

  • New get and set methods which can be called from external JavaScript. For example, if the game is running in the element #output:
// get the "myvalue" attribute from Squiffy
var myvalue = $('#output').squiffy('get', 'myvalue');

// set "myvalue" to 123
$('#output').squiffy('set', 'myvalue', 123);