clean up unused vars and logs
This commit is contained in:
parent
c8f6374ac8
commit
eee1febbf9
5 changed files with 0 additions and 8 deletions
|
@ -11,7 +11,6 @@ import Settings from './Settings'
|
|||
import Visualize from './Visualize'
|
||||
|
||||
const Control = {
|
||||
init: function() {},
|
||||
selectNode: function(node, e) {
|
||||
var filtered = node.getData('alpha') === 0
|
||||
|
||||
|
|
|
@ -101,19 +101,16 @@ const DataModel = {
|
|||
},
|
||||
attachCollectionEvents: function() {
|
||||
DataModel.Topics.on('add remove', function(topic) {
|
||||
console.log('updating infobox and filters due to topic add or remove')
|
||||
InfoBox.updateNumbers()
|
||||
Filter.checkMetacodes()
|
||||
Filter.checkMappers()
|
||||
})
|
||||
DataModel.Synapses.on('add remove', function(synapse) {
|
||||
console.log('updating infobox and filters due to synapse add or remove')
|
||||
InfoBox.updateNumbers()
|
||||
Filter.checkSynapses()
|
||||
Filter.checkMappers()
|
||||
})
|
||||
DataModel.Mappings.on('add remove', function(mapping) {
|
||||
console.log('updating infobox and filters due to mapping add or remove')
|
||||
InfoBox.updateNumbers()
|
||||
Filter.checkSynapses()
|
||||
Filter.checkMetacodes()
|
||||
|
|
|
@ -25,8 +25,6 @@ const Filter = {
|
|||
mappers: [],
|
||||
synapses: []
|
||||
},
|
||||
isOpen: false,
|
||||
changing: false,
|
||||
reset: function() {
|
||||
var self = Filter
|
||||
self.filters.metacodes = []
|
||||
|
|
|
@ -91,7 +91,6 @@ const ReactApp = {
|
|||
const self = ReactApp
|
||||
const createElement = (Component, props) => <Component {...props} {...self.getProps()}/>
|
||||
const app = <Router createElement={createElement} routes={routes} history={browserHistory} onUpdate={self.handleUpdate} />
|
||||
console.log('rendering')
|
||||
ReactDOM.render(app, document.getElementById('react-app'))
|
||||
},
|
||||
getProps: function() {
|
||||
|
|
|
@ -13,7 +13,6 @@ const ChatView = {
|
|||
messages: new Backbone.Collection(),
|
||||
conversationLive: false,
|
||||
isParticipating: false,
|
||||
domId: 'chat-box-wrapper',
|
||||
init: function(urls) {
|
||||
const self = ChatView
|
||||
self.sound = new Howl({
|
||||
|
|
Loading…
Reference in a new issue