summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/common/extensions/docs/static/content_scripts.html10
-rwxr-xr-xchrome/common/extensions/docs/static/manifest.html2
-rwxr-xr-xchrome/common/extensions/docs/static/overview.html4
3 files changed, 8 insertions, 8 deletions
diff --git a/chrome/common/extensions/docs/static/content_scripts.html b/chrome/common/extensions/docs/static/content_scripts.html
index ce6d0f6..120709f 100644
--- a/chrome/common/extensions/docs/static/content_scripts.html
+++ b/chrome/common/extensions/docs/static/content_scripts.html
@@ -124,8 +124,8 @@ port.postMessage({found: (e != undefined)});
// Also listen for new channels from the extension for when the button is
// pressed.
-chrome.extension.onConnect.addListener(function(port, name) {
- console.assert(name == "buttonClickedChannel");
+chrome.extension.onConnect.addListener(function(port) {
+ console.assert(port.name == "buttonClickedChannel");
port.onMessage.addListener(function(msg) {
if (msg.buttonClicked) {
e.value = msg.passwordValue;
@@ -174,9 +174,9 @@ var customEvent = document.createEvent('Event');
customEvent.initEvent('myCustomEvent', true, true);
function fireCustomEvent(data) {
- hidenDiv = document.getElementById('myCustomEventDiv');
- hidenDiv.innerHTML = data
- hidenDiv.dispatchEvent(customEvent);
+ hiddenDiv = document.getElementById('myCustomEventDiv');
+ hiddenDiv.innerHTML = data
+ hiddenDiv.dispatchEvent(customEvent);
}</pre>
<pre>contentscript.js
diff --git a/chrome/common/extensions/docs/static/manifest.html b/chrome/common/extensions/docs/static/manifest.html
index 6f19718..1be7e03 100755
--- a/chrome/common/extensions/docs/static/manifest.html
+++ b/chrome/common/extensions/docs/static/manifest.html
@@ -32,7 +32,7 @@ are <b>name</b> and <b>version</b>.
"<a href="#permissions">permissions</a>": [...],
"<a href="npapi.html">plugins</a>": [...],
"<a href="themes.html">theme</a>": [...],
- "<a href="toolstrip.html">toolstrips</a>": [...],
+ "<a href="toolstrip.html">toolstrips</a>": [...]
}
</pre>
diff --git a/chrome/common/extensions/docs/static/overview.html b/chrome/common/extensions/docs/static/overview.html
index 7a56044..d35d9cd 100755
--- a/chrome/common/extensions/docs/static/overview.html
+++ b/chrome/common/extensions/docs/static/overview.html
@@ -79,7 +79,7 @@ you can refer to the file using a relative URL,
just as you would in an ordinary HTML page.
Here's an example of referring to
a file named <code>myimage.png</code>
-that's in a subdirectory named <code>images</code>.
+that's in a subfolder named <code>images</code>.
</p>
<pre>
@@ -101,7 +101,7 @@ that the extension system generates for each extension.
You can see the IDs for all your loaded extensions
by going to the URL <b>chrome://extensions/</b>.
The <em>&lt;pathToFile></em> is the location of the file
-under the extension's top directory;
+under the extension's top folder;
it's the same as the relative URL.
</p>