mini-van-plate
Advanced tools
Comparing version 0.2.10 to 0.2.11
{ | ||
"name": "mini-van-plate", | ||
"version": "0.2.10", | ||
"version": "0.2.11", | ||
"description": "A Minimalist Template Engine for DOM Generation and Manipulation, Working for Both Client-side and Server-side Rendering", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -39,3 +39,3 @@ # **Mini-Van**: A Minimalist Template Engine for DOM Generation, Working for Both Client-side and Server-side Rendering | ||
import { serve } from "https://deno.land/std@0.184.0/http/server.ts" | ||
import van from "https://deno.land/x/minivan@0.2.10/src/van-plate.js" | ||
import van from "https://deno.land/x/minivan@0.2.11/src/van-plate.js" | ||
@@ -86,3 +86,3 @@ const {a, body, li, p, ul} = van.tags | ||
import { DOMParser } from "https://deno.land/x/deno_dom@v0.1.38/deno-dom-wasm.ts" | ||
import van from "https://deno.land/x/minivan@0.2.10/src/mini-van.js" | ||
import van from "https://deno.land/x/minivan@0.2.11/src/mini-van.js" | ||
@@ -128,12 +128,12 @@ const document = new DOMParser().parseFromString("", "text/html")! | ||
To get started on the client side, download the latest version [`mini-van-0.2.10.min.js`](https://vanjs.org/autodownload?file=mini-van-0.2.10.min.js) and add the line below to your script: | ||
To get started on the client side, download the latest version [`mini-van-0.2.11.min.js`](https://vanjs.org/autodownload?file=mini-van-0.2.11.min.js) and add the line below to your script: | ||
```javascript | ||
import van from "./mini-van-0.2.10.min.js" | ||
import van from "./mini-van-0.2.11.min.js" | ||
``` | ||
To code without ES6 modules, you can download the bundled version [`mini-van-0.2.10.nomodule.min.js`](https://vanjs.org/autodownload?file=mini-van-0.2.10.nomodule.min.js) and add the following line to your HTML file instead: | ||
To code without ES6 modules, you can download the bundled version [`mini-van-0.2.11.nomodule.min.js`](https://vanjs.org/autodownload?file=mini-van-0.2.11.nomodule.min.js) and add the following line to your HTML file instead: | ||
```html | ||
<script type="text/javascript" src="mini-van-0.2.10.nomodule.min.js"></script> | ||
<script type="text/javascript" src="mini-van-0.2.11.nomodule.min.js"></script> | ||
``` | ||
@@ -140,0 +140,0 @@ |
@@ -28,2 +28,2 @@ /// <reference types="./mini-van.d.ts" /> | ||
export default {"vanWithDoc": vanWithDoc, ...vanWithDoc(window.document)} | ||
export default {"vanWithDoc": vanWithDoc, ...vanWithDoc(window?.document)} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16739