Skip to content

Commit

Permalink
Fixed a spelling error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Start committed Sep 18, 2014
1 parent 7549a8e commit cca229a
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
14 changes: 7 additions & 7 deletions dist/pixi-particles.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,13 +615,13 @@
this.endScale = 1;
/**
* A minimum multiplier for the scale of a particle at both start and
* end. A value between minimumScaleMultipler and 1 is randomly generated
* end. A value between minimumScaleMultiplier and 1 is randomly generated
* and multiplied with startScale and endScale to provide the actual
* startScale and endScale for each particle.
* @property {Number} minimumScaleMultipler
* @property {Number} minimumScaleMultiplier
* @default 1
*/
this.minimumScaleMultipler = 1;
this.minimumScaleMultiplier = 1;
/**
* The starting color of all particles, as red, green, and blue uints from 0-255.
* @property {Array} startColor
Expand Down Expand Up @@ -921,10 +921,10 @@
{
this.startScale = config.scale.start;
this.endScale = config.scale.end;
this.minimumScaleMultipler = config.scale.minimumScaleMultipler || 1;
this.minimumScaleMultiplier = config.scale.minimumScaleMultiplier || 1;
}
else
this.startScale = this.endScale = this.minimumScaleMultipler = 1;
this.startScale = this.endScale = this.minimumScaleMultiplier = 1;
//set up the color
if (config.color)
{
Expand Down Expand Up @@ -1206,9 +1206,9 @@
p.startSpeed = this.startSpeed;
p.endSpeed = this.endSpeed;
p.acceleration = this.acceleration;
if(this.minimumScaleMultipler != 1)
if(this.minimumScaleMultiplier != 1)
{
var rand = Math.random() * (1 - this.minimumScaleMultipler) + this.minimumScaleMultipler;
var rand = Math.random() * (1 - this.minimumScaleMultiplier) + this.minimumScaleMultiplier;
p.startScale = this.startScale * rand;
p.endScale = this.endScale * rand;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/pixi-particles.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/bubbleSpray.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scale": {
"start": 0.01,
"end": 0.8,
"minimumScaleMultipler":0.5
"minimumScaleMultiplier":0.5
},
"color": {
"start": "ffffff",
Expand Down
2 changes: 1 addition & 1 deletion examples/bubbleStream.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scale": {
"start": 0.3,
"end": 0.6,
"minimumScaleMultipler":0.5
"minimumScaleMultiplier":0.5
},
"color": {
"start": "ffffff",
Expand Down
2 changes: 1 addition & 1 deletion examples/bubbles.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scale": {
"start": 0.25,
"end": 0.75,
"minimumScaleMultipler":0.5
"minimumScaleMultiplier":0.5
},
"color": {
"start": "ffffff",
Expand Down
2 changes: 1 addition & 1 deletion examples/bubblesVertical.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scale": {
"start": 0.25,
"end": 0.5,
"minimumScaleMultipler":0.5
"minimumScaleMultiplier":0.5
},
"color": {
"start": "ffffff",
Expand Down
2 changes: 1 addition & 1 deletion examples/snow.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scale": {
"start": 0.15,
"end": 0.2,
"minimumScaleMultipler":0.5
"minimumScaleMultiplier":0.5
},
"color": {
"start": "ffffff",
Expand Down
14 changes: 7 additions & 7 deletions src/Emitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@
this.endScale = 1;
/**
* A minimum multiplier for the scale of a particle at both start and
* end. A value between minimumScaleMultipler and 1 is randomly generated
* end. A value between minimumScaleMultiplier and 1 is randomly generated
* and multiplied with startScale and endScale to provide the actual
* startScale and endScale for each particle.
* @property {Number} minimumScaleMultipler
* @property {Number} minimumScaleMultiplier
* @default 1
*/
this.minimumScaleMultipler = 1;
this.minimumScaleMultiplier = 1;
/**
* The starting color of all particles, as red, green, and blue uints from 0-255.
* @property {Array} startColor
Expand Down Expand Up @@ -384,10 +384,10 @@
{
this.startScale = config.scale.start;
this.endScale = config.scale.end;
this.minimumScaleMultipler = config.scale.minimumScaleMultipler || 1;
this.minimumScaleMultiplier = config.scale.minimumScaleMultiplier || 1;
}
else
this.startScale = this.endScale = this.minimumScaleMultipler = 1;
this.startScale = this.endScale = this.minimumScaleMultiplier = 1;
//set up the color
if (config.color)
{
Expand Down Expand Up @@ -669,9 +669,9 @@
p.startSpeed = this.startSpeed;
p.endSpeed = this.endSpeed;
p.acceleration = this.acceleration;
if(this.minimumScaleMultipler != 1)
if(this.minimumScaleMultiplier != 1)
{
var rand = Math.random() * (1 - this.minimumScaleMultipler) + this.minimumScaleMultipler;
var rand = Math.random() * (1 - this.minimumScaleMultiplier) + this.minimumScaleMultiplier;
p.startScale = this.startScale * rand;
p.endScale = this.endScale * rand;
}
Expand Down

0 comments on commit cca229a

Please sign in to comment.