Move ConversationController to its own file

Encapsulate the global conversation cache collection against accidental
access, avoiding the data-clobbering bug fixed in previous commit.

Also move some one-off program initialization code from panel controller
to background.js

// FREEBIE
This commit is contained in:
lilia 2015-09-16 23:13:17 -07:00
parent 8f28c3af68
commit 0017f196ef
4 changed files with 90 additions and 77 deletions

View file

@ -281,6 +281,7 @@
<script type="text/javascript" src="js/chromium.js"></script>
<script type="text/javascript" src="js/bimap.js"></script>
<script type="text/javascript" src="js/conversation_controller.js"></script>
<script type="text/javascript" src="js/panel_controller.js"></script>
<script type="text/javascript" src="js/views/whisper_view.js"></script>