1
0
mirror of https://github.com/2ec0b4/kaamelott-soundboard.git synced 2025-12-08 15:43:24 +00:00

Fix several paths for non web-root installs

This commit is contained in:
Pierre LALET
2017-02-22 19:58:52 +01:00
parent 77419dccb4
commit b01809431c
3 changed files with 22 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ define("collections/sounds", function(require) {
Sounds = Backbone.Collection.extend({
model: Sound,
url: "/sounds/sounds.json",
url: "sounds/sounds.json",
comparator: function(a, b) {
var str1 = a.get("title"),
str2 = b.get("title");

View File

@@ -1,5 +1,5 @@
require.config({
baseUrl: "/js/app",
baseUrl: "js/app",
paths: {
backbone: "../../bower_components/backbone/backbone-min",
"backbone.radio": "../../bower_components/backbone.radio/build/backbone.radio",