Skip to content

Commit

Permalink
Version 0.4
Browse files Browse the repository at this point in the history
Don't use deprecated String.contains API.
  • Loading branch information
clokep committed Apr 15, 2016
1 parent 3b1bf93 commit 98933b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Components.utils.import("resource:///modules/imWindows.jsm");

function replaceLogLinks(aOutgoingMessage) {
let text = aOutgoingMessage.message;
if (!text.contains("log.bezut.info"))
if (!text.includes("log.bezut.info"))
return;

let rewriteDate = function (match, ...params) {
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Description about="urn:mozilla:install-manifest">

<em:id>nottoday@mic.instantbird.org</em:id>
<em:version>0.3</em:version>
<em:version>0.4</em:version>
<em:name>Not today!</em:name>
<em:description>What do we say in logs? Not today! - replaces any reference to log.bezut.info/instantbird/(today|yesterday) with the correct date before sending the message</em:description>
<em:type>2</em:type>
Expand Down

0 comments on commit 98933b5

Please sign in to comment.