Skip to content

Commit

Permalink
make sure global uuid variable does not cause any collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-kos committed Dec 19, 2013
1 parent 9e27bb5 commit ebb1ddf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/dep/uuid.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,6 @@
return uuid;
};

_global.uuid = uuid;
_global.transloadit_uuid = uuid;
}
}).call(this);
2 changes: 1 addition & 1 deletion js/lib/jquery.transloadit2.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
this.uploads = [];
this.results = {};

this.assemblyId = uuid.v1().replace(/\-/g, '');
this.assemblyId = transloadit_uuid.v1().replace(/\-/g, '');

this.$fileClones = $().not(document);
this.$files.each(function() {
Expand Down

0 comments on commit ebb1ddf

Please sign in to comment.