From a74bb9afc7966dbc75b97e26f803e386f37ec1fb Mon Sep 17 00:00:00 2001 From: Evelyn Eastmond Date: Mon, 18 Mar 2019 14:50:49 -0400 Subject: [PATCH] Renaming more variable names related to connection modal properties. --- src/lib/libraries/extensions/index.jsx | 32 +++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/lib/libraries/extensions/index.jsx b/src/lib/libraries/extensions/index.jsx index f980bdf77..7dc1256c2 100644 --- a/src/lib/libraries/extensions/index.jsx +++ b/src/lib/libraries/extensions/index.jsx @@ -21,19 +21,19 @@ import makeymakeyInsetIconURL from './makeymakey/makeymakey-small.svg'; import microbitIconURL from './microbit/microbit.png'; import microbitInsetIconURL from './microbit/microbit-small.svg'; -import microbitPeripheralImage from './microbit/microbit-illustration.svg'; -import microbitSmallPeripheralImage from './microbit/microbit-small.svg'; +import microbitConnectionIconURL from './microbit/microbit-illustration.svg'; +import microbitConnectionSmallIconURL from './microbit/microbit-small.svg'; import ev3IconURL from './ev3/ev3.png'; import ev3InsetIconURL from './ev3/ev3-small.svg'; -import ev3PeripheralImage from './ev3/ev3-hub-illustration.svg'; -import ev3SmallPeripheralImage from './ev3/ev3-small.svg'; +import ev3ConnectionIconURL from './ev3/ev3-hub-illustration.svg'; +import ev3ConnectionSmallIconURL from './ev3/ev3-small.svg'; -import wedo2IconURL from './wedo2/wedo.png'; // TODO: Rename wedo2Icon.png ?? -import wedo2InsetIconURL from './wedo2/wedo-small.svg'; // TODO: Rename wedo2InsetIcon.png ?? -import wedo2PeripheralImage from './wedo2/wedo-illustration.svg'; // TODO: Rename wedo2ConnectionIcon.png ?? -import wedo2SmallPeripheralImage from './wedo2/wedo-small.svg'; // TODO: Rename wedo2ConnectionSmallIcon.png ?? -import wedo2PeripheralButtonImage from './wedo2/wedo-button-illustration.svg'; // TODO: Rename wedo2ConnectionInstructionIcon.png ?? +import wedo2IconURL from './wedo2/wedo.png'; // TODO: Rename file names to match variable/prop names? +import wedo2InsetIconURL from './wedo2/wedo-small.svg'; +import wedo2ConnectionIconURL from './wedo2/wedo-illustration.svg'; +import wedo2ConnectionSmallIconURL from './wedo2/wedo-small.svg'; +import wedo2ConnectionTipIconURL from './wedo2/wedo-button-illustration.svg'; import boostIconURL from './boost/boost.png'; import boostInsetIconURL from './boost/boost-small.svg'; @@ -177,8 +177,8 @@ export default [ internetConnectionRequired: true, launchPeripheralConnectionFlow: true, useAutoScan: false, - peripheralImage: microbitPeripheralImage, - smallPeripheralImage: microbitSmallPeripheralImage, + peripheralImage: microbitConnectionIconURL, + smallPeripheralImage: microbitConnectionSmallIconURL, connectingMessage: (