Skip to content

Commit 95c278e

Browse files
A bit more readable example
The example on for `How do I only open one window at a time?` was unreadable due to the amount of attrs. Made some line breaks for attrs in order to make it more readable
1 parent 614cdd2 commit 95c278e

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

app/views/faq.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,22 @@ <h3 id="faq-map-partial-render" class="faq-entry-title">How do I only open one w
138138
If only one window at a time is needed, then use 'window' and change out the bindings. One method of accomplishing this is outlined below:
139139
</p>
140140
<div hljs>
141-
<ui-gmap-google-map center="map.center" zoom="map.zoom">
142-
<ui-gmap-window show="map.window.show" coords="map.window.model" options="map.window.options" closeClick="map.window.closeClick()">
141+
<ui-gmap-google-map center="map.center" zoom="map.zoom">
142+
<ui-gmap-window
143+
show="map.window.show"
144+
coords="map.window.model"
145+
options="map.window.options"
146+
closeclick="map.window.closeClick()">
147+
143148
<div ng-non-bindable>test</div>
149+
144150
</ui-gmap-window>
145-
<ui-gmap-markers idKey="'bid'" models="map.markers" coords="'self'" doCluster="false" fit="'true'" icon="'icon'" events="map.markersEvents" options="'options'"></ui-gmap-markers>
151+
152+
<ui-gmap-markers
153+
idkey="'bid'" models="map.markers" coords="'self'"
154+
docluster="false" fit="'true'" icon="'icon'"
155+
events="map.markersEvents" options="'options'">
156+
</ui-gmap-markers>
146157
</ui-gmap-google-map>
147158
</div>
148159

0 commit comments

Comments
 (0)