migration of open-etc-friends-pool for use with Etica/EGAZ
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import jdenticon from 'jdenticon'; |
|
import Ember from 'ember'; |
|
import { helper } from '@ember/component/helper'; |
|
|
|
export function identicon([value, size]) { |
|
|
|
var icon = jdenticon.toSvg(value, size, "0"); |
|
|
|
return Ember.String.htmlSafe(icon); |
|
} |
|
|
|
export default helper(identicon); |