Skip to content

Commit 4c41fc3

Browse files
committed
feat : dotsub support added
1 parent 3b3704e commit 4c41fc3

6 files changed

Lines changed: 344 additions & 817 deletions

File tree

Gruntfile.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ module.exports = function(grunt) {
4343
dest: "dist/jquery.emoticons.min.js"
4444
},
4545
options: {
46-
banner: "<%= meta.banner %>"
46+
banner: "<%= meta.banner %>",
47+
compress:{
48+
drop_console:true
49+
}
4750
}
4851
},
4952

@@ -57,6 +60,9 @@ module.exports = function(grunt) {
5760

5861
// minify css files
5962
cssmin:{
63+
options:{
64+
report:'gzip'
65+
},
6066
target:{
6167
files:[{
6268
expand:true,

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ Features
1313
* PDF viewing with preview and then the actual pdf in a frame.
1414
* Inline Code Syntax highlighting (uses highlight.js)
1515
* Twitter tweet embedding supported
16-
* Codepen,jsbin,jsfiddle embed supported
16+
* Codepen, jsbin, jsfiddle embed supported
1717
* soundcloud support
18+
* Twitch tv, dotSub support
1819

1920
Dependencies
2021
------------
@@ -141,6 +142,7 @@ $('#element').emoticons({
141142
download : false //Show/Hide download buttons
142143
},
143144
twitchtvEmbed :true,
145+
dotsubEmbed :true,
144146
//callback before pdf preview
145147
beforePdfPreview : function(){},
146148
//callback after pdf preview

demo/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
<h1>emoticons-js</h1>
3131

3232
<div id="element">
33+
<h3>Dotsub support</h3>
34+
<div>Dexter genetrixs ducunt ad planeta.Cur nixus peregrinatione?Hercle, valebat ferox!.Superbus galataes ducunt ad animalis.Ferox galataes ducunt ad vox.
35+
https://dotsub.com/view/85897135-c6ee-4c93-acdd-d7e7f4d08b6e Est emeritis danista, cesaris.Cum xiphias mori, omnes lapsuses experientia peritus, grandis toruses.</div>
3336
<h3>Twitch TV support</h3>
3437

3538
<div>Decors peregrinatione in asopus!Cur deus unda?Nunquam attrahendam cannabis.Rumor de gratis orgia, fallere

dist/jquery.emoticons.js

Lines changed: 165 additions & 407 deletions
Large diffs are not rendered by default.

dist/jquery.emoticons.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.

src/jquery.emoticons.js

Lines changed: 165 additions & 407 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)