fixed js errors
This commit is contained in:
parent
3d9adbef57
commit
c628f2463b
17
index.html
17
index.html
@ -4,21 +4,16 @@
|
||||
<meta content="utf-8" http-equiv="encoding">
|
||||
<meta http-equiv="Access-Control-Allow-Origin" content="*">
|
||||
<title>VVVW</title>
|
||||
<link rel="stylesheet" href="static/css/jquery-ui.min.css">
|
||||
<link rel="stylesheet" href="static/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="static/css/style.css">
|
||||
<link href="static/styles/jquery-ui.css" rel="stylesheet" type="text/css">
|
||||
<!-- <link rel="stylesheet" href="static/css/font-awesome/css/font-awesome.min.css"> -->
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.12.1/css/all.css" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="static/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<script src="static/js/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="static/js/p5/p5.min.js"></script>
|
||||
<script src="static/js/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
||||
<script src="static/js/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
||||
<script src="static/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
<script src="static/js/jquery-1.12.4.js"></script>
|
||||
<script src="static/js/jquery-ui.js"></script>
|
||||
<script src="static/js/jquery-3.5.1.min.js"></script>
|
||||
<script src="static/js/jquery-ui.min.js"></script>
|
||||
<script src="static/js/bootstrap.min.js"></script>
|
||||
<script src="static/js/d3.v3.min.js"></script>
|
||||
<script src="static/js/jquery.ui.touch-punch.min.js"></script>
|
||||
<script src="static/js/draggable.js"></script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid p-0">
|
||||
|
10
static/css/bootstrap.min.css
vendored
10
static/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
1
static/css/bootstrap.min.css.map
Normal file
1
static/css/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
1176
static/css/jquery-ui.css
vendored
1176
static/css/jquery-ui.css
vendored
File diff suppressed because it is too large
Load Diff
7
static/css/jquery-ui.min.css
vendored
Normal file
7
static/css/jquery-ui.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
10
static/js/bootstrap.min.js
vendored
10
static/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
1
static/js/bootstrap.min.js.map
Normal file
1
static/js/bootstrap.min.js.map
Normal file
File diff suppressed because one or more lines are too long
4645
static/js/d3/d3.js
vendored
4645
static/js/d3/d3.js
vendored
File diff suppressed because it is too large
Load Diff
11008
static/js/jquery-1.12.4.js
vendored
11008
static/js/jquery-1.12.4.js
vendored
File diff suppressed because it is too large
Load Diff
4
static/js/jquery-3.2.1.slim.min.js
vendored
4
static/js/jquery-3.2.1.slim.min.js
vendored
File diff suppressed because one or more lines are too long
18706
static/js/jquery-ui.js
vendored
18706
static/js/jquery-ui.js
vendored
File diff suppressed because it is too large
Load Diff
13
static/js/jquery-ui.min.js
vendored
Normal file
13
static/js/jquery-ui.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
11
static/js/jquery.ui.touch-punch.min.js
vendored
11
static/js/jquery.ui.touch-punch.min.js
vendored
@ -1,11 +0,0 @@
|
||||
/*!
|
||||
* jQuery UI Touch Punch 0.2.3
|
||||
*
|
||||
* Copyright 2011–2014, Dave Furfero
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.widget.js
|
||||
* jquery.ui.mouse.js
|
||||
*/
|
||||
!function(a){function f(a,b){if(!(a.originalEvent.touches.length>1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);
|
@ -1,66 +0,0 @@
|
||||
# Welcome to p5.js
|
||||
|
||||
You have downloaded the complete p5.js library ZIP file, yay!
|
||||
|
||||
# Contents of the p5 folder
|
||||
|
||||
* p5.js file
|
||||
* p5.min.js file
|
||||
* addons folder
|
||||
* p5.sound.js
|
||||
* p5.sound.min.js
|
||||
* empty-example folder
|
||||
* index.html
|
||||
* p5.js
|
||||
* p5.sound.js
|
||||
* sketch.js
|
||||
|
||||
## p5.js
|
||||
|
||||
This file stores the complete p5.js library. It is easy to read by humans, so feel free to open it and explore its contents. It also has a friendly error system, which helps new programmers with common user errors.
|
||||
|
||||
## p5.min.js
|
||||
|
||||
This file is a minified version of the p5.js file. It is a lighter version, with the same functionalities, but smaller file size. This minified version is harder to read for humans, and does not include the friendly error system.
|
||||
|
||||
## addons folder
|
||||
|
||||
The addons folder includes additional p5.js related libraries, in both original versions and minified versions.
|
||||
|
||||
### p5.sound.js, p5.sound.min.js
|
||||
|
||||
p5.sound extends p5.js with Web Audio functionality including audio input, playback, analysis, and synthesis.
|
||||
|
||||
## empty-example folder
|
||||
|
||||
This is an empty example of a website. The folder includes the file for the website, index.html, the p5.js library, other related p5.js libraries, and a template starting point for your p5.js sketch, called sketch.js.
|
||||
|
||||
### index.html
|
||||
|
||||
index.html is a template for an HTML file. This index.html first imports the libraries included in the folder (p5.js, p5.sound.js) then loads and executes the file sketch.js which is where you can write your own code.
|
||||
|
||||
### sketch.js
|
||||
|
||||
The sketch.js is a template for the p5.js sketch, with the functions setup() and draw() that you can complete.
|
||||
|
||||
## README.txt
|
||||
|
||||
This README file formatted with Markdown :)
|
||||
|
||||
# What's next?
|
||||
|
||||
If you need more information to help get you started, please refer to our website:
|
||||
https://p5js.org/get-started/ and https://p5js.org/learn/
|
||||
|
||||
An online reference to the p5.js library is available here:
|
||||
https://p5js.org/reference/
|
||||
|
||||
In order to run your website (including the empty-example), you need to enable a local server, please see this tutorial in our wiki:
|
||||
https://github.com/processing/p5.js/wiki/Local-server
|
||||
|
||||
p5.js is a community and p5.js is built by contributions. If you want to learn more about us, visit:
|
||||
https://p5js.org/community/
|
||||
|
||||
# License
|
||||
|
||||
The p5.js library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 2.1.
|
File diff suppressed because one or more lines are too long
3
static/js/p5/addons/p5.sound.min.js
vendored
3
static/js/p5/addons/p5.sound.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,24 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>p5.js example</title>
|
||||
<style>
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<script src="../p5.js"></script>
|
||||
<script src="../addons/p5.sound.min.js"></script>
|
||||
<script src="sketch.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,7 +0,0 @@
|
||||
function setup() {
|
||||
// put setup code here
|
||||
}
|
||||
|
||||
function draw() {
|
||||
// put drawing code here
|
||||
}
|
174861
static/js/p5/p5-test.js
174861
static/js/p5/p5-test.js
File diff suppressed because one or more lines are too long
93039
static/js/p5/p5.js
93039
static/js/p5/p5.js
File diff suppressed because one or more lines are too long
3
static/js/p5/p5.min.js
vendored
3
static/js/p5/p5.min.js
vendored
File diff suppressed because one or more lines are too long
80142
static/js/p5/p5.pre-min.js
vendored
80142
static/js/p5/p5.pre-min.js
vendored
File diff suppressed because one or more lines are too long
5
static/js/popper.min.js
vendored
5
static/js/popper.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user