Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/hello.chromeapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (typeof chrome === 'object' && typeof chrome.identity === 'object' && chrome.
};

// Swap the storage method
var _cache = {};
let _cache = {};
chrome.storage.local.get('hello', function(r) {
// Update the cache
_cache = r.hello || {};
Expand Down Expand Up @@ -70,7 +70,7 @@ if (typeof chrome === 'object' && typeof chrome.identity === 'object' && chrome.
function _open(url, interactive) {

// Launch
var ref = {
const ref = {
closed: false
};

Expand All @@ -87,11 +87,11 @@ if (typeof chrome === 'object' && typeof chrome.identity === 'object' && chrome.
}

// Split appart the URL
var a = hello.utils.url(responseUrl);
const a = hello.utils.url(responseUrl);

// The location can be augmented in to a location object like so...
// We dont have window operations on the popup so lets create some
var _popup = {
const _popup = {
location: {

// Change the location of the popup
Expand Down
Loading