Skip to content

Commit f6b31cd

Browse files
Fix missing .editorconfig file
1 parent a664c8e commit f6b31cd

File tree

15 files changed

+114
-99
lines changed

15 files changed

+114
-99
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# top-most editorconfig file
2+
root = true
3+
4+
# editor configuration
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_style = space
9+
indent_size = 2
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
# preserve markdown line break
14+
[*.md]
15+
trim_trailing_whitespace = false

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules
22
.DS_Store
3-
docs/.vuepress/dist
3+
docs/.vuepress/dist

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

docs/.vuepress/components/ExampleSpinner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
5252
}
5353
54-
54+
5555
</script>

docs/.vuepress/components/MojsCurveEditorExample.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,29 +42,29 @@ Usage:
4242
import('@mojs/curve-editor').then(module => {
4343
4444
// const startPath = 'M0, 100 C21, 100 25, 38 25, 38 C25, 38 37, 60 50, 60 C63, 60 65, 15 75, 15 C85, 15 87.71428571428571, 100 100, 100';
45-
45+
4646
this.myCurve = new MojsCurveEditor({
4747
name: 'myCurve',
4848
// startPath: startPath, // doesn't work properly in v1.5.0
4949
isHiddenOnMin: true,
5050
});
5151
5252
this.myCurve.minimize();
53-
53+
5454
const shape = new mojs.Shape({
5555
parent: '#curve-editor-example',
5656
y: {'-100': 100},
57-
57+
5858
duration: 2000,
5959
easing: this.myCurve.getEasing()
6060
});
61-
61+
6262
const timeline = new mojs.Timeline();
6363
timeline.add(
6464
shape
6565
);
66-
67-
66+
67+
6868
const controllerDOM = document.getElementById('curve-controller');
6969
new MojsPlayer({
7070
add: timeline,
@@ -89,7 +89,7 @@ Usage:
8989

9090
<style>
9191
.curve-example {
92-
margin-top: 20px;
92+
margin-top: 20px;
9393
}
9494
.curve-example--open {
9595
height: 300px

docs/.vuepress/components/MojsInteractive.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ circles.play()"
175175
console.error('Woops, please check your code for errors.', error)
176176
}
177177
}
178-
178+
179179
// Set the prop :controller=true to include a mojs player
180-
domRef = window['demo_' + this.id] || (this.global !== '' && window[this.global]);
180+
domRef = window['demo_' + this.id] || (this.global !== '' && window[this.global]);
181181
if (this.controller && domRef) {
182182
const parentDOM = document.getElementById(this.id + '_controller');
183183
// Create a global mojs player instance

docs/.vuepress/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
['meta', { name: "msapplication-config", content: "/assets/favicons/browserconfig.xml"}],
1616
['meta', { name: "theme-color", content: "#ffffff"}],
1717
],
18-
18+
1919
themeConfig: {
2020
logo: '/assets/img/logo.svg',
2121
nav: [
@@ -110,5 +110,5 @@ module.exports = {
110110
// sidebar: 'auto',
111111

112112
}
113-
114-
}
113+
114+
}

docs/.vuepress/styles/index.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ html, body {
4040
}
4141

4242
.content__default {
43-
max-width: 60em;
43+
max-width: 60em;
4444
margin: 0 auto;
4545
padding: 0 4%;
4646
}
@@ -241,4 +241,4 @@ blockquote {
241241
background-size: 2000px 1000px;
242242
background-position: center left;
243243
}
244-
}
244+
}

docs/tools/player/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ GUI player to control your animations
1616

1717
::: tip
1818
For shotcuts and more options, [read more here](https://github.com/mojs/mojs-player)
19-
:::
19+
:::

docs/tutorials/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ sidebarDepth: 0
1313

1414
## Modules
1515
- [Shape & ShapeSwirl](./shape-swirl/)
16-
- [Burst](./burst/)
16+
- [Burst](./burst/)

0 commit comments

Comments
 (0)