googledocviewer 0.0.5 → 1.0.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: 7632e42cc46c2bafd8b4133b6e2d8a0b67082f2f
|
4
|
+
data.tar.gz: 420255225825c9b261ae3a238a66c2b38542ccad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18f7cbe6296c8f78d0f18dc13e149ed5c4861345363a20177f030ec0c08d9c3bbbc6f89778983f9de88059fe9d6ceb187791d8ffa4eadbc31c95971eedcfaebb
|
7
|
+
data.tar.gz: 311ced16050a73c0edafda8a7d38c480942166b0fe28455e9f6529c627f54290068aad934e2462c43b5bd8f0de8177801649e6cec07f6d97fbadd2527d7590c0
|
@@ -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=' +
|
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);
|