scss.tmbundle

https://github.com/marioricalde/scss.tmbundle

The TextMate SCSS Official Bundle. Now Compatible with SublimeText2.

SystemNoteService#cross_reference_exists?

Check if a cross reference to a noteable from a mentioner already exists

This method is used to prevent multiple notes being created for a mention
when a issue is updated, for example. The method also calls notes_for_mentioner
to check if the mentioner is a commit, and return matches only on commit hash
instead of project + commit, to avoid repeated mentions from forks.

noteable  - Noteable object being referenced
mentioner - Mentionable object

Returns Boolean

Source | Google | Stack overflow

Edit

git clone [email protected]:marioricalde/scss.tmbundle.git

cd scss.tmbundle

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SystemNoteService-cross_reference_exists--for-pr


# Commit to git

git add git commit -m "better docs for SystemNoteService#cross_reference_exists?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-SystemNoteService-cross_reference_exists--for-pr

hub pull-request


# Celebrate!