Skip to content

Commit 2b93386

Browse files
author
jfusco
committed
Updating examples to not use babel binder decorator. Updating README
1 parent be0d26e commit 2b93386

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
> Simple tagging component.
1212
13-
### Demo
13+
## Demo ##
1414
https://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
}

docs/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
);

docs/coverage/clover.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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"/>

docs/coverage/lcov-report/Tag.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ <h1>
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>

docs/coverage/lcov-report/Tags.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ <h1>
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>

docs/coverage/lcov-report/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h1>
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>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

src/example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
135135
tags: ${this.state.tags}`}
136136
</pre>

0 commit comments

Comments
 (0)