mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
update cdn link
This commit is contained in:
parent
2edc6cdc5d
commit
2ea86d99c7
@ -20,7 +20,7 @@ This repository began as a GitHub fork of [ericdrowell/KineticJS](https://github
|
||||
# Quick Look
|
||||
|
||||
```html
|
||||
<script src="https://cdn.rawgit.com/konvajs/konva/0.12.3/konva.min.js"></script>
|
||||
<script src="https://cdn.rawgit.com/konvajs/konva/0.12.4/konva.min.js"></script>
|
||||
<div id="container"></div>
|
||||
<script>
|
||||
var stage = new Konva.Stage({
|
||||
@ -65,10 +65,10 @@ Konva supports UMD loading. So you can use all possible variants to load the fra
|
||||
###1 Load Konva via classical `<script>` tag:
|
||||
|
||||
```html
|
||||
<script src="https://cdn.rawgit.com/konvajs/konva/0.12.3/konva.min.js"></script>
|
||||
<script src="https://cdn.rawgit.com/konvajs/konva/0.12.4/konva.min.js"></script>
|
||||
```
|
||||
|
||||
You can use CDN: [https://cdn.rawgit.com/konvajs/konva/0.12.3/konva.min.js](https://cdn.rawgit.com/konvajs/konva/0.12.3/konva.min.js)
|
||||
You can use CDN: [https://cdn.rawgit.com/konvajs/konva/0.12.4/konva.min.js](https://cdn.rawgit.com/konvajs/konva/0.12.4/konva.min.js)
|
||||
|
||||
###2 Load via AMD (requirejs):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user