-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue #55: fixes first start problem and empty options, #63 #66
Conversation
localStorage.setItem('status', 'silent'); | ||
|
||
// first run | ||
if (!localStorage.getItem('providersDefault')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Меняется же список
Updated |
@@ -1,13 +1,115 @@ | |||
/* StoPlay Background JS */ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👮
}; | ||
DataStorage.set = function (name, value) { | ||
this.storage.setItem(name, JSON.stringify(value)); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
надо будет запилить какой-то TypeScript, AtScript...чтобы красиво, с импортами :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ну именно в рамках экстеншена все дополнительные файлы - только асинхронно грузить
providersDefault
tobackground
- to init the providers on first startcontent