googledocviewer 1.7.0 → 1.7.1
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: 4f1fde63450b25516bbdfc55986e6b805292e4da
|
4
|
+
data.tar.gz: d8910f3a2e71948e9ddca3c424ee0dfece5ba471
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 327886833816f85f8ad112f01aa4cf9cc6f936ca9823f1cbc87d8a8c1f53d2aac2336f2f7393e35cc632b41e5523bb1a5f521967436ba0b310faafd5551aa6aa
|
7
|
+
data.tar.gz: f4c3241c4446a974ba0796ad9b64f87f0ea2cb5a60ecbd4f0308e9db12ed4aec85a4bd6e15f9cb757556e9c4e5d45fb15458763b88bcc39aee476b790814efca
|
@@ -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 + '://docs.google.com/viewer?embedded=true&url='+encodeURIComponent(d)+'"
|
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);
|