react-scroll
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -1,6 +0,5 @@ | ||
/** @jsx React.DOM */ | ||
"use strict"; | ||
var React = require('react'); | ||
var assign = require('react/lib/Object.assign'); | ||
var Helpers = require('../mixins/Helpers'); | ||
@@ -17,7 +16,7 @@ | ||
return ( | ||
<div className={className}> | ||
{this.props.children} | ||
</div> | ||
); | ||
var props = assign({}, this.props, { | ||
className: this.props.className | ||
}); | ||
return React.DOM.div(props, this.props.children); | ||
} | ||
@@ -24,0 +23,0 @@ }); |
"use strict"; | ||
var React = require('react'); | ||
var assign = require('react/lib/Object.assign'); | ||
var Helpers = require('../mixins/Helpers'); | ||
@@ -9,7 +10,7 @@ | ||
render: function () { | ||
return ( | ||
<a onClick={this.onClick} href="test"> | ||
{this.props.children} | ||
</a> | ||
); | ||
var props = assign({}, this.props, { | ||
onClick: this.onClick | ||
}); | ||
return React.DOM.a(props, this.props.children); | ||
} | ||
@@ -16,0 +17,0 @@ }); |
{ | ||
"name": "react-scroll", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "A scroll component for React.js", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6622
148