diff --git a/.eslintrc.js b/.eslintrc.js index 22fdce865a3c3aef46d5aaaa19ab33907ca07da1..1ce7980cd4e21656b5b5f492e0a6dd2ec9da3329 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -8,13 +8,6 @@ module.exports = { env: { browser: true, }, - extends: [ - // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention - // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules. - 'plugin:vue/essential', - // https://github.com/standard/standard/blob/master/docs/RULES-en.md - 'standard' - ], // required to lint *.vue files plugins: [ 'vue' @@ -24,6 +17,11 @@ module.exports = { // allow async-await 'generator-star-spacing': 'off', // allow debugger during development + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' - } + }, + extends: [ + 'plugin:vue/essential', + 'standard' + ] } diff --git a/canvas-grad.html b/canvas-grad.html new file mode 100644 index 0000000000000000000000000000000000000000..01c867fa985e8e47a950689c65e4cf2b7b88d147 --- /dev/null +++ b/canvas-grad.html @@ -0,0 +1,77 @@ + + + + +Canvas Gradient + + + + + +Fork me on GitHub + + + + + \ No newline at end of file diff --git a/canvas.js b/canvas.js new file mode 100644 index 0000000000000000000000000000000000000000..803af68c645e9d499c8200fb3730f8b79427542b --- /dev/null +++ b/canvas.js @@ -0,0 +1,64 @@ +Canvas +
+ \ No newline at end of file diff --git a/classlist.html b/classlist.html new file mode 100644 index 0000000000000000000000000000000000000000..769218e0a546b7fd2d71fcfa8c22a927072a4eba --- /dev/null +++ b/classlist.html @@ -0,0 +1,67 @@ +Simple classList manipulation + +
+

Clicking the buttons below will toggle the class on the bacon ipsum text below, assigning the class with the same name (styles seen below). This is done using the new classList API.

+

Not supported :(

+
<style> 
+  .big { font-size: 30px; }
+  .bold { font-weight: bold; }
+  .pink { background: #FF5E99; color: #fff; }
+</style>
+

Bacon ipsum dolor sit amet pancetta bresaola tenderloin, swine meatball tongue ham boudin t-bone ribeye jerky sausage. Pork loin cow shankle drumstick tri-tip, chicken venison strip steak.

+

Toggle a class: + + + +

+
+ \ No newline at end of file diff --git a/test00/.keep b/test00/.keep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391