revert donation button, always show chrome extension promo
This commit is contained in:
parent
7a44395afc
commit
a886ea1c53
4 changed files with 41 additions and 33 deletions
|
|
@ -8,7 +8,7 @@ export default Component.extend({
|
||||||
lightsData: null,
|
lightsData: null,
|
||||||
|
|
||||||
firstVisitApp: true,
|
firstVisitApp: true,
|
||||||
canTryChrome: false,
|
canTryChrome: true,
|
||||||
activeLights: A(),
|
activeLights: A(),
|
||||||
tabList: ["Lights", "Music"],
|
tabList: ["Lights", "Music"],
|
||||||
selectedTab: 1,
|
selectedTab: 1,
|
||||||
|
|
@ -86,8 +86,6 @@ export default Component.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isChrome && chrome && chrome.runtime && chrome.runtime.sendMessage) {
|
if (isChrome && chrome && chrome.runtime && chrome.runtime.sendMessage) {
|
||||||
set(this, 'canTryChrome', true);
|
|
||||||
|
|
||||||
chrome.runtime.sendMessage(
|
chrome.runtime.sendMessage(
|
||||||
'mbjanbdhcpohhfecjgbdpcfhnnbofooj',
|
'mbjanbdhcpohhfecjgbdpcfhnnbofooj',
|
||||||
{},
|
{},
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,6 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
<a href="https://play.google.com/store/apps/details?id=com.hoboman313.huegasm" target="_blank" rel="noopener noreferrer">
|
||||||
<input type="hidden" name="cmd" value="_s-xclick">
|
<img src="assets/images/google-play-badge.png" alt="Get it on the Google Play Store">
|
||||||
<input type="hidden" name="hosted_button_id" value="CTWJJZ7ELPHRG">
|
</a>
|
||||||
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
|
||||||
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
|
||||||
</form>
|
|
||||||
BIN
web/public/assets/images/google-play-badge.png
Normal file
BIN
web/public/assets/images/google-play-badge.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
|
|
@ -856,8 +856,8 @@ babel-polyfill@^6.16.0:
|
||||||
regenerator-runtime "^0.10.0"
|
regenerator-runtime "^0.10.0"
|
||||||
|
|
||||||
babel-preset-env@^1.2.0:
|
babel-preset-env@^1.2.0:
|
||||||
version "1.4.0"
|
version "1.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.4.0.tgz#c8e02a3bcc7792f23cded68e0355b9d4c28f0f7a"
|
resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.5.0.tgz#6e5452f7c8742afe3b9a917883ccf3f7a4f340c5"
|
||||||
dependencies:
|
dependencies:
|
||||||
babel-plugin-check-es2015-constants "^6.22.0"
|
babel-plugin-check-es2015-constants "^6.22.0"
|
||||||
babel-plugin-syntax-trailing-function-commas "^6.22.0"
|
babel-plugin-syntax-trailing-function-commas "^6.22.0"
|
||||||
|
|
@ -886,8 +886,9 @@ babel-preset-env@^1.2.0:
|
||||||
babel-plugin-transform-es2015-unicode-regex "^6.22.0"
|
babel-plugin-transform-es2015-unicode-regex "^6.22.0"
|
||||||
babel-plugin-transform-exponentiation-operator "^6.22.0"
|
babel-plugin-transform-exponentiation-operator "^6.22.0"
|
||||||
babel-plugin-transform-regenerator "^6.22.0"
|
babel-plugin-transform-regenerator "^6.22.0"
|
||||||
browserslist "^1.4.0"
|
browserslist "^2.1.2"
|
||||||
invariant "^2.2.2"
|
invariant "^2.2.2"
|
||||||
|
semver "^5.3.0"
|
||||||
|
|
||||||
babel-register@^6.24.1:
|
babel-register@^6.24.1:
|
||||||
version "6.24.1"
|
version "6.24.1"
|
||||||
|
|
@ -1415,12 +1416,12 @@ broccoli-writer@^0.1.1, broccoli-writer@~0.1.1:
|
||||||
quick-temp "^0.1.0"
|
quick-temp "^0.1.0"
|
||||||
rsvp "^3.0.6"
|
rsvp "^3.0.6"
|
||||||
|
|
||||||
browserslist@^1.4.0:
|
browserslist@^2.1.2:
|
||||||
version "1.7.7"
|
version "2.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.7.tgz#0bd76704258be829b2398bb50e4b62d1a166b0b9"
|
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.1.3.tgz#302dc8e5e44f3d5937850868aab13e11cac3dbc7"
|
||||||
dependencies:
|
dependencies:
|
||||||
caniuse-db "^1.0.30000639"
|
caniuse-lite "^1.0.30000670"
|
||||||
electron-to-chromium "^1.2.7"
|
electron-to-chromium "^1.3.11"
|
||||||
|
|
||||||
browserslist@~0.4.0:
|
browserslist@~0.4.0:
|
||||||
version "0.4.0"
|
version "0.4.0"
|
||||||
|
|
@ -1493,10 +1494,14 @@ can-symlink@^1.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
tmp "0.0.28"
|
tmp "0.0.28"
|
||||||
|
|
||||||
caniuse-db@^1.0.30000153, caniuse-db@^1.0.30000214, caniuse-db@^1.0.30000639:
|
caniuse-db@^1.0.30000153, caniuse-db@^1.0.30000214:
|
||||||
version "1.0.30000670"
|
version "1.0.30000670"
|
||||||
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000670.tgz#90d33b79e3090e25829c311113c56d6b1788bf43"
|
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000670.tgz#90d33b79e3090e25829c311113c56d6b1788bf43"
|
||||||
|
|
||||||
|
caniuse-lite@^1.0.30000670:
|
||||||
|
version "1.0.30000670"
|
||||||
|
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000670.tgz#c94f7dbf0b68eaadc46d3d203f46e82e7801135e"
|
||||||
|
|
||||||
capture-exit@^1.1.0:
|
capture-exit@^1.1.0:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-1.2.0.tgz#1c5fcc489fd0ab00d4f1ac7ae1072e3173fbab6f"
|
resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-1.2.0.tgz#1c5fcc489fd0ab00d4f1ac7ae1072e3173fbab6f"
|
||||||
|
|
@ -2048,7 +2053,7 @@ ee-first@1.1.1:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
|
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
|
||||||
|
|
||||||
electron-to-chromium@^1.2.7:
|
electron-to-chromium@^1.3.11:
|
||||||
version "1.3.11"
|
version "1.3.11"
|
||||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.11.tgz#744761df1d67b492b322ce9aa0aba5393260eb61"
|
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.11.tgz#744761df1d67b492b322ce9aa0aba5393260eb61"
|
||||||
|
|
||||||
|
|
@ -4074,7 +4079,11 @@ lodash.isarguments@*, lodash.isarguments@^3.0.0:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a"
|
resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a"
|
||||||
|
|
||||||
lodash.isarray@*, lodash.isarray@^3.0.0:
|
lodash.isarray@*:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-4.0.0.tgz#2aca496b28c4ca6d726715313590c02e6ea34403"
|
||||||
|
|
||||||
|
lodash.isarray@^3.0.0:
|
||||||
version "3.0.4"
|
version "3.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
|
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
|
||||||
|
|
||||||
|
|
@ -4090,7 +4099,11 @@ lodash.istypedarray@^3.0.0:
|
||||||
version "3.0.6"
|
version "3.0.6"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.istypedarray/-/lodash.istypedarray-3.0.6.tgz#c9a477498607501d8e8494d283b87c39281cef62"
|
resolved "https://registry.yarnpkg.com/lodash.istypedarray/-/lodash.istypedarray-3.0.6.tgz#c9a477498607501d8e8494d283b87c39281cef62"
|
||||||
|
|
||||||
lodash.keys@*, lodash.keys@^3.0.0:
|
lodash.keys@*:
|
||||||
|
version "4.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-4.2.0.tgz#a08602ac12e4fb83f91fc1fb7a360a4d9ba35205"
|
||||||
|
|
||||||
|
lodash.keys@^3.0.0:
|
||||||
version "3.1.2"
|
version "3.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
|
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -5193,7 +5206,18 @@ read@1, read@~1.0.1, read@~1.0.7:
|
||||||
dependencies:
|
dependencies:
|
||||||
mute-stream "~0.0.4"
|
mute-stream "~0.0.4"
|
||||||
|
|
||||||
"readable-stream@1 || 2", readable-stream@^2, "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.2.2:
|
"readable-stream@1 || 2", readable-stream@^2, "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@~2.0.5:
|
||||||
|
version "2.0.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e"
|
||||||
|
dependencies:
|
||||||
|
core-util-is "~1.0.0"
|
||||||
|
inherits "~2.0.1"
|
||||||
|
isarray "~1.0.0"
|
||||||
|
process-nextick-args "~1.0.6"
|
||||||
|
string_decoder "~0.10.x"
|
||||||
|
util-deprecate "~1.0.1"
|
||||||
|
|
||||||
|
readable-stream@^2.2.2:
|
||||||
version "2.2.9"
|
version "2.2.9"
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8"
|
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -5214,17 +5238,6 @@ readable-stream@~1.0.2:
|
||||||
isarray "0.0.1"
|
isarray "0.0.1"
|
||||||
string_decoder "~0.10.x"
|
string_decoder "~0.10.x"
|
||||||
|
|
||||||
readable-stream@~2.0.5:
|
|
||||||
version "2.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e"
|
|
||||||
dependencies:
|
|
||||||
core-util-is "~1.0.0"
|
|
||||||
inherits "~2.0.1"
|
|
||||||
isarray "~1.0.0"
|
|
||||||
process-nextick-args "~1.0.6"
|
|
||||||
string_decoder "~0.10.x"
|
|
||||||
util-deprecate "~1.0.1"
|
|
||||||
|
|
||||||
readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0:
|
readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747"
|
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747"
|
||||||
|
|
|
||||||
Reference in a new issue