remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/apps/remix-ide/background.js

13 lines
274 B

/* global chrome */
'use strict'
chrome.browserAction.onClicked.addListener(function (tab) {
chrome.storage.sync.set({'chrome-app-sync': true})
chrome.tabs.create(
{url: chrome.extension.getURL('index.html')},
function (tab) {
// tab opened
}
)
})