Skip to content

Commit

Permalink
Merge pull request #16 from mbland/es2015-fix
Browse files Browse the repository at this point in the history
Add Robot.react to Hubot >= v3.0.0
  • Loading branch information
mbland authored Nov 5, 2017
2 parents 6a20395 + a84ca77 commit 418b1d7
Show file tree
Hide file tree
Showing 4 changed files with 3,706 additions and 2 deletions.
6 changes: 6 additions & 0 deletions hubot/slack-github-issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
var path = require('path');
var slackGitHubIssues = require('..');

// Remove this block and close #15 when slackapi/hubot-slack#429 is done.
require('hubot-slack');
var CoffeeScriptCompatibleHubot = require('hubot');
var Hubot = require('hubot/es2015');
Hubot.Robot.prototype.react = CoffeeScriptCompatibleHubot.Robot.prototype.react;

function configParams() {
var params = {updates: {}};

Expand Down
Loading

0 comments on commit 418b1d7

Please sign in to comment.