Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji parsing for commit references #143

Merged
merged 6 commits into from
Nov 5, 2015

Conversation

discorick
Copy link
Member

  • Adds a parser for emojis
  • Adds core extension for RegExp.prototype.replace modeled after ruby (narrow scope currently)

Closes #119

processMessage: function(){
var message = emojiParser.parse(this.get("commit.commit.message"));
this.set("message", message.htmlSafe());
}.observes("commit.commit.message"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit picky...

Can this be a property instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yah, I think this was a way to handle null commit messages from linked repo commit references (which is no longer an issue), fixing.

@discorick
Copy link
Member Author

rauhryan added a commit that referenced this pull request Nov 5, 2015
…it_messages

Emoji parsing for commit references
@rauhryan rauhryan merged commit 9f6178b into master Nov 5, 2015
@dahlbyk dahlbyk deleted the discorick/emoji_support_for_commit_messages branch January 19, 2016 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants