File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11const React = require ( 'react' ) ;
22const ReactDOM = require ( 'react-dom' ) ;
3- const _ = require ( 'lodash' ) ;
3+ const _isString = require ( 'lodash/isString ' ) ;
44const sparkFactory = require ( './spark' ) ;
55
66function factory ( options ) {
@@ -14,7 +14,7 @@ function factory(options) {
1414 } = spark ;
1515
1616 const sparkScrollFactory = defaultComponent => React . createClass ( {
17- displayName : 'SparkScroll' + ( _ . isString ( defaultComponent ) ? defaultComponent : defaultComponent . displayName ) ,
17+ displayName : 'SparkScroll' + ( _isString ( defaultComponent ) ? defaultComponent : defaultComponent . displayName ) ,
1818
1919 render ( ) {
2020 var Component = this . props . component || defaultComponent ;
@@ -47,7 +47,7 @@ function factory(options) {
4747 SparkScroll . div = SparkScroll ;
4848
4949 const sparkProxyFactory = defaultComponent => React . createClass ( {
50- displayName : 'SparkProxy.' + ( _ . isString ( defaultComponent ) ? defaultComponent : defaultComponent . displayName ) ,
50+ displayName : 'SparkProxy.' + ( _isString ( defaultComponent ) ? defaultComponent : defaultComponent . displayName ) ,
5151
5252 render ( ) {
5353 var Component = this . props . component || defaultComponent ;
You can’t perform that action at this time.
0 commit comments