Skip to content

Commit

Permalink
Do not use default function parameters as it does not work in older (…
Browse files Browse the repository at this point in the history
…ES5) browsers.
  • Loading branch information
niklasramo committed Jul 2, 2020
1 parent 2547d05 commit 0b463ed
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/muuri.js
Original file line number Diff line number Diff line change
Expand Up @@ -6308,7 +6308,7 @@
this._isDestroyed = true;
};

function createPackerProcessor(isWorker = false) {
function createPackerProcessor(isWorker) {
var FILL_GAPS = 1;
var HORIZONTAL = 2;
var ALIGN_RIGHT = 4;
Expand Down
2 changes: 1 addition & 1 deletion dist/muuri.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/muuri.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -6302,7 +6302,7 @@ Item.prototype._destroy = function (removeElement) {
this._isDestroyed = true;
};

function createPackerProcessor(isWorker = false) {
function createPackerProcessor(isWorker) {
var FILL_GAPS = 1;
var HORIZONTAL = 2;
var ALIGN_RIGHT = 4;
Expand Down
2 changes: 1 addition & 1 deletion src/Packer/PackerProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* https://github.com/haltu/muuri/blob/master/src/Packer/LICENSE.md
*/

function createPackerProcessor(isWorker = false) {
function createPackerProcessor(isWorker) {
var FILL_GAPS = 1;
var HORIZONTAL = 2;
var ALIGN_RIGHT = 4;
Expand Down

0 comments on commit 0b463ed

Please sign in to comment.