Comparing version 2.0.27 to 2.0.28
{ | ||
"name": "autotune", | ||
"license": "Apache-2.0", | ||
"version": "2.0.27", | ||
"version": "2.0.28", | ||
"description": "Automatically tune JavaScript apps", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
@@ -29,3 +29,3 @@ # Autotune: automatically tune your apps to improve outcomes | ||
```html | ||
<!-- Shorthand syntax: --> | ||
<!-- Shorthand syntax --> | ||
<autotune> | ||
@@ -36,3 +36,3 @@ <h1>The glass is half full</h1> | ||
<!-- More explicitly:--> | ||
<!-- Same but more explicit --> | ||
<autotune experiment="Main title"> | ||
@@ -43,3 +43,3 @@ <h1 option="half full">The glass is half full</h1> | ||
<!-- Without custom tags (most compatible):--> | ||
<!-- Without custom tags (most compatible) --> | ||
<h1 data-experiment="Main title" data-option="half full">The glass is half full</h1> | ||
@@ -52,6 +52,6 @@ <h1 data-experiment="Main title" data-option="half empty">The glass is half empty</h1> | ||
```html | ||
<!-- Shorthand syntax: --> | ||
<!-- Shorthand syntax --> | ||
<a href="/buy-now" autotune>Buy now</a> | ||
<!-- Using standard custom attribute:--> | ||
<!-- Using standard custom attribute --> | ||
<a href="/buy-now" data-autotune>Buy now</a> | ||
@@ -58,0 +58,0 @@ ``` |
169864