Global BrightScript-JavaScript Functions
1 min
the following functions are implemented at the global level isbslocalfilepresent() determines whether the specified file exists on local storage this function interfaces with the brightscript pool and determines if the file exists there; it also searches for files with standard names closeallbsclasses() this function existed to work around brightscript / javascript object cleanup issues in older chromium versions (chromium 45 and 60) brightsignos 9 1 1 and later use chromium 120 which eliminates the need for this function this function is therefore deprecated in brightsignos 9 1 1 and later this function effectively calls close() on all custom objects that have been created and have yet to be garbage collected call this function when initializing a new web page to ensure all previous links to hardware interfaces on the player have been removed