summaryrefslogtreecommitdiffstats
path: root/modules/emoji/emoji.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/emoji/emoji.go')
-rw-r--r--modules/emoji/emoji.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/emoji/emoji.go b/modules/emoji/emoji.go
index 85df2d6973..89a86a7f3e 100644
--- a/modules/emoji/emoji.go
+++ b/modules/emoji/emoji.go
@@ -44,9 +44,7 @@ var (
)
func loadMap() {
-
once.Do(func() {
-
// initialize
codeMap = make(map[string]int, len(GemojiData))
aliasMap = make(map[string]int, len(GemojiData))
@@ -87,7 +85,6 @@ func loadMap() {
codeReplacer = strings.NewReplacer(codePairs...)
aliasReplacer = strings.NewReplacer(aliasPairs...)
})
-
}
// FromCode retrieves the emoji data based on the provided unicode code (ie,