mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Make sure Events.js gets loaded in all examples.
This commit is contained in:
parent
815e35fda6
commit
3e4c49cb44
12 changed files with 12 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var vector = new Point(document.size.height, 0);
|
var vector = new Point(document.size.height, 0);
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var mousePoint = document.bounds.center;
|
var mousePoint = document.bounds.center;
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var layer = document.activeLayer;
|
var layer = document.activeLayer;
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var balls = [];
|
var balls = [];
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var point = document.bounds.center;
|
var point = document.bounds.center;
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var center = document.bounds.center;
|
var center = document.bounds.center;
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var letterPath = new Path(
|
var letterPath = new Path(
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var count = 0;
|
var count = 0;
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var path = new Path.Rectangle([50, 50], [100, 100]);
|
var path = new Path.Rectangle([50, 50], [100, 100]);
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var count = 0;
|
var count = 0;
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var point = new Point(document.size) / 2;
|
var point = new Point(document.size) / 2;
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientColor.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
<script type="text/javascript" src="../../src/color/Gradient.js"></script>
|
||||||
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
<script type="text/javascript" src="../../src/color/GradientStop.js"></script>
|
||||||
|
<script type="text/javascript" src="../../src/util/Events.js"></script>
|
||||||
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
<script type="text/javascript" src="../../src/util/PaperScript.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var path = new Path([100, 150], [150, 200], [200, 150]);
|
var path = new Path([100, 150], [150, 200], [200, 150]);
|
||||||
|
|
Loading…
Reference in a new issue