Skip to content

Commit 02eee9f

Browse files
authored
Merge pull request #14 from MWLCDev/TEL_DirectoryRefactor
Tel directory refactor
2 parents fe390e5 + ec0e768 commit 02eee9f

20 files changed

Lines changed: 60 additions & 76 deletions
File renamed without changes.
File renamed without changes.

teleop/htm/static/JS/index_c_screen.js renamed to teleop/htm/static/JS/Index/index_c_screen.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ var screen_utils = {
1111
},
1212

1313
_init: function() {
14-
this._arrow_images.left = this._create_image('../assets/im_arrow_left.png?v=' + this._version);
15-
this._arrow_images.right = this._create_image('../assets/im_arrow_right.png?v=' + this._version);
16-
this._arrow_images.ahead = this._create_image('../assets/im_arrow_up.png?v=' + this._version);
17-
this._arrow_images.none = this._create_image('../assets/im_arrow_none.png?v=' + this._version);
18-
this._wheel_images.black = this._create_image('../assets/im_wheel_black.png?v=' + this._version);
19-
this._wheel_images.blue = this._create_image('../assets/im_wheel_blue.png?v=' + this._version);
20-
this._wheel_images.red = this._create_image('../assets/im_wheel_red.png?v=' + this._version);
21-
this._navigation_icons.play = this._create_image('../assets/icon_play.png?v=' + this._version);
22-
this._navigation_icons.pause = this._create_image('../assets/icon_pause.png?v=' + this._version);
14+
this._arrow_images.left = this._create_image('../static/assets/im_arrow_left.png?v=' + this._version);
15+
this._arrow_images.right = this._create_image('../static/assets/im_arrow_right.png?v=' + this._version);
16+
this._arrow_images.ahead = this._create_image('../static/assets/im_arrow_up.png?v=' + this._version);
17+
this._arrow_images.none = this._create_image('../static/assets/im_arrow_none.png?v=' + this._version);
18+
this._wheel_images.black = this._create_image('../static/assets/im_wheel_black.png?v=' + this._version);
19+
this._wheel_images.blue = this._create_image('../static/assets/im_wheel_blue.png?v=' + this._version);
20+
this._wheel_images.red = this._create_image('../static/assets/im_wheel_red.png?v=' + this._version);
21+
this._navigation_icons.play = this._create_image('../static/assets/icon_play.png?v=' + this._version);
22+
this._navigation_icons.pause = this._create_image('../static/assets/icon_pause.png?v=' + this._version);
2323
},
2424

2525
_decorate_server_message: function(message) {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

teleop/htm/static/JS/mobileController/mobileController_a_app.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { topTriangle, bottomTriangle } from "/JS/mobileController/mobileController_b_shape_triangle.js"
2-
import { Dot } from "/JS/mobileController/mobileController_b_shape_dot.js"
1+
import { topTriangle, bottomTriangle } from "./mobileController_b_shape_triangle.js"
2+
import { Dot } from "./mobileController_b_shape_dot.js"
33
import { handleDotMove, detectTriangle, handleTriangleMove, initializeWS, sendJSONCommand }
4-
from "/JS/mobileController/mobileController_c_logic.js"
4+
from "./mobileController_c_logic.js"
55

6-
import CTRL_STAT from '/JS/mobileController/mobileController_z_state.js'; // Stands for control state
7-
import { redraw, app } from "/JS/mobileController/mobileController_d_pixi.js";
6+
import CTRL_STAT from './mobileController_z_state.js'; // Stands for control state
7+
import { redraw, app } from "./mobileController_d_pixi.js";
88

99

1010
window.addEventListener('load', () => {

0 commit comments

Comments
 (0)