History

quiet jshint

Seth Alves committed 7 years ago

Commit 17ceda01 parent 5511b181 file · +4 −4Browse files

Showing the changes to scripts/system/controllers/controllerModules (1 of 1 file). Show all

Unified · Split

scripts/system/controllers/controllerModules/stylusInput.js+4−4
@@ -7,7 +7,7 @@ · 6 unmodified lines
77
88 /* global Script, MyAvatar, Controller, Uuid, RIGHT_HAND, LEFT_HAND, enableDispatcherModule, disableDispatcherModule,
99 makeRunningValues, Vec3, makeDispatcherModuleParameters, Overlays, HMD, Settings, getEnabledModuleByName, Pointers,
10− Picks, PickType
10+ Picks, PickType, Keyboard
1111 */
1212
1313 Script.include("/~/system/libraries/controllerDispatcherUtils.js");
@@ -64,8 +64,8 @@ Script.include("/~/system/libraries/controllers.js"); · 50 unmodified lines
6464 var nearTabletHighlightModuleName =
6565 this.hand === RIGHT_HAND ? "RightNearTabletHighlight" : "LeftNearTabletHighlight";
6666 var nearTabletHighlightModule = getEnabledModuleByName(nearTabletHighlightModuleName);
67− var nearTabletHighlightModuleReady = nearTabletHighlightModule
68− ? nearTabletHighlightModule.isReady(controllerData) : makeRunningValues(false, [], []);
67+ var nearTabletHighlightModuleReady = nearTabletHighlightModule ?
68+ nearTabletHighlightModule.isReady(controllerData) : makeRunningValues(false, [], []);
6969 return grabOverlayModuleReady.active || farGrabModuleReady.active || grabEntityModuleReady.active
7070 /* || nearTabletHighlightModuleReady.active */ ;
7171 };
@@ -129,7 +129,7 @@ Script.include("/~/system/libraries/controllers.js"); · 57 unmodified lines
129129 }
130130 }
131131
132− const WEB_DISPLAY_STYLUS_DISTANCE = (Keyboard.raised && Keyboard.preferMalletsOverLasers) ? 0.2 : 0.5;
132+ var WEB_DISPLAY_STYLUS_DISTANCE = (Keyboard.raised && Keyboard.preferMalletsOverLasers) ? 0.2 : 0.5;
133133 var nearStylusTarget = isNearStylusTarget(stylusTargets, WEB_DISPLAY_STYLUS_DISTANCE * sensorScaleFactor);
134134
135135 if (nearStylusTarget.length !== 0) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t