helma/Application/functions.js

30 lines
431 B
JavaScript
Raw Normal View History

2002-09-23 12:22:13 +00:00
/**
* construct an application object so that we can use
* skins for non-active applications too
* @arg name
*/
function constructor(name) {
this.name = name;
}
2002-09-23 12:22:13 +00:00
/**
* of no use, just to avoid error message
*/
function onRequest () {
}
/**
* return true/false to determine if application is running
*/
function isActive() {
if ( root.getApplication(this.name)==null )
return false;
else
return true;
}