Skip to content

Commit 51ecfde

Browse files
authored
Merge pull request #657 from xkjyeah/feature/improve-project-structure
Feature/improve project structure
2 parents 490c781 + cfb9fa7 commit 51ecfde

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2431
-2057
lines changed

.editorconfig

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
# Use 4 spaces for the Python files
13+
[*.py]
14+
indent_size = 4
15+
max_line_length = 80
16+
17+
# The JSON files contain newlines inconsistently
18+
[*.json]
19+
insert_final_newline = ignore
20+
21+
# Minified JavaScript files shouldn't be changed
22+
[**.min.js]
23+
indent_style = ignore
24+
insert_final_newline = ignore
25+
26+
# Makefiles always use tabs for indentation
27+
[Makefile]
28+
indent_style = tab
29+
30+
# Batch files use tabs for indentation
31+
[*.bat]
32+
indent_style = tab
33+
34+
[*.md]
35+
trim_trailing_whitespace = false
36+

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: node_js
22
node_js:
3-
- '9'
3+
- '10'
44
script:
55
- npm run test
6-
before_deploy: 'npm run build-examples'
6+
before_deploy: 'npm run build:examples'
77
deploy:
88
provider: pages
99
github_token: $GITHUB_TOKEN

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"files.exclude": {
3+
"**/dist": true
4+
},
5+
"files.insertFinalNewline": true,
6+
"files.trimTrailingWhitespace": true
7+
}

build-copy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* copies the components to the dist directory */
22
require('shelljs/global')
33

4-
cp('src/components/infoWindow.vue', 'dist/components/')
4+
cp('src/components/info-window.vue', 'dist/components/')
55
cp('src/components/map.vue', 'dist/components/')
6-
cp('src/components/placeInput.vue', 'dist/components/')
6+
cp('src/components/place-input.vue', 'dist/components/')
77
cp('src/components/autocomplete.vue', 'dist/components/')
8-
cp('src/components/streetViewPanorama.vue', 'dist/components/')
8+
cp('src/components/street-view-panorama.vue', 'dist/components/')

dist/.babelrc

100644100755
File mode changed.

dist/vue-google-maps.js

100644100755
File mode changed.

examples/overlay.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
document.addEventListener('DOMContentLoaded', function() {
2828
Vue.component('google-map', VueGoogleMaps.Map);
29-
Vue.component('ground-overlay', VueGoogleMaps.MapElementFactory({
29+
Vue.component('ground-overlay', VueGoogleMaps.mapElementFactory({
3030
mappedProps: {
3131
'opacity': {}
3232
},

0 commit comments

Comments
 (0)