dragouf / Stash-Reviewers-Chrome-Extension

This chrome/firefox extension allow to define groups of reviewers in Atlassian Stash/Bitbucket to bulk add them when creating or updating pull request + other features
MIT License
88 stars 34 forks source link

Reviewer fix for newer chrome #50

Closed stellarashes closed 6 years ago

stellarashes commented 6 years ago

It seems that newer version of chrome doesn't include window.chrome.runtime.sendMessage and it causes issue #49. This PR adds more strict checking to make sure that the function exists and is a function; if not, fallback to the previous implementation of sendMessage.

stellarashes commented 6 years ago

Given the rate at which PRs are merged, I'm going to close this one in favor of the other one, and also update the version number to after @ra100 's PR