Skip to content

Commit

Permalink
git push origin masterMerge branch 'Enhancement1'
Browse files Browse the repository at this point in the history
Merged
  • Loading branch information
sibyaugustine committed Jul 5, 2017
2 parents 324df91 + ec53933 commit 6ffcdd9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
14 changes: 14 additions & 0 deletions ext_specific/scripts/background.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* Listens for the app launching, then creates the window.
*
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/

chrome.browserAction.onClicked.addListener(function(tab) {
chrome.tabs.create({
'url': chrome.extension.getURL('core/index.html')
}, function(tab) {

});
});
8 changes: 7 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@
"description": "Tool for beautify prepared sql statement",
"version": "0.0.1",
"minimum_chrome_version": "38",

"permissions": ["tabs"],

"background": {
"scripts": ["/ext_specific/scripts/background.js"],
"persistent": false
},

"browser_action": {
"default_icon": "core/assets/icon_128.png",
"default_popup": "core/index.html",
"default_title": "Click here!"
}
}

0 comments on commit 6ffcdd9

Please sign in to comment.