Fix magBalls.js resolvePath calls

This commit is contained in:
Ryan Huffman 2015-11-10 11:38:16 -08:00
parent 2a349620ee
commit 90a1fbe04e

View file

@ -34,7 +34,7 @@ MODE_INFO[BALL_EDIT_MODE_ADD] = {
}, },
colors: [ COLORS.GREEN, COLORS.BLUE ], colors: [ COLORS.GREEN, COLORS.BLUE ],
// FIXME use an http path or find a way to get the relative path to the file // FIXME use an http path or find a way to get the relative path to the file
url: Script.resolvePath('../html/magBalls/addMode.html'), url: Script.resolvePath('html/magBalls/addMode.html'),
}; };
MODE_INFO[BALL_EDIT_MODE_DELETE] = { MODE_INFO[BALL_EDIT_MODE_DELETE] = {
@ -45,7 +45,7 @@ MODE_INFO[BALL_EDIT_MODE_DELETE] = {
}, },
colors: [ COLORS.RED, COLORS.BLUE ], colors: [ COLORS.RED, COLORS.BLUE ],
// FIXME use an http path or find a way to get the relative path to the file // FIXME use an http path or find a way to get the relative path to the file
url: Script.resolvePath('../html/magBalls/deleteMode.html'), url: Script.resolvePath('html/magBalls/deleteMode.html'),
}; };
var UI_POSITION_MODE_LABEL = Vec3.multiply(0.5, var UI_POSITION_MODE_LABEL = Vec3.multiply(0.5,