Skip to content

Commit

Permalink
Fixes bad words and actually minifies it
Browse files Browse the repository at this point in the history
  • Loading branch information
screeley committed Dec 1, 2011
1 parent 46cfe3b commit e7f7d24
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions README.rst
Expand Up @@ -51,6 +51,12 @@ Requires JQuery 1.3.1 or greater::


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>


And Embedly-jQuery. You can either download the file `here
<https://raw.github.com/embedly/embedly-jquery/master/jquery.embedly.min.js>`
or use Embedly's CDN like so::

<script type="text/javascript" src="http://scripts.embed.ly/jquery.embedly-2.1.6.js"></script>

Using Embedly-JQuery Using Embedly-JQuery
-------------------- --------------------
There are two ways to interact with this library. You can call Embedly directly There are two ways to interact with this library. You can call Embedly directly
Expand Down Expand Up @@ -252,6 +258,19 @@ and still have access to the ``oembed`` data for customization.
The event handler gets the oembed object passed in as a parameter as well if The event handler gets the oembed object passed in as a parameter as well if
you don't want to use jQuery.data(); The two are equivalent. you don't want to use jQuery.data(); The two are equivalent.


CDN
---
To get you going even faster, Embedly hosts all the files you need on
scripts.embed.ly. The latest version is available here::

http://scripts.embed.ly/jquery.embedly-2.1.6.js
http://scripts.embed.ly/jquery.embedly-2.1.6.min.js

The most current version of jQuery Preview will be available here::

http://scripts.embed.ly/jquery.embedly.js
http://scripts.embed.ly/jquery.embedly.min.js

Examples Examples
-------- --------
Examples can be found at - http://github.com/embedly/embedly-jquery/tree/master/examples/ Examples can be found at - http://github.com/embedly/embedly-jquery/tree/master/examples/
Expand Down
2 changes: 1 addition & 1 deletion jquery.embedly.js
Expand Up @@ -205,7 +205,7 @@
$.embedly.defaults = { $.embedly.defaults = {
endpoint: 'oembed', // default endpoint is oembed (preview and objectify available too) endpoint: 'oembed', // default endpoint is oembed (preview and objectify available too)
chars: null, // Default number of characters in description chars: null, // Default number of characters in description
words, null, // Default number of words in description words: null, // Default number of words in description
maxWidth: null, // force a maxWidth on all returned media maxWidth: null, // force a maxWidth on all returned media
maxHeight: null, // force a maxHeight on all returned media maxHeight: null, // force a maxHeight on all returned media
secure: false, // use https endpoint vs http secure: false, // use https endpoint vs http
Expand Down
2 changes: 1 addition & 1 deletion jquery.embedly.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7f7d24

Please sign in to comment.