Rename global variable 'Chat' to 'Snapdrop'

Initially a lot of code was copied from another project. This lead to confusing naming conventions.
This commit is contained in:
Robin Linus 2016-06-23 11:03:49 -06:00
parent 7ed10a7ba4
commit 78dd776426
15 changed files with 24 additions and 24 deletions

View file

@ -1,8 +1,8 @@
<link rel="import" href="file-selection-behavior.html">
<script>
'use strict';
window.Chat = window.Chat || {};
Chat.FileDropBehaviorImpl = {
window.Snapdrop = window.Snapdrop || {};
Snapdrop.FileDropBehaviorImpl = {
attached: function() {
var dropZone = this;
@ -44,5 +44,5 @@ document.body.addEventListener('drop', function(event) {
event.stopPropagation();
event.preventDefault();
});
Chat.FileDropBehavior = [Chat.FileDropBehaviorImpl, Chat.FileSelectionBehavior];
Snapdrop.FileDropBehavior = [Snapdrop.FileDropBehaviorImpl, Snapdrop.FileSelectionBehavior];
</script>