Skip to content

Commit

Permalink
ICL-25770 Dist the changes and bump version to 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Vatsov committed Dec 9, 2021
1 parent 0a4f588 commit c6d1135
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 7 deletions.
32 changes: 29 additions & 3 deletions dist/packery.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* angular-packery
* http://github.com/sungard-labs/angular-packery
* Version: 1.0.6
* Version: 1.0.8
* License: MIT
*/

Expand Down Expand Up @@ -71,14 +71,40 @@
};
};

var uuidv4 = function() {
var uuid = '';
var index;

for (index = 0; index < 32; index += 1) {
switch (index) {
case 8:
case 20:
uuid += '-';
uuid += ((Math.random() * 16) | 0).toString(16); // eslint-disable-line no-bitwise
break;
case 12:
uuid += '-';
uuid += '4';
break;
case 16:
uuid += '-';
uuid += ((Math.random() * 4) | 8).toString(16); // eslint-disable-line no-bitwise
break;
default:
uuid += ((Math.random() * 16) | 0).toString(16); // eslint-disable-line no-bitwise
}
}
return uuid;
};

var packeryController = function ($rootScope, config, service) {

var self = this;

self.packeryInstantiated = false;
self.packeryDraggable = false;
self.dragHandle = undefined;
self.uniqueId = new Date().getTime();
self.uniqueId = uuidv4();
self.packery = {};

this.bindDragEvents = function (el) {
Expand Down Expand Up @@ -312,4 +338,4 @@
angular
.module('packeryTemplates', []).run(['$templateCache', packeryTemplates]);

})();
})();
4 changes: 2 additions & 2 deletions dist/packery.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-packery",
"version": "1.0.7",
"version": "1.0.8",
"author": "http://github.com/sungard-labs/angular-packery/graphs/contributors",
"homepage": "http://github.com/sungard-labs/angular-packery",
"repository": {
Expand Down

0 comments on commit c6d1135

Please sign in to comment.