Prefer single quotes

// FREEBIE
This commit is contained in:
lilia 2015-12-25 22:17:30 -08:00
parent 0e2d2d60c2
commit 1d6e391dd6
4 changed files with 78 additions and 78 deletions

View file

@ -8,7 +8,7 @@
var URL_REGEX = /(^|[\s\n]|<br\/?>)((?:https?|ftp):\/\/[\-A-Z0-9\u00A0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD+\u0026\u2019@#\/%?=()~_|!:,.;]*[\-A-Z0-9+\u0026@#\/%=~()_|])/gi;
Whisper.MessageView = Whisper.View.extend({
tagName: "li",
tagName: 'li',
templateName: 'message',
initialize: function() {
this.listenTo(this.model, 'change:errors', this.onErrorsChanged);
@ -30,7 +30,7 @@
e.stopPropagation();
},
className: function() {
return ["entry", this.model.get('type')].join(' ');
return ['entry', this.model.get('type')].join(' ');
},
renderPending: function() {
this.$el.addClass('pending');