helma/Application/functions.js

23 lines
351 B
JavaScript
Raw Normal View History

/**
* construct an application object so that we can use
* skins for non-active applications too
* @arg name
*/
function constructor(name) {
this.name = name;
}
/**
* return true/false to determine if application is running
*/
function isActive() {
if ( root.getApplication(this.name)==null )
return false;
else
return true;
}