_setOption function not called in first initialization of widget
Hi,
I'm creating jQuery widget and I notice something strange, when you initiate a widget with an options object as parameter, the _setOption() function (wrote in my widget to overwrite the default one) is not called, but if you call it again with the options the _setOption() function is called.
Is this on purpose or is a bug?
- $('div').myWidget({
'optionName': 'value'
});