markdown-it-img-lazy
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -17,3 +17,3 @@ "use strict"; | ||
useNative && token.attrPush(['loading', 'lazy']); | ||
token.attrPush(['class', selector]); | ||
token.attrJoin('class', selector); | ||
token.attrs.splice(aIndex, 1); | ||
@@ -20,0 +20,0 @@ return defaultImageRenderer(tokens, idx, options, env, self); |
{ | ||
"name": "markdown-it-img-lazy", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
@@ -35,3 +35,3 @@ # markdown-it-img-lazy | ||
### useNative | ||
- Type: `Boolben` | ||
- Type: `Boolean` | ||
- Default: `true` | ||
@@ -38,0 +38,0 @@ - Required: `false` |
4722