flashoff 0.0.15 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d3127bc08489ee52afa81b5e4f768b87ef88c44
4
- data.tar.gz: c8f130dfae2d61a3bff8a6483b1128eb3f9d68b3
3
+ metadata.gz: e0e719fd8dfb2650d71892c31d0024618a243931
4
+ data.tar.gz: 20666aee778886336049a169b173fcc2978084de
5
5
  SHA512:
6
- metadata.gz: 5100af9c20c5df48b8da738f44170f2615249b1915b06f5724fd768a62283b34b302a4735103bc505d7d24929fe5f21390174be69b85b8f7120d033c7447b9f6
7
- data.tar.gz: 0a2c33fea1a661b9e247c2f63c234ae5e7108f7597aa6de8c12f0021ea88d01d122ea573ddfd31d12fb772b6667087252ddd4742bcb5682a5a99d0c40a0bffc0
6
+ metadata.gz: 917793020f36d11daf5af8b2a05ffa9419c0bfe7903fc6a103d12216be753a7ea70f24c358468c43be4dd4b568220b81bd2a5250b39a28dfbf9fbddbeb57cf87
7
+ data.tar.gz: 34fd2eb2631d91c6cf0b0a67c028a9bd8a0b79cf1bad6e1daced9b87745c93e84d6b69b33a3cb82eac707486457d629e86dbe41686891b6f85ba6b23a8ba8eb2
@@ -1,3 +1,3 @@
1
1
  module Flashoff
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
@@ -1,3 +1,23 @@
1
+ (function(root, factory) {
2
+ if(typeof exports === 'object') {
3
+ module.exports = factory();
4
+ }
5
+ else if(typeof define === 'function' && define.amd) {
6
+ define('GMaps', [], factory);
7
+ }
8
+
9
+ root.GMaps = factory();
10
+
11
+ }(this, function() {
12
+
13
+ /*!
14
+ * GMaps.js v0.4.9
15
+ * http://hpneo.github.com/gmaps/
16
+ *
17
+ * Copyright 2013, Gustavo Leon
18
+ * Released under the MIT License.
19
+ */
20
+
1
21
  if (!(typeof window.google === 'object' && window.google.maps)) {
2
22
  throw 'Google Maps API is required. Please register the following JavaScript library http://maps.google.com/maps/api/js?sensor=true.'
3
23
  }
@@ -390,7 +410,9 @@ var GMaps = (function(global) {
390
410
  i;
391
411
 
392
412
  for (i = 0; i < markers_length; i++) {
393
- latLngs.push(this.markers[i].getPosition());
413
+ if(typeof(this.markers[i].visible) === 'boolean' && this.markers[i].visible) {
414
+ latLngs.push(this.markers[i].getPosition());
415
+ }
394
416
  }
395
417
 
396
418
  this.fitLatLngBounds(latLngs);
@@ -1739,6 +1761,10 @@ GMaps.staticMapURL = function(options){
1739
1761
  parameters.push('path=' + encodeURI(polyline));
1740
1762
  }
1741
1763
 
1764
+ /** Retina support **/
1765
+ var dpi = window.devicePixelRatio || 1;
1766
+ parameters.push('scale=' + dpi);
1767
+
1742
1768
  parameters = parameters.join('&');
1743
1769
  return static_root + parameters;
1744
1770
  };
@@ -2033,4 +2059,7 @@ if (!Array.prototype.indexOf) {
2033
2059
  }
2034
2060
  return -1;
2035
2061
  }
2036
- }
2062
+ }
2063
+
2064
+ return GMaps;
2065
+ }));
@@ -6,6 +6,7 @@
6
6
  #Button Links
7
7
  #Button Icons
8
8
  #Button Outlines
9
+ #Button Styles
9
10
  #Button Group
10
11
  #Button Toolbar */
11
12
 
@@ -152,6 +153,10 @@ input.btn-block {
152
153
  .btn-small.btn-icon.btn-outline { padding: 6px 7px 6px 6px; }
153
154
  .btn-mini.btn-icon.btn-outline { padding: 4px 6px 4px 6px; }
154
155
 
156
+ /* #Button Styles
157
+ ================================================== */
158
+ .btn-round { border-radius: 500px; }
159
+
155
160
  /* #Button Group
156
161
  ================================================== */
157
162
  .btn-group {
@@ -48,7 +48,7 @@
48
48
  }
49
49
  .nav-list > li > a {
50
50
  color: rgba(158,171,179,1);
51
- padding: 11px 15px 8px 15px;
51
+ padding: 11px 15px 11px 15px;
52
52
  font-weight: bold;
53
53
  }
54
54
  .nav-list > li > a:hover { background-color: rgba(236,238,241,1); }
@@ -61,7 +61,7 @@
61
61
  .nav-list .divider {
62
62
  background-color: rgba(236,238,241,1);
63
63
  height: 1px;
64
- margin: 10px 0 8px 0;
64
+ margin: 10px 0 10px 0;
65
65
  overflow: hidden;
66
66
  }
67
67
  .nav-tabs:before,
@@ -93,7 +93,7 @@
93
93
  border-radius: 2px;
94
94
  color: rgba(158,171,179,1);
95
95
  margin-right: 3px;
96
- padding: 9px 10px 8px 10px;
96
+ padding: 9px 10px 9px 10px;
97
97
  }
98
98
  .nav-pills > li > a:hover { background-color: rgba(236,238,241,1); }
99
99
  .nav-pills > .active > a,
@@ -108,7 +108,7 @@
108
108
  .nav-tabs.nav-stacked > li > a {
109
109
  background-color: rgba(246,247,249,1);
110
110
  color: rgba(158,171,179,1);
111
- padding: 9px 10px 8px 10px;
111
+ padding: 10px 10px 8px 10px;
112
112
  }
113
113
  .nav-tabs.nav-stacked > li:first-child > a {
114
114
  border-top-right-radius: 3px;
@@ -129,8 +129,13 @@
129
129
  .nav-tabs.nav-stacked > .active > a:focus {
130
130
  background-color: rgba(58,144,216,1);
131
131
  color: rgba(255,255,255,1);
132
+ border-bottom: 0;
133
+ padding: 10px 10px 10px 10px;
134
+ }
135
+ .nav-pills.nav-stacked > li > a {
136
+ margin-bottom: 3px;
137
+ padding: 10px 10px 10px 10px;
132
138
  }
133
- .nav-pills.nav-stacked > li > a { margin-bottom: 3px; }
134
139
  .nav-pills.nav-stacked > li:last-child > a { margin-bottom: 0; }
135
140
  .nav-tabs .open .dropdown-toggle,
136
141
  .nav-pills .open .dropdown-toggle,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flashoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-12 00:00:00.000000000 Z
11
+ date: 2013-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler