mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-25 03:44:17 +00:00
AddressBook JS model: rename $all to $findAll
This commit is contained in:
@@ -29,7 +29,11 @@
|
||||
Card.$URL_TYPES = ['work', 'home', 'pref'];
|
||||
Card.$ADDRESS_TYPES = ['work', 'home'];
|
||||
|
||||
/* The factory we'll use to register with Angular */
|
||||
/**
|
||||
* @memberof Card
|
||||
* @desc The factory we'll use to register with Angular
|
||||
* @returns the Card constructor
|
||||
*/
|
||||
Card.$factory = ['$timeout', 'sgSettings', 'sgResource', function($timeout, Settings, Resource) {
|
||||
angular.extend(Card, {
|
||||
$$resource: new Resource(Settings.baseURL),
|
||||
|
||||
Reference in New Issue
Block a user