Skip to content

Commit ed7df9d

Browse files
committed
bf
1 parent a096b12 commit ed7df9d

32 files changed

Lines changed: 12 additions & 12 deletions

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ module.exports = function (grunt) {
406406
'cssmin',
407407
'uglify',
408408
'copy:dist',
409-
'filerev',
409+
//'filerev',
410410
'usemin',
411411
'htmlmin'
412412
]);

dist/api.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>embed.js</title> <meta name=description content="A JavaScript plugin that analyses the string and automatically embeds emojis, media, maps, tweets, code and services."> <meta name=viewport content="width=device-width,initial-scale=1"> <link rel="shortcut icon" href=favicon.e1d38bd4.ico> <link rel=apple-touch-icon href=apple-touch-icon.9727d3c2.png> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300" rel=stylesheet type=text/css> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <link rel=stylesheet href=styles/vendor.e0d30183.css> <link rel=stylesheet href=styles/api.247d49f8.css> <link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github.min.css> <body> <header> <a href="/embed.js/"><img src=images/logo.439ed97e.png srcset="images/logo@2x.5ec020f5.png 2x" alt=Logo></a> <nav> <ul> <a href="/embed.js/"> <li>Home</li> </a> <a href=getting_started.html> <li>Getting Started</li> </a> <a href=doc.html> <li>Options</li> </a> <a href=api.html> <li>API</li> </a> <a href=examples.html> <li>Examples</li> </a> <a href=https://github.com/ritz078/embed.js> <li><i class="fa fa-github"></i></li> </a> </ul> </nav> </header> <div class=left-nav> <ul> <li><b>Default Methods</b></li> <a href=#render> <li>render()</li> </a> <a href=#text> <li>text()</li> </a> <a href=#destroy> <li>destroy()</li> </a> <li><b>ejs Methods</b></li> <a href=#setOptions> <li>.setOptions()</li> </a> <a href=#applyEmbedJS> <li>.applyEmbedJS()</li> </a> <a href=#destroyEmbedJS> <li>.destroyEmbedJS()</li> </a> <a href=#template> <li>.template.serviceName()</li> </a> </ul> </div> <div class=container> <h4>Default Methods</h4> <p>This method of usage should be preferred if you wan't to apply embed.js to a single block or want the result as string.</p> <h5 id=render><b>.render()</b></h5> Renders the result in the element from which the original raw string was taken. <pre><code class=xml>
1+
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>embed.js</title> <meta name=description content="A JavaScript plugin that analyses the string and automatically embeds emojis, media, maps, tweets, code and services."> <meta name=viewport content="width=device-width,initial-scale=1"> <link rel="shortcut icon" href=favicon.ico> <link rel=apple-touch-icon href=apple-touch-icon.png> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300" rel=stylesheet type=text/css> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <link rel=stylesheet href=styles/vendor.css> <link rel=stylesheet href=styles/api.css> <link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github.min.css> <body> <header> <a href="/embed.js/"><img src=images/logo.png srcset="images/logo@2x.png 2x" alt=Logo></a> <nav> <ul> <a href="/embed.js/"> <li>Home</li> </a> <a href=getting_started.html> <li>Getting Started</li> </a> <a href=doc.html> <li>Options</li> </a> <a href=api.html> <li>API</li> </a> <a href=examples.html> <li>Examples</li> </a> <a href=https://github.com/ritz078/embed.js> <li><i class="fa fa-github"></i></li> </a> </ul> </nav> </header> <div class=left-nav> <ul> <li><b>Default Methods</b></li> <a href=#render> <li>render()</li> </a> <a href=#text> <li>text()</li> </a> <a href=#destroy> <li>destroy()</li> </a> <li><b>ejs Methods</b></li> <a href=#setOptions> <li>.setOptions()</li> </a> <a href=#applyEmbedJS> <li>.applyEmbedJS()</li> </a> <a href=#destroyEmbedJS> <li>.destroyEmbedJS()</li> </a> <a href=#template> <li>.template.serviceName()</li> </a> </ul> </div> <div class=container> <h4>Default Methods</h4> <p>This method of usage should be preferred if you wan't to apply embed.js to a single block or want the result as string.</p> <h5 id=render><b>.render()</b></h5> Renders the result in the element from which the original raw string was taken. <pre><code class=xml>
22
&lt;div id="element"&gt;
33
Lotus :smile: eleates vix attrahendams luna est.Advenas mori!Fermiums prarere in cubiculum!Cum cacula cantare,
44
omnes stellaes manifestum azureus, nobilis https://angularjs.org/ acipenseres.Cum orgia mori, omnes rationees
@@ -66,7 +66,7 @@
6666
'&lt;/div&gt;'+
6767
'&lt;/div&gt;'
6868
}
69-
</code></pre> </div> <script src=scripts/vendor.34ad31c3.js></script> <script src=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js></script> <script>hljs.initHighlightingOnLoad();
69+
</code></pre> </div> <script src=scripts/vendor.js></script> <script src=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js></script> <script>hljs.initHighlightingOnLoad();
7070

