File tree 4 files changed +43
-5
lines changed
4 files changed +43
-5
lines changed Original file line number Diff line number Diff line change 1
- # jquery.liveurl - a facebook attachment clone (version 1.2.0 )
1
+ # jquery.liveurl - a facebook attachment clone (version 1.2.1 )
2
2
3
3
This plugin enables a ** live preview** for an url in a * textarea* ,
4
4
like the facebook attachment<br /> of a post. Multiple images and a video preview is in this demo integrated.
Original file line number Diff line number Diff line change 41
41
</ div >
42
42
</ div >
43
43
44
- < script src ="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2 /jquery.min.js " > </ script >
44
+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0 /jquery.min.js " > </ script >
45
45
< script src ="jquery.liveurl.js "> </ script >
46
46
< script >
47
47
Original file line number Diff line number Diff line change 4
4
* MIT License - You are free to use this commercial projects as long as the copyright header is left intact.
5
5
* @author Stephan Fischer
6
6
* @copyright (c) 2012 Stephan Fischer (www.ainetworks.de)
7
- * @version 1.2.0
7
+ * @version 1.2.1
8
8
*
9
9
* UriParser is a function from my addon "Superswitch" for Mozilla FireFox.
10
10
*/
433
433
query : encodeURIComponent ( query )
434
434
} ;
435
435
436
-
437
- if ( $ . browser . msie && window . XDomainRequest ) {
436
+ var isIE = / m s i e / . test ( navigator . userAgent . toLowerCase ( ) ) ;
437
+
438
+ if ( isIE && window . XDomainRequest ) {
438
439
var xdr = new XDomainRequest ( ) ;
439
440
xdr . open ( "get" , yql [ 'path' ] + yql [ 'query' ] ) ;
440
441
xdr . onload = function ( )
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " liveurl" ,
3
+ "title" : " jQuery LiveURL" ,
4
+ "description" : " jQuery plugin to get an url preview like the facebook attachment" ,
5
+ "keywords" : [
6
+ " liveurl" ,
7
+ " url" ,
8
+ " attachement" ,
9
+ " facebook"
10
+ ],
11
+ "version" : " 1.0.3" ,
12
+ "author" : {
13
+ "name" : " Stephan Fischer" ,
14
+ "url" : " https://github.com/stephan-fischer"
15
+ },
16
+ "maintainers" : [
17
+ {
18
+ "name" : " Stephan Fischer" ,
19
+
20
+ "url" : " http://www.ainetworks.de"
21
+ }
22
+ ],
23
+ "licenses" : [
24
+ {
25
+ "type" : " MIT" ,
26
+ "url" : " https://github.com/stephan-fischer/jQuery-LiveUrl"
27
+ }
28
+ ],
29
+ "bugs" : " https://github.com/stephan-fischer/jQuery-LiveUrl/issues" ,
30
+ "homepage" : " https://github.com/stephan-fischer/jQuery-LiveUrl" ,
31
+ "docs" : " https://github.com/jquery/jquery-color" ,
32
+ "download" : " https://github.com/stephan-fischer/jQuery-LiveUrl/archive/master.zip" ,
33
+ "demo" : " http://liveurl.ainetworks.de/demo/" ,
34
+ "dependencies" : {
35
+ "jquery" : " >=1.8.2"
36
+ }
37
+ }
You can’t perform that action at this time.
0 commit comments