docs: function getModuleName( root, libs, com ) {
    if ( typeof root.attribs === 'undefined' ) {
      root.attribs = {};
    }
    var name = root.attribs.name;
    if ( root.name.substr( 0, 4 ) == 'wdg:' ) {
      name = "wdg." + root.name.substr( 4 );
    } else {
      if ( !name || name.length === 0 ) {
        libs.fatal( "[x-widget] Missing attribute \"name\"!", root );
      }
    }
    com.name = name;
  }