|
|
|
|
@ -118,8 +118,8 @@ casper.notebook_test(function () {
|
|
|
|
|
' b = CInt(0, sync=True)\n' +
|
|
|
|
|
' c = CInt(0, sync=True)\n' +
|
|
|
|
|
' d = CInt(-1, sync=True)\n' + // See if it sends a full state.
|
|
|
|
|
' def _handle_receive_state(self, sync_data):\n' +
|
|
|
|
|
' widgets.Widget._handle_receive_state(self, sync_data)\n'+
|
|
|
|
|
' def set_state(self, sync_data):\n' +
|
|
|
|
|
' widgets.Widget.set_state(self, sync_data)\n'+
|
|
|
|
|
' self.d = len(sync_data)\n' +
|
|
|
|
|
'multiset = MultiSetWidget()\n' +
|
|
|
|
|
'display(multiset)\n' +
|
|
|
|
|
|