Skip to content

Instantly share code, notes, and snippets.

@fernandezpablo85
Forked from JuliaGabellone/bu.js
Created July 13, 2012 21:27
Show Gist options
  • Save fernandezpablo85/3107622 to your computer and use it in GitHub Desktop.
Save fernandezpablo85/3107622 to your computer and use it in GitHub Desktop.
// supongamos que se llama 'coso'
coso.append($("<div>")
.attr("class", "people-panel-item-table-row-cell")
.append($("<div>") .append($("<div>")
.attr("class","info-header-name")
.attr("id", "info-header-name-" + item.index)
.html(item.contact.displayName()));
if(usuarioLogueado) {
coso.append($("<div>")
.attr("class","in-network-degree")
.attr("id", "in-conn-distance-badge")));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment