From 97726be72ba1317d19d20176170c7aa27ed0c159 Mon Sep 17 00:00:00 2001 From: Jed Watson Date: Tue, 16 Feb 2016 11:47:39 +1100 Subject: [PATCH] Updating build --- dist/react-domify.js | 6 +++++- dist/react-domify.min.js | 2 +- lib/DOMify.js | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/dist/react-domify.js b/dist/react-domify.js index ad3f1ff..2a4535d 100644 --- a/dist/react-domify.js +++ b/dist/react-domify.js @@ -132,7 +132,11 @@ var DOMify = React.createClass({ displayName: 'DOMify', render: function render() { - return transform(this.props.value); + return React.createElement( + 'div', + { className: this.props.className, style: this.props.style }, + transform(this.props.value) + ); } }); diff --git a/dist/react-domify.min.js b/dist/react-domify.min.js index a69b826..36d81b9 100644 --- a/dist/react-domify.min.js +++ b/dist/react-domify.min.js @@ -1 +1 @@ -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.DOMify=e()}}(function(){return function e(t,r,n){function o(a,f){if(!r[a]){if(!t[a]){var i="function"==typeof require&&require;if(!f&&i)return i(a,!0);if(l)return l(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=r[a]={exports:{}};t[a][0].call(c.exports,function(e){var r=t[a][1][e];return o(r?r:e)},c,c.exports,e,t,r,n)}return r[a].exports}for(var l="function"==typeof require&&require,a=0;a