16 lines
443 B
JavaScript
16 lines
443 B
JavaScript
|
|
||
|
require.config({
|
||
|
context: "oelivesupport",
|
||
|
baseUrl: {{url | json}} + "/live_support/static/ext/static/js",
|
||
|
shim: {
|
||
|
underscore: {
|
||
|
init: function() {
|
||
|
return _.noConflict();
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
})(["livesupport", "jquery"], function(livesupport, jQuery) {
|
||
|
jQuery.noConflict();
|
||
|
livesupport.main({{url | json}}, {{db | json}}, "anonymous", "anonymous", {{channel | json}});
|
||
|
});
|