lib/annotations.js
function createInstance(desc) {
  var fields = ['exact', 'instance', 'selector'];
  utils.check(fields, desc);
  return { exact: desc.exact, instance: desc.instance, selector: desc.selector};
}
function createInstance(desc) {
  var fields = ['exact', 'instance', 'selector'];
  utils.check(fields, desc);
  return { exact: desc.exact, instance: desc.instance, selector: desc.selector};
}
function createInstance ( desc ) { var fields = [ 'exact' , 'instance' , 'selector' ] ; utils . check ( fields , desc ) ; return { exact : desc . exact , instance : desc . instance , selector : desc . selector } ; }
validates and creates an annotation instance
validates and creates an annotation instance