(js) Card service: Improve initialization

pull/91/head
Francis Lachapelle 2015-05-08 16:40:39 -04:00
parent 2b6d9db83a
commit b37892e033
1 changed files with 1 additions and 2 deletions

View File

@ -26,8 +26,6 @@
// The promise will be unwrapped first
this.$unwrap(futureCardData);
}
this.selected = false;
}
Card.$TEL_TYPES = ['work', 'home', 'cell', 'fax', 'pager'];
@ -123,6 +121,7 @@
this.$$email = this.$preferredEmail();
if (!this.$$image)
this.$$image = this.image || Card.$gravatar(this.$preferredEmail(partial), 32);
this.selected = false;
};
/**