7171
$(".left-nav a").click(function (e) {
7272
e.preventDefault();

dist/doc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>embed.js</title> <meta name=description content="A JavaScript plugin that analyses the string and automatically embeds emojis, media, maps, tweets, code and services."> <meta name=viewport content="width=device-width,initial-scale=1"> <link rel="shortcut icon" href=favicon.e1d38bd4.ico> <link rel=apple-touch-icon href=apple-touch-icon.9727d3c2.png> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300" rel=stylesheet type=text/css> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <link rel=stylesheet href=styles/vendor.e0d30183.css> <link rel=stylesheet href=styles/doc.a10d6ba4.css> <link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github.min.css> <body> <header> <a href="/embed.js/"><img src=images/logo.439ed97e.png srcset="images/logo@2x.5ec020f5.png 2x" alt=Logo></a> <nav> <ul> <a href="/embed.js/"> <li>Home</li> </a> <a href=getting_started.html> <li>Getting Started</li> </a> <a href=doc.html> <li>Options</li> </a> <a href=api.html> <li>API</li> </a> <a href=examples.html> <li>Examples</li> </a> <a href=https://github.com/ritz078/embed.js> <li><i class="fa fa-github"></i></li> </a> </ul> </nav> </header> <div class=left-nav> <ul> </ul> </div> <div class=container> <h5>Advanced options</h5> <pre><code>
1+
<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>embed.js</title> <meta name=description content="A JavaScript plugin that analyses the string and automatically embeds emojis, media, maps, tweets, code and services."> <meta name=viewport content="width=device-width,initial-scale=1"> <link rel="shortcut icon" href=favicon.ico> <link rel=apple-touch-icon href=apple-touch-icon.png> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300" rel=stylesheet type=text/css> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <link rel=stylesheet href=styles/vendor.css> <link rel=stylesheet href=styles/doc.css> <link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github.min.css> <body> <header> <a href="/embed.js/"><img src=images/logo.png srcset="images/logo@2x.png 2x" alt=Logo></a> <nav> <ul> <a href="/embed.js/"> <li>Home</li> </a> <a href=getting_started.html> <li>Getting Started</li> </a> <a href=doc.html> <li>Options</li> </a> <a href=api.html> <li>API</li> </a> <a href=examples.html> <li>Examples</li> </a> <a href=https://github.com/ritz078/embed.js> <li><i class="fa fa-github"></i></li> </a> </ul> </nav> </header> <div class=left-nav> <ul> </ul> </div> <div class=container> <h5>Advanced options</h5> <pre><code>
22
{
33
marked : false,
44
markedOptions : {},
@@ -101,7 +101,7 @@
101101
showReposts : false,
102102
visual : false, //Show/hide the big preview image
103103
download : false //Show/Hide download buttons
104-
}</code></pre> <p>Options for soundcloud embedding.</p> <h5 id=beforeEmbedJSApply>beforeEmbedJSApply</h5> <span><b>Type</b> : Function</span> <br> <span><b>Default</b> : <code>function(){}</code></span> <p>A function to be executed before the plugin is executed.</p> <h5 id=afterEmbedJSApply>afterEmbedJSApply</h5> <span><b>Type</b> : Function</span> <br> <span><b>Default</b> : <code>function(){}</code></span> <p>A function to be executed after the plugin is executed.</p> <h5 id=onTweetsLoad>onTweetsLoad</h5> <span><b>Type</b> : Function</span> <br> <span><b>Default</b> : <code>function(){}</code></span> <p>A function to be executed after the tweets have been embedded.</p> <h5 id=videojsCallback>videojsCallback</h5> <span><b>Type</b> : Function</span> <br> <span><b>Default</b> : <code>function(){}</code></span> <p>A function to be executed after video.js has been applied.</p> </span></span></div> <script src=scripts/vendor.34ad31c3.js></script> <script src=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js></script> <script src=scripts/docs.760f9d50.js></script> <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --> <script>(function (b, o, i, l, e, r) {
104+
}</code></pre> <p>Options for soundcloud embedding.</p> <h5 id=beforeEmbedJSApply>beforeEmbedJSApply</h5> <span><b>Type</b> : Function</span> <br> <span><b>Default</b> : <code>function(){}</code></span> <p>A function to be executed before the plugin is executed.</p> <h5 id=afterEmbedJSApply>afterEmbedJSApply</h5> <span><b>Type</b> : Function</span> <br> <span><b>Default</b> : <code>function(){}</code></span> <p>A function to be executed after the plugin is executed.</p> <h5 id=onTweetsLoad>onTweetsLoad</h5> <span><b>Type</b> : Function</span> <br> <span><b>Default</b> : <code>function(){}</code></span> <p>A function to be executed after the tweets have been embedded.</p> <h5 id=videojsCallback>videojsCallback</h5> <span><b>Type</b> : Function</span> <br> <span><b>Default</b> : <code>function(){}</code></span> <p>A function to be executed after video.js has been applied.</p> </span></span></div> <script src=scripts/vendor.js></script> <script src=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js></script> <script src=scripts/docs.js></script> <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --> <script>(function (b, o, i, l, e, r) {
105105
b.GoogleAnalyticsObject = l;
106106
b[l] || (b[l] =
107107
function () {

0 commit comments

Comments
 (0)