Skip to content

Commit

Permalink
add title to all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Feb 7, 2021
1 parent 3f57927 commit f4d72ba
Show file tree
Hide file tree
Showing 43 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/airFriction.js
Expand Up @@ -80,6 +80,7 @@ Example.airFriction = function() {
};
};

Example.airFriction.title = 'Air Friction';
Example.airFriction.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/avalanche.js
Expand Up @@ -99,6 +99,7 @@ Example.avalanche = function() {
};
};

Example.avalanche.title = 'Avalanche';
Example.avalanche.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/ballPool.js
Expand Up @@ -107,6 +107,7 @@ Example.ballPool = function() {
};
};

Example.ballPool.title = 'Ball Pool';
Example.ballPool.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/bridge.js
Expand Up @@ -124,6 +124,7 @@ Example.bridge = function() {
};
};

Example.bridge.title = 'Bridge';
Example.bridge.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/broadphase.js
Expand Up @@ -95,6 +95,7 @@ Example.broadphase = function() {
};
};

Example.broadphase.title = 'Broadphase';
Example.broadphase.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/car.js
Expand Up @@ -89,6 +89,7 @@ Example.car = function() {
};
};

Example.car.title = 'Car';
Example.car.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/catapult.js
Expand Up @@ -96,6 +96,7 @@ Example.catapult = function() {
};
};

Example.catapult.title = 'Catapult';
Example.catapult.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/chains.js
Expand Up @@ -122,6 +122,7 @@ Example.chains = function() {
};
};

Example.chains.title = 'Chains';
Example.chains.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/circleStack.js
Expand Up @@ -81,6 +81,7 @@ Example.circleStack = function() {
};
};

Example.circleStack.title = 'Circle Stack';
Example.circleStack.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/cloth.js
Expand Up @@ -84,6 +84,7 @@ Example.cloth = function() {
};
};

Example.cloth.title = 'Cloth';
Example.cloth.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/collisionFiltering.js
Expand Up @@ -154,6 +154,7 @@ Example.collisionFiltering = function() {
};
};

Example.collisionFiltering.title = 'Collision Filtering';
Example.collisionFiltering.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/compositeManipulation.js
Expand Up @@ -107,6 +107,7 @@ Example.compositeManipulation = function() {
};
};

Example.compositeManipulation.title = 'Composite Manipulation';
Example.compositeManipulation.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/compound.js
Expand Up @@ -106,6 +106,7 @@ Example.compound = function() {
};
};

Example.compound.title = 'Compound Bodies';
Example.compound.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/compoundStack.js
Expand Up @@ -89,6 +89,7 @@ Example.compoundStack = function() {
};
};

Example.compoundStack.title = 'Compound Stack';
Example.compoundStack.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/concave.js
Expand Up @@ -95,6 +95,7 @@ Example.concave = function() {
};
};

Example.concave.title = 'Concave';
Example.concave.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/constraints.js
Expand Up @@ -179,6 +179,7 @@ Example.constraints = function() {
};
};

Example.constraints.title = 'Constraints';
Example.constraints.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/doublePendulum.js
Expand Up @@ -148,6 +148,7 @@ Example.doublePendulum = function() {
};
};

Example.doublePendulum.title = 'Double Pendulum';
Example.doublePendulum.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/events.js
Expand Up @@ -178,6 +178,7 @@ Example.events = function() {
};
};

Example.events.title = 'Events';
Example.events.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/friction.js
Expand Up @@ -90,6 +90,7 @@ Example.friction = function() {
};
};

Example.friction.title = 'Friction';
Example.friction.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/gravity.js
Expand Up @@ -96,6 +96,7 @@ Example.gravity = function() {
};
};

Example.gravity.title = 'Reverse Gravity';
Example.gravity.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/gyro.js
Expand Up @@ -130,6 +130,7 @@ Example.gyro = function() {
};
};

Example.gyro.title = 'Gyroscope';
Example.gyro.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/manipulation.js
Expand Up @@ -140,6 +140,7 @@ Example.manipulation = function() {
};
};

Example.manipulation.title = 'Manipulation';
Example.manipulation.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/mixed.js
Expand Up @@ -105,6 +105,7 @@ Example.mixed = function() {
};
};

Example.mixed.title = 'Mixed Shapes';
Example.mixed.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/newtonsCradle.js
Expand Up @@ -76,6 +76,7 @@ Example.newtonsCradle = function() {
};
};

Example.newtonsCradle.title = 'Newton\'s Cradle';
Example.newtonsCradle.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/pyramid.js
Expand Up @@ -81,6 +81,7 @@ Example.pyramid = function() {
};
};

Example.pyramid.title = 'Pyramid';
Example.pyramid.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/ragdoll.js
Expand Up @@ -498,6 +498,7 @@ Example.ragdoll.ragdoll = function(x, y, scale, options) {
return person;
};

Example.ragdoll.title = 'Ragdoll';
Example.ragdoll.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/raycasting.js
Expand Up @@ -135,6 +135,7 @@ Example.raycasting = function() {
};
};

Example.raycasting.title = 'Raycasting';
Example.raycasting.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/restitution.js
Expand Up @@ -85,6 +85,7 @@ Example.restitution = function() {
};
};

Example.restitution.title = 'Restitution';
Example.restitution.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/rounded.js
Expand Up @@ -109,6 +109,7 @@ Example.rounded = function() {
};
};

Example.rounded.title = 'Rounded Corners (Chamfering)';
Example.rounded.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/sensors.js
Expand Up @@ -130,6 +130,7 @@ Example.sensors = function() {
};
};

Example.sensors.title = 'Sensors';
Example.sensors.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/sleeping.js
Expand Up @@ -104,6 +104,7 @@ Example.sleeping = function() {
};
};

Example.sleeping.title = 'Sleeping';
Example.sleeping.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/slingshot.js
Expand Up @@ -100,6 +100,7 @@ Example.slingshot = function() {
};
};

Example.slingshot.title = 'Slingshot';
Example.slingshot.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/softBody.js
Expand Up @@ -85,6 +85,7 @@ Example.softBody = function() {
};
};

Example.softBody.title = 'Soft Body';
Example.softBody.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/sprites.js
Expand Up @@ -112,6 +112,7 @@ Example.sprites = function() {
};
};

Example.sprites.title = 'Sprites';
Example.sprites.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/stack.js
Expand Up @@ -81,6 +81,7 @@ Example.stack = function() {
};
};

Example.stack.title = 'Stack';
Example.stack.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/staticFriction.js
Expand Up @@ -106,6 +106,7 @@ Example.staticFriction = function() {
};
};

Example.staticFriction.title = 'Static Friction';
Example.staticFriction.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/stress.js
Expand Up @@ -79,6 +79,7 @@ Example.stress = function() {
};
};

Example.stress.title = 'Stress';
Example.stress.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/stress2.js
Expand Up @@ -79,6 +79,7 @@ Example.stress2 = function() {
};
};

Example.stress2.title = 'Stress 2';
Example.stress2.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/svg.js
Expand Up @@ -127,6 +127,7 @@ Example.svg = function() {
};
};

Example.svg.title = 'Concave SVG Paths';
Example.svg.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/terrain.js
Expand Up @@ -114,6 +114,7 @@ Example.terrain = function() {
};
};

Example.terrain.title = 'Terrain';
Example.terrain.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/timescale.js
Expand Up @@ -151,6 +151,7 @@ Example.timescale = function() {
};
};

Example.timescale.title = 'Time Scaling';
Example.timescale.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/views.js
Expand Up @@ -182,6 +182,7 @@ Example.views = function() {
};
};

Example.views.title = 'Views';
Example.views.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions examples/wreckingBall.js
Expand Up @@ -93,6 +93,7 @@ Example.wreckingBall = function() {
};
};

Example.wreckingBall.title = 'Wrecking Ball';
Example.wreckingBall.for = '>=0.14.2';

if (typeof module !== 'undefined') {
Expand Down

0 comments on commit f4d72ba

Please sign in to comment.