Commit daf7d792 authored by Ivan Tyagov's avatar Ivan Tyagov

Set proper dependencies otherwise requirejs will load randomly causing

unexpected failures.
parent 9c55888d
...@@ -3,14 +3,16 @@ require.config({ ...@@ -3,14 +3,16 @@ require.config({
paths: { paths: {
jquery: "lib/jquery/jquery", jquery: "lib/jquery/jquery",
"jquery.json": "lib/json/jquery.json.min", "jquery.json": "lib/json/jquery.json.min",
"davstorage": "lib/jio/davstorage", davstorage: "lib/jio/davstorage",
"md5": "lib/jio/md5", md5: "lib/jio/md5",
"jio": "lib/jio/jio", jio: "lib/jio/jio",
renderjs: "renderjs" renderjs: "renderjs"
}, },
shim: { shim: {
"jquery.json": [ "jquery" ], "jquery.json": [ "jquery" ],
renderjs: [ "jquery", "jquery.json", "md5", "jio", "davstorage"] jio: ["md5"],
davstorage: ["jio"],
renderjs: [ "jquery", "jquery.json", "jio", "md5", "davstorage" ]
} }
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment