use https where possible

This commit is contained in:
yushijinhun 2017-09-30 21:26:26 +08:00
parent 43e08b364d
commit 1df1bc33fa
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
3 changed files with 11 additions and 11 deletions

View File

@ -23,8 +23,8 @@ JS
```js
$(() => {
$("#skin_container").skinPreview3d({
skinUrl: 'img/hatsune_miku.png',
capeUrl: 'img/mojang_cape.png',
skinUrl: "img/hatsune_miku.png",
capeUrl: "img/mojang_cape.png",
slim: true,
width: 600,
height: 600
@ -32,8 +32,8 @@ $(() => {
});
```
# Demos
* [Native javascript](http://hacksore.github.io/skinpreview3d.js/demo_purejs.html)
* [jQuery](http://hacksore.github.io/skinpreview3d.js/demo_jquery.html)
* [Native javascript](https://hacksore.github.io/skinpreview3d.js/demo_purejs.html)
* [jQuery](https://hacksore.github.io/skinpreview3d.js/demo_jquery.html)
# License
* `/img/mojang_cape.png` Copyright Mojang AB. [Link](https://minecraft.gamepedia.com/File:MojangCape2016.png)

View File

@ -14,8 +14,8 @@
<script>
$(() => {
$("#skin_container").skinPreview3d({
skinUrl: 'img/hatsune_miku.png',
capeUrl: 'img/mojang_cape.png',
skinUrl: "img/hatsune_miku.png",
capeUrl: "img/mojang_cape.png",
slim: true,
// disableControl: true, // This disables the mouse control feature
width: 600,

View File

@ -12,18 +12,18 @@
<script type="text/javascript" src="js/skinpreview3d.js"></script>
<script>
let skinViewer = new skinpreview3d.SkinViewer({
domElement: document.getElementById('skin_container'),
domElement: document.getElementById("skin_container"),
slim: true,
width: 600,
height: 600,
skinUrl: 'img/hatsune_miku.png',
capeUrl: 'img/mojang_cape.png',
skinUrl: "img/hatsune_miku.png",
capeUrl: "img/mojang_cape.png",
animation: skinpreview3d.WalkAnimation
});
// change the skin and cape
// skinViewer.skinUrl = 'img/hatsune_miku.png';
// skinViewer.capeUrl = 'img/mojang_cape.png';
// skinViewer.skinUrl = "img/hatsune_miku.png";
// skinViewer.capeUrl = "img/mojang_cape.png";
// change the width and height
// skinViewer.width = 300;