1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00

Make doc string almost understandable

This commit is contained in:
Thomas Tanghus 2013-05-09 05:55:44 +02:00
parent a9c1f00152
commit 4dcaa98c20

View File

@ -649,7 +649,7 @@ OC.Contacts = OC.Contacts || {};
self.sortorder = contacts_groups_sortorder; self.sortorder = contacts_groups_sortorder;
console.log('sortorder', self.sortorder); console.log('sortorder', self.sortorder);
// Favorites // Favorites
// Map to strings easier lookup an contacts list. // Map to strings to easier lookup in contacts list.
var contacts = $.map(response.data.favorites, function(c) {return String(c);}); var contacts = $.map(response.data.favorites, function(c) {return String(c);});
var $elem = self.findById('fav'); var $elem = self.findById('fav');
$elem = $elem.length ? $elem : tmpl.octemplate({ $elem = $elem.length ? $elem : tmpl.octemplate({