File tree Expand file tree Collapse file tree 8 files changed +10
-10
lines changed Expand file tree Collapse file tree 8 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1010
1111> Simple tagging component.
1212
13- ### Demo
13+ ## Demo ##
1414https://jfusco.github.io/react-tagging-input
1515
1616![ img] ( demo.gif )
@@ -49,7 +49,7 @@ class Application extends Component{
4949 < Tags
5050 initialTags= {this .state .tags }
5151 placeholder= " Add a tag"
52- onChange= {this .onTagsChange } / >
52+ onChange= {this .onTagsChange . bind ( this ) } / >
5353 < / div>
5454 );
5555 }
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ return /******/ (function(modules) { // webpackBootstrap
296296 _react2.default.createElement(
297297 'pre',
298298 null,
299- '<Tags onChange={:: this.onTagsChange} />\n\ntags: ' + this.state.tags
299+ '<Tags onChange={this.onTagsChange.bind(this) } />\n\ntags: ' + this.state.tags
300300 )
301301 )
302302 );
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <coverage generated =" 1478453527219 " clover =" 3.2.0" >
3- <project timestamp =" 1478453527219 " name =" All files" >
2+ <coverage generated =" 1478549399187 " clover =" 3.2.0" >
3+ <project timestamp =" 1478549399187 " name =" All files" >
44 <metrics statements =" 52" coveredstatements =" 52" conditionals =" 71" coveredconditionals =" 52" methods =" 22" coveredmethods =" 22" elements =" 145" coveredelements =" 126" complexity =" 0" loc =" 52" ncloc =" 52" packages =" 1" files =" 2" classes =" 2" >
55 <file name =" Tag.js" path =" /Users/Rinzler/Projects/Personal/react-tagging-input/src/component/js/Tag.js" >
66 <metrics statements =" 8" coveredstatements =" 8" conditionals =" 7" coveredconditionals =" 6" methods =" 3" coveredmethods =" 3" />
Original file line number Diff line number Diff line change 160160</ div > <!-- /wrapper -->
161161< div class ='footer quiet pad2 space-top1 center small '>
162162 Code coverage
163- generated by < a href ="http://istanbul-js.org/ " target ="_blank "> istanbul</ a > at Sun Nov 06 2016 12:32:07 GMT-0500 (EST)
163+ generated by < a href ="http://istanbul-js.org/ " target ="_blank "> istanbul</ a > at Mon Nov 07 2016 15:09:59 GMT-0500 (EST)
164164</ div >
165165</ div >
166166< script src ="prettify.js "> </ script >
Original file line number Diff line number Diff line change 574574</ div > <!-- /wrapper -->
575575< div class ='footer quiet pad2 space-top1 center small '>
576576 Code coverage
577- generated by < a href ="http://istanbul-js.org/ " target ="_blank "> istanbul</ a > at Sun Nov 06 2016 12:32:07 GMT-0500 (EST)
577+ generated by < a href ="http://istanbul-js.org/ " target ="_blank "> istanbul</ a > at Mon Nov 07 2016 15:09:59 GMT-0500 (EST)
578578</ div >
579579</ div >
580580< script src ="prettify.js "> </ script >
Original file line number Diff line number Diff line change 9090</ div > <!-- /wrapper -->
9191< div class ='footer quiet pad2 space-top1 center small '>
9292 Code coverage
93- generated by < a href ="http://istanbul-js.org/ " target ="_blank "> istanbul</ a > at Sun Nov 06 2016 12:32:07 GMT-0500 (EST)
93+ generated by < a href ="http://istanbul-js.org/ " target ="_blank "> istanbul</ a > at Mon Nov 07 2016 15:09:59 GMT-0500 (EST)
9494</ div >
9595</ div >
9696< script src ="prettify.js "> </ script >
Original file line number Diff line number Diff line change 11{
22 "name" : " react-tagging-input" ,
3- "version" : " 1.6.4 " ,
3+ "version" : " 1.6.5 " ,
44 "description" : " Simple tagging component" ,
55 "main" : " dist/react-tags.js" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ const removeIcon = <span>--</span>;
130130 </ div >
131131
132132 < pre >
133- { `<Tags onChange={:: this.onTagsChange} />
133+ { `<Tags onChange={this.onTagsChange.bind(this) } />
134134
135135tags: ${ this . state . tags } ` }
136136 </ pre >
You can’t perform that action at this time.
0 commit comments