Skip to content

Commit

Permalink
Chrome cannot display unicode apostrophe (’) properly
Browse files Browse the repository at this point in the history
It displays it as ’
  • Loading branch information
NV committed May 29, 2012
1 parent ddadd7b commit 964e58f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chrome/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function sendToBackend(request) {
function onError(event) {
var error;
if (event.target.status == 0) {
error = 'Autosave Server doesnt run on ' + request.url;
error = 'Autosave Server doesn\'t run on ' + request.url;
} else if (event.target.status >= 300) {
error = event.target.responseText;
}
Expand All @@ -167,7 +167,7 @@ function sendToBackend(request) {
if (serverVersion.major < protocolVersion.major) {
error += 'Autosave Server ' + serverVersion + ' is out of date. Update it by running `npm install -g autosave@' + protocolVersion + '` in the terminal.';
} else {
error += 'Youre using an old version of DevTools Autosave extension (' + protocolVersion[0] + '.x) that is incompatible with Autosave Server ' + serverVersion + '.';
error += 'You\'re using an old version of DevTools Autosave extension (' + protocolVersion[0] + '.x) that is incompatible with Autosave Server ' + serverVersion + '.';
}
webkitNotifications.createNotification('', '', error).show();
console.error(error);
Expand Down
2 changes: 1 addition & 1 deletion chrome/devtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ chrome.devtools.inspectedWindow.onResourceContentCommitted.addListener(function(
chrome.extension.sendRequest({method: 'getBackend', url: url}, function(response) {

if (!response) {
console.error(url + ' doesnt match any rules in the DevTools Autosave options.');
console.error(url + ' doesn\'t match any rules in the DevTools Autosave options.');
return;
}

Expand Down

0 comments on commit 964e58f

Please sign in to comment.