Skip to content

Commit 7f271df

Browse files
committed
removing refs to p5.dom closes #633 closes processing/p5.js#4400
1 parent ad1af8d commit 7f271df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+46
-143
lines changed

offline-reference/extra/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686

8787
<script src="./js/p5.min.js"></script>
8888
<script src="./js/p5.sound.min.js"></script>
89-
<script src="./js/p5.dom.min.js"></script>
9089
<script src="./js/render.js"></script>
9190
<!-- prism for code highlighting -->
9291
<script src="./js/vendor/prism.js"></script>

offline-reference/extra/js/reference.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4595,7 +4595,7 @@ define('router',[
45954595
get: function(searchClass, searchItem) {
45964596

45974597
// if looking for a library page, redirect
4598-
if ((searchClass === 'p5.dom' || searchClass === 'p5.sound')
4598+
if (searchClass === 'p5.sound')
45994599
&& !searchItem) {
46004600
window.location.hash = '/libraries/'+searchClass;
46014601
return;
@@ -4743,7 +4743,7 @@ require([
47434743
'./documented-method'], function(App, DocumentedMethod) {
47444744

47454745
// Set collections
4746-
App.collections = ['allItems', 'classes', 'events', 'methods', 'properties', 'p5.sound', 'p5.dom'];
4746+
App.collections = ['allItems', 'classes', 'events', 'methods', 'properties', 'p5.sound'];
47474747

47484748
// Get json API data
47494749
var data = referenceData;
@@ -4767,9 +4767,6 @@ require([
47674767
if (m.name == "p5.sound") {
47684768
App.sound.module = m;
47694769
}
4770-
else if (m.name == "p5.dom") {
4771-
App.dom.module = m;
4772-
}
47734770
});
47744771

47754772

@@ -4803,12 +4800,6 @@ require([
48034800
if (el.module === "p5.sound") {
48044801
App.sound.items.push(el);
48054802
}
4806-
else if (el.module === "p5.dom" || el.module === 'DOM') {
4807-
if (el.class === 'p5.dom') {
4808-
el.class = 'p5';
4809-
}
4810-
App.dom.items.push(el);
4811-
}
48124803
}
48134804
});
48144805

src/assets/learn/curves/bezier/embed.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<title>Curves Example</title>
44
<script src="../../../js/p5.min.js"></script>
55
<!-- uncomment lines below to include extra p5 libraries -->
6-
<script src="../../../js/p5.dom.min.js"></script>
76
<!--<script src="../addons/p5.sound.js"></script>-->
87
<script src="sketch.js"></script>
98
<!-- this line removes any default padding and style. you might only need one of these values set. -->

src/assets/learn/curves/curve_ex/embed.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<title>Curves Example</title>
44
<script src="../../../js/p5.min.js"></script>
55
<!-- uncomment lines below to include extra p5 libraries -->
6-
<script src="../../../js/p5.dom.min.js"></script>
76
<!--<script src="../addons/p5.sound.js"></script>-->
87
<script src="sketch.js"></script>
98
<!-- this line removes any default padding and style. you might only need one of these values set. -->

src/assets/learn/trigonometry/sincoscurves/embed.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<title>sin cos curves</title>
44
<script src="http://www.courses.tegabrain.com/PVA15/wp-content/uploads/2015/10/p5.min_.js"></script>
55
<!-- uncomment lines below to include extra p5 libraries -->
6-
<!--<script src="../addons/p5.dom.js"></script>-->
76
<!--<script src="../addons/p5.sound.js"></script>-->
87
<script src="http://www.courses.tegabrain.com/PVA15/wp-content/uploads/2015/10/sketch.js"></script>
98
<!-- this line removes any default padding and style. you might only need one of these values set. -->

src/assets/learn/trigonometry/sincoscurves/embed1.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<title>sin cos curves</title>
44
<script src="http://www.courses.tegabrain.com/PVA15/wp-content/uploads/2015/10/p5min.js"></script>
55
<!-- uncomment lines below to include extra p5 libraries -->
6-
<!--<script src="../addons/p5.dom.js"></script>-->
76
<!--<script src="../addons/p5.sound.js"></script>-->
87
<script src="http://www.courses.tegabrain.com/PVA15/wp-content/uploads/2015/10/sketch.js"></script>
98
<!-- this line removes any default padding and style. you might only need one of these values set. -->

src/assets/learn/trigonometry/unitCircle/embed.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<title>sin cos curves</title>
44
<script src="../../../js/p5.min.js"></script>
55
<!-- uncomment lines below to include extra p5 libraries -->
6-
<script src="../../../js/p5.dom.min.js"></script>
76
<!--<script src="../addons/p5.sound.js"></script>-->
87
<script src="sketch.js"></script>
98
<!-- this line removes any default padding and style. you might only need one of these values set. -->

src/data/es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ libraries:
401401
core-libraries: "Bibliotecas principales"
402402
community-libraries: "Bibliotecas de la comunidad"
403403
libraries-created-by: "Creada por:"
404-
p5.dom: "p5.dom te permite interactuar con objetos HTML5 más allá del lienzo, incluyendo video, audio, cámara, entrada y texto."
405404
p5.sound: "p5.sound extiende p5 con funcionalidad de Web Audio, incluyendo entrada de audio, reproducción, análisis y síntesis."
406405
p5.accessibility: "p5.accessibility permite que el canvas de p5 sea más accesible a personas con discapacidad visual."
407406
Contributed: "Bibliotecas contribuidas"

src/data/examples/en/16_Dom/03_Input_Button.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
/*
22
* @name Input and Button
3-
* @description You will need to include the
4-
* <a href="http://p5js.org/reference/#/libraries/p5.dom">p5.dom library</a>
5-
* for this example to work in your own project.<br><br>
6-
* Input text and click the button to see it affect the the canvas.
3+
* @description Input text and click the button to see it affect the the canvas.
74
*/
85
let input, button, greeting;
96

src/data/examples/en/16_Dom/04_Slider.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
/*
22
* @name Slider
3-
* @description You will need to include the
4-
* <a href="http://p5js.org/reference/#/libraries/p5.dom">p5.dom library</a>
5-
* for this example to work in your own project.<br><br>
6-
* Move the sliders to control the R, G, B values of the background.
3+
* @description Move the sliders to control the R, G, B values of the background.
74
*/
85
let rSlider, gSlider, bSlider;
96

0 commit comments

Comments
 (0)