25 lines
No EOL
651 B
JavaScript
25 lines
No EOL
651 B
JavaScript
(function(){
|
|
|
|
var CONTROLLER_OVERRIDE_SCRIPT_URL = "https://hifi-content.s3.amazonaws.com/luis/domainUtils/SoccerDomain/futbol.js";
|
|
|
|
var AddAppZone = function () {
|
|
|
|
};
|
|
|
|
AddAppZone.prototype = {
|
|
|
|
enterEntity: function () {
|
|
ScriptDiscoveryService.loadScript(CONTROLLER_OVERRIDE_SCRIPT_URL);
|
|
},
|
|
|
|
leaveEntity: function () {
|
|
ScriptDiscoveryService.stopScript(CONTROLLER_OVERRIDE_SCRIPT_URL);
|
|
},
|
|
|
|
unload: function () {
|
|
ScriptDiscoveryService.stopScript(CONTROLLER_OVERRIDE_SCRIPT_URL);
|
|
}
|
|
};
|
|
|
|
return new AddAppZone ();
|
|
}); |