mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-29 19:19:14 -04:00
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:
parent
7ed10a7ba4
commit
78dd776426
15 changed files with 24 additions and 24 deletions
|
@ -20,7 +20,7 @@
|
|||
notify: true
|
||||
},
|
||||
},
|
||||
behaviors: [Chat.FileTransferProtocol],
|
||||
behaviors: [Snapdrop.FileTransferProtocol],
|
||||
_sendFile: function(toPeer, file) {
|
||||
if (!rtcConnectionSupported(toPeer)) {
|
||||
this.$.ws._sendFile(toPeer, file);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<script>
|
||||
'use strict';
|
||||
window.Chat = window.Chat || {};
|
||||
Chat.FileTransferProtocol = {
|
||||
window.Snapdrop = window.Snapdrop || {};
|
||||
Snapdrop.FileTransferProtocol = {
|
||||
properties: {
|
||||
loading: {
|
||||
type: Boolean,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue