Skip to content

Commit cef9e87

Browse files
committed
Less console logging
1 parent 979a1b9 commit cef9e87

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/assets/javascripts/backbone/plugins/emoticons.js.coffee

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Kandan.Plugins.Emoticons
33
@options:
44
regex: /\([a-zA-Z]+\)/g
55
template: _.template '''
6-
<img class="emoticon-embed" src="/assets/emoticons/<%= emoticon %>" height="30" width="30" />
6+
<img class="emoticon-embed" src="/assets/emoticons/<%= emoticon %>" height="40" width="40" />
77
'''
88

99

@@ -39,10 +39,8 @@ class Kandan.Plugins.Emoticons
3939
emoticon = @emoticons[match]
4040
needle = match.replace('(', '\\(').replace(')', '\\)')
4141
search = new RegExp(needle, 'g')
42-
console.log(search)
4342
replacement = @options.template({ emoticon: emoticon })
4443
message.content = message.content.replace(search, replacement) if emoticon
45-
console.log(message.content)
4644
return Kandan.Helpers.Activities.buildFromBaseTemplate(message)
4745

4846
# Kandan.Plugins.register "Kandan.Plugins.Emoticons"

app/assets/javascripts/backbone/views/channel_pane.js.coffee

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ class Kandan.Views.ChannelPane extends Backbone.View
33

44
render: (container)->
55
container = container || $(@el)
6-
console.log("channel view render", container);
76
$(container).html @paginatedActivitiesView()
87
$(container).append @chatboxView()
98
@setIdAndData(container)

0 commit comments

Comments
 (0)