'use strict';

var browserify = require('browserify'),
    transform = require('vinyl-transform'),
    babelify = require('babelify');

/**
 * Reaction
 *
 * A simple Gulp helper that combines Browserify and React Tools
 *
 * @param {Object} options - Options to be passed to the React
 * transform
 *
 * @returns {Function} -
 */
var reaction = function (options) {
    return transform(function(filename) {
        var b = browserify(filename);

        b.transform(babelify);

        return b.bundle();
    });
};

module.exports = reaction;

@@ -205,98 +205,16 @@
 and 
-React Tools%0A *%0A * @param %7BObject%7D options - Options to be passed to the React%0A * transform
+Babelify
 %0A *%0A
@@ -271,15 +271,8 @@
 on (
-options
 ) %7B%0A

Remove options param from reaction