| Index: chrome/common/extensions/docs/templates/intros/tts.html
|
| diff --git a/chrome/common/extensions/docs/templates/intros/tts.html b/chrome/common/extensions/docs/templates/intros/tts.html
|
| index 1dfaca8aab12c346cde18f591bd1daa6df1bbbbf..a7387d6ad4a199183595adf873ee5dc83ef9c311 100644
|
| --- a/chrome/common/extensions/docs/templates/intros/tts.html
|
| +++ b/chrome/common/extensions/docs/templates/intros/tts.html
|
| @@ -87,8 +87,8 @@ to see if there were any errors.</p>
|
| utterance,
|
| options,
|
| function() {
|
| - if (chrome.extension.lastError) {
|
| - console.log('Error: ' + chrome.extension.lastError.message);
|
| + if (chrome.runtime.lastError) {
|
| + console.log('Error: ' + chrome.runtime.lastError.message);
|
| }
|
| });</pre>
|
|
|
| @@ -202,4 +202,4 @@ argument:</p>
|
| console.log(' extension id: ' + voices[i].extensionId);
|
| console.log(' event types: ' + voices[i].eventTypes);
|
| }
|
| - });</pre>
|
| + });</pre>
|
|
|