Squiffy 2.5
Compiler changes:
- You can now specify the script filename when using the
--scriptonly
option.
jQuery plugin changes:
- New
get
andset
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);