Skip to content

Commit 3246eda

Browse files
committed
chore: adjust dist files for the demo
1 parent fa25da9 commit 3246eda

File tree

5 files changed

+4
-119
lines changed

5 files changed

+4
-119
lines changed

src/Autocomplete/assets/dist/foo.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Dropzone/assets/dist/controller.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Map/assets/dist/abstract_map_controller.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/Map/src/Bridge/Google/assets/dist/map_controller.js

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -122,42 +122,7 @@ class default_1 extends default_1$1 {
122122
return polygon;
123123
}
124124
doCreateInfoWindow({ definition, element, }) {
125-
const { headerContent, content, extra, rawOptions = {}, ...otherOptions } = definition;
126-
const infoWindow = new _google.maps.InfoWindow({
127-
headerContent: this.createTextOrElement(headerContent),
128-
content: this.createTextOrElement(content),
129-
...otherOptions,
130-
...rawOptions,
131-
});
132-
if (element instanceof google.maps.marker.AdvancedMarkerElement) {
133-
element.addListener('click', () => {
134-
if (definition.autoClose) {
135-
this.closeInfoWindowsExcept(infoWindow);
136-
}
137-
infoWindow.open({ map: this.map, anchor: element });
138-
});
139-
if (definition.opened) {
140-
infoWindow.open({ map: this.map, anchor: element });
141-
}
142-
}
143-
else if (element instanceof google.maps.Polygon) {
144-
element.addListener('click', (event) => {
145-
if (definition.autoClose) {
146-
this.closeInfoWindowsExcept(infoWindow);
147-
}
148-
infoWindow.setPosition(event.latLng);
149-
infoWindow.open(this.map);
150-
});
151-
if (definition.opened) {
152-
const bounds = new google.maps.LatLngBounds();
153-
element.getPath().forEach((point) => {
154-
bounds.extend(point);
155-
});
156-
infoWindow.setPosition(bounds.getCenter());
157-
infoWindow.open({ map: this.map, anchor: element });
158-
}
159-
}
160-
return infoWindow;
125+
// :)
161126
}
162127
createTextOrElement(content) {
163128
if (!content) {

src/Translator/assets/dist/translator_controller.js

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -118,36 +118,6 @@ function getPluralizationRule(number, locale) {
118118
case 'mn':
119119
case 'mr':
120120
case 'nah':
121-
case 'nb':
122-
case 'ne':
123-
case 'nl':
124-
case 'nn':
125-
case 'no':
126-
case 'oc':
127-
case 'om':
128-
case 'or':
129-
case 'pa':
130-
case 'pap':
131-
case 'ps':
132-
case 'pt':
133-
case 'so':
134-
case 'sq':
135-
case 'sv':
136-
case 'sw':
137-
case 'ta':
138-
case 'te':
139-
case 'tk':
140-
case 'ur':
141-
case 'zu':
142-
return 1 === number ? 0 : 1;
143-
case 'am':
144-
case 'bh':
145-
case 'fil':
146-
case 'fr':
147-
case 'gun':
148-
case 'hi':
149-
case 'hy':
150-
case 'ln':
151121
case 'mg':
152122
case 'nso':
153123
case 'pt_BR':

0 commit comments

Comments
 (0)