lib/pubsub.js
function changeAnnotationState(combo, username) {
    combo.annotations.forEach(function(anno) {
      anno.state = combo.state;
    });

    contentLib.indexContentItem({uri: combo.uri}, { member: username , annotations: combo.annotations} );
  }
function changeAnnotationState(combo, username) {
    combo.annotations.forEach(function(anno) {
      anno.state = combo.state;
    });

    contentLib.indexContentItem({uri: combo.uri}, { member: username , annotations: combo.annotations} );
  }
function changeAnnotationState ( combo , username ) { combo . annotations . forEach ( function ( anno ) { anno . state = combo . state ; } ) ; contentLib . indexContentItem ( { uri : combo . uri } , { member : username , annotations : combo . annotations } ) ; }
Annotations functions FIXME change the state of annotations
Annotations functions FIXME change the state of annotations