Fix typo: self.emit -> self.$emit
Merge pull request #46 from uu59/fix_typo_emit

Fix typo: self.emit -> self.$emit