diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..3136f83 --- /dev/null +++ b/.babelrc @@ -0,0 +1,15 @@ +{ + "exclude": ["node_modules/**", "bundles/**", "performance/**", "logo/**", "examples/**"], + "presets": [ + [ + "@babel/preset-env", + { + "modules": false, + "shippedProposals": true + } + ] + ], + "plugins": [ + "@babel/plugin-proposal-class-properties" + ] +} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 6449b25..a5441ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ cache: notifications: email: false node_js: - - "8" + - 8 before_install: - npm i -g npm@^6.0.0 before_script: diff --git a/examples/basic.html b/examples/basic.html index 777c007..fd5dab1 100644 --- a/examples/basic.html +++ b/examples/basic.html @@ -18,7 +18,7 @@
- + - - + +