Skip to content

Commit

Permalink
Updates to React v0.14.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubkottnauer committed Oct 12, 2015
1 parent 0010178 commit 9946daf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kendo-ui-react",
"version": "0.13.0",
"version": "0.14.1",
"description": "React Component Library for Kendo UI Widgets. There exists a React Component named for every Kendo widget in the kendo.ui namespace. Tested on React 0.14 and KendoUI 2015.2.902.",
"homepage": "https://github.com/jakubkottnauer/kendo-ui-react",
"main": "dist/kendo-ui-react.js",
Expand Down
3 changes: 2 additions & 1 deletion lib/KendoWidgetMixin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* global kendo */

var React = require('react');
var ReactDOM = require('react-dom');
var _ = require('lodash');
var reactTags = _.keys(React.DOM);

Expand Down Expand Up @@ -42,7 +43,7 @@ var KendoWidgetMixin = function (widget) {
componentDidMount: function () {
if (this.props.debug) console.log('kendo widget mounting... ', widget);

this.elem = React.findDOMNode(this);
this.elem = ReactDOM.findDOMNode(this);
this.$elem = $(this.elem);
this.$widget = mountKendoWidget(this, widget);

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kendo-ui-react",
"version": "0.13.0",
"version": "0.14.1",
"description": "React Component Library for Kendo UI Widgets. There exists a React Component named for every Kendo widget in the kendo.ui namespace. Tested on React 0.14 and KendoUI 2015.2.902.",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -28,7 +28,8 @@
},
"homepage": "https://github.com/jakubkottnauer/kendo-ui-react",
"peerDependencies": {
"react": ">=0.13.0",
"react": ">=0.14.0",
"react-dom": ">=0.14.0",
"lodash": ">=3.0.0"
},
"devDependencies": {
Expand Down

0 comments on commit 9946daf

Please sign in to comment.