summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-11 00:04:40 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-11 00:04:40 +0000
commit900fbb8ca64704302e6714f730b60aad336d231b (patch)
tree846af0af0167e6ca0aebc9db0d598cebacea235e /chrome/common/extensions
parent4e637d218c79304fb852ac500c0c4ee21756c6b8 (diff)
downloadchromium_src-900fbb8ca64704302e6714f730b60aad336d231b.zip
chromium_src-900fbb8ca64704302e6714f730b60aad336d231b.tar.gz
chromium_src-900fbb8ca64704302e6714f730b60aad336d231b.tar.bz2
Extension Doc Changes (no building or testable changes).
Fix build.py script breakage. TBR=aa,kathyw Review URL: http://codereview.chromium.org/596049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38708 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
-rwxr-xr-xchrome/common/extensions/docs/js/api_page_generator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/extensions/docs/js/api_page_generator.js b/chrome/common/extensions/docs/js/api_page_generator.js
index 8b143ce..3885c02 100755
--- a/chrome/common/extensions/docs/js/api_page_generator.js
+++ b/chrome/common/extensions/docs/js/api_page_generator.js
@@ -79,7 +79,7 @@ function extend(obj, obj2) {
*/
function renderPage() {
// The page name minus the ".html" extension.
- pageBase = document.location.href.match(/\/([^\/]*)\.html$/)[1];
+ pageBase = document.location.href.match(/\/([^\/]*)\.html/)[1];
if (!pageBase) {
alert("Empty page name for: " + document.location.href);
return;