added short comments for all JS functions

This commit is contained in:
Will Bamberg
2016-01-14 15:06:44 -08:00
parent d65a87520c
commit b636b41f1b
9 changed files with 85 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
/*
Add openMyPage() as a listener to clicks on the browser action.
*/
chrome.browserAction.onClicked.addListener(openMyPage);
/*
Open a new tab, and load "my-page.html" into it.
*/
function openMyPage() {
console.log("injecting");
chrome.tabs.create({