Skip to content
This repository was archived by the owner on Oct 3, 2018. It is now read-only.

Commit 63b8b05

Browse files
committed
Merge branch 'release/1.0.1'
2 parents 02328ba + 35fa38f commit 63b8b05

File tree

7 files changed

+22
-13
lines changed

7 files changed

+22
-13
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ emojify.js is now available on cdnjs - https://cdnjs.com/libraries/emojify.js
4242

4343
Add this to the rest of your stylesheet imports:
4444

45-
`<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/emojify.js/1.0/emojify.min.css" />`
45+
`<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/emojify.js/1.0.1/emojify.min.css" />`
4646

4747
Then add this to your Javascript code:
4848

49-
`<script src="//cdnjs.cloudflare.com/ajax/libs/emojify.js/1.0/emojify.min.js"></script>`
49+
`<script src="//cdnjs.cloudflare.com/ajax/libs/emojify.js/1.0.1/emojify.min.js"></script>`
5050

5151
### Via Bower
5252

@@ -153,18 +153,23 @@ emojify.replace('I am happy :)', replacer);
153153

154154
Please read [CONTRIBUTING.md](CONTRIBUTING.md).
155155

156+
## Credits
157+
158+
- [All Contributors](https://github.com/hassankhan/emojify.js/contributors)
159+
- [Hassan Khan](https://github.com/hassankhan)
160+
156161
## License
157162

158163
Please read [LICENSE.md](LICENSE.md). For image attributions, please read [LICENSE-IMAGES.md](LICENSE-IMAGES.md)
159164

160165
[travis]: https://travis-ci.org/hassankhan/emojify.js
161-
[appveyor]: https://ci.appveyor.com/project/adam-lynch/emojify-js
166+
[appveyor]: https://ci.appveyor.com/project/hassankhan/emojify-js
162167
[package-bower]: http://bower.io/search/?q=emojify.js
163168
[package-npm]: https://www.npmjs.org/package/emojify.js
164169
[ico-build]: http://img.shields.io/travis/hassankhan/emojify.js.svg?style=flat-square
165170
[ico-build-dev]: http://img.shields.io/travis/hassankhan/emojify.js/develop.svg?style=flat-square
166-
[ico-windows-build]: https://ci.appveyor.com/api/projects/status/6umkf6gc7dq64c2g/branch/master?svg=true
167-
[ico-windows-build-dev]: https://ci.appveyor.com/api/projects/status/6umkf6gc7dq64c2g/branch/develop?svg=true
171+
[ico-windows-build]: https://ci.appveyor.com/api/projects/status/908bymld8nm3ykxm?svg=true
172+
[ico-windows-build-dev]: https://ci.appveyor.com/api/projects/status/908bymld8nm3ykxm/branch/develop?svg=true
168173
[ico-bower]: http://img.shields.io/bower/v/emojify.js.svg?style=flat-square
169174
[ico-npm]: http://img.shields.io/npm/v/emojify.js.svg?style=flat-square
170175
[ico-license]: http://img.shields.io/npm/l/emojify.js.svg?style=flat-square

bower.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "emojify.js",
33
"main": "dist/js/emojify.js",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"homepage": "https://github.com/hassankhan/emojify.js",
66
"authors": [
77
"Hassan Khan (hassankhan)"
@@ -12,6 +12,7 @@
1212
],
1313
"license": "MIT",
1414
"ignore": [
15+
"src",
1516
"**/.*",
1617
"node_modules",
1718
"tests"

dist/js/emojify.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@
336336
else {
337337
treeTraverse(el, function(node){
338338
if(
339-
(typeof node.tagName !== 'undefined' && node.tagName.match(elementsBlacklist))
340-
|| (typeof node.className !== 'undefined' && node.className.match(classesBlacklist))
339+
(typeof node.tagName !== 'undefined' && node.tagName.match(elementsBlacklist)) ||
340+
(typeof node.className !== 'undefined' && node.className.match(classesBlacklist))
341341
){
342342
return false;
343343
}

dist/js/emojify.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emojify.js",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A Javascript module to convert emoji keywords to images.",
55
"main": "dist/js/emojify.js",
66
"scripts": {

src/emojify.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@
336336
else {
337337
treeTraverse(el, function(node){
338338
if(
339-
(typeof node.tagName !== 'undefined' && node.tagName.match(elementsBlacklist))
340-
|| (typeof node.className !== 'undefined' && node.className.match(classesBlacklist))
339+
(typeof node.tagName !== 'undefined' && node.tagName.match(elementsBlacklist)) ||
340+
(typeof node.className !== 'undefined' && node.className.match(classesBlacklist))
341341
){
342342
return false;
343343
}

tests/node.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ jsdom.env({
2020
done: function(errors, win) {
2121
global.window = win;
2222
global.document = win.document;
23-
JS.Test.autorun()
23+
JS.Test.autorun(function(runner){
24+
runner.setReporter(new JS.Test.Reporters.Spec())
25+
runner.addReporter(new JS.Test.Reporters.ExitStatus())
26+
})
2427
}
2528
})
2629

0 commit comments

Comments
 (0)