googledocviewer 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/lib/googledocviewer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 335829c84e7949e537006cbe01b9ed914f413508
|
4
|
+
data.tar.gz: 9186eb93ce7df0d0d897688c9b30bcce5cf939d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c80e1e0546958170a37a068e19d6aa8dca31ef1bf208056a921de85f53b30ad63b8fbb4daabae7fd1b09dba281dbe85ecdd7d9363e79be41203e73618f00cea9
|
7
|
+
data.tar.gz: ace8f9f2255b898ea6a10ae734159f21ce54dca61814e322ea1599a591ca148e56299dcb704442944fccf22457fa7198801f3665d9490e41b603fb6e49fdeb15
|
data/README.md
CHANGED
@@ -47,7 +47,19 @@ Initialize gDocsViewer and set it to process the URL with id or all URLs with th
|
|
47
47
|
or
|
48
48
|
```html
|
49
49
|
$('#embedURL').gdocsViewer();
|
50
|
+
```
|
51
|
+
|
52
|
+
## Settings
|
53
|
+
|
54
|
+
The default width is 600px height is 700px. You can change this in your javascript by passing in a json object for width and height. For example, you would change width to 400px and height to 500px by doing...
|
55
|
+
|
56
|
+
```html
|
57
|
+
$('a.embed').gdocsViewer({width :'400',height : '500'});
|
50
58
|
```
|
59
|
+
or
|
60
|
+
```html
|
61
|
+
$('#embedURL').gdocsViewer({width :'400',height : '500'});
|
62
|
+
```
|
51
63
|
|
52
64
|
## Contributing
|
53
65
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: googledocviewer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Mitchell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|