Prefer single quotes
// FREEBIE
This commit is contained in:
parent
0e2d2d60c2
commit
1d6e391dd6
4 changed files with 78 additions and 78 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue