googledocviewer 1.0.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e32689db720119d5cfc08ef348742b958f3af66f
|
4
|
+
data.tar.gz: 3d148c080bab66900d188662a9294bdad5a64332
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 941d402adda6281fc8e04b6edff9cc867320d7bc9c524708d875ed09d6650102c5d21f1777e36ab8e3875ffaa8fb6e3300f10fc24c5e93a075c90c4390eb6769
|
7
|
+
data.tar.gz: 8bd907426de23d47afad28a7a026e179b4140e4c0e7d8f51c1ca26245c383ede857576936b04cff7825096d819103d59d72d1097ce68ff080944dc0712a2b52d
|
@@ -6,4 +6,4 @@
|
|
6
6
|
* @author Jawish Hameed
|
7
7
|
* @version 1.0
|
8
8
|
*/
|
9
|
-
(function(a){a.fn.gdocsViewer=function(b){var c={width:"600",height:"700", security:"http"};if(b){a.extend(c,b)}return this.each(function(){var d=a(this).attr("href");var e=d.substring(d.lastIndexOf(".")+1);if(/^(tiff|pdf|ppt|pps|doc|docx)$/.test(e)){a(this).after(function(){var g=a(this).attr("id");var f=(typeof g!=="undefined"&&g!==false)?g+"-gdocsviewer":"";return'<div id="'+f+'" class="gdocsviewer"><iframe src=' + c.security + '
|
9
|
+
(function(a){a.fn.gdocsViewer=function(b){var c={width:"600",height:"700", security:"http"};if(b){a.extend(c,b)}return this.each(function(){var d=a(this).attr("href");var e=d.substring(d.lastIndexOf(".")+1);if(/^(tiff|pdf|ppt|pps|doc|docx)$/.test(e)){a(this).after(function(){var g=a(this).attr("id");var f=(typeof g!=="undefined"&&g!==false)?g+"-gdocsviewer":"";return'<div id="'+f+'" class="gdocsviewer"><iframe src=' + c.security + '://docs.google.com/viewer?embedded=true&url='+encodeURIComponent(d)+'" width="'+c.width+'" height="'+c.height+'" style="border: none;"></iframe></div>'})}})}})(jQuery);
|