This repository has been archived by the owner on Jul 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
system.force_load()
krisdb2009 edited this page Feb 22, 2017
·
3 revisions
#This method has been removed since: c6529ac
This method will place a <script> tag with the selected path in the document header momentarily to allow the browser to load in the required script. This method does not provide a callback since it is synchronous.
Only use this method if system.loader() causes compatibility issues.
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.
system.force_load(string Path);
Path: Path of the script to be executed.
/* /folder/script.js Contents
console.log('I have been loaded, and executed.)
*/
var path = '/folder/script.js';
system.force_load(path);
/* Console Log
I have been loaded and executed.
*/
below average 2017
system Object
- bootLoader Object
- error Method
- files Property
- formatAMPM Method
- guid Method
- intervals Object
-
is Object
- mobile Method
- loader Method
- registry Object
-
service Class
- autoStart Method
- id Method
- interval Method
- path Method
- registerService Method
- run Method
- unregisterService Method
- updateRegistry Method
- services Object
explorer Object
- context Class
- drag Method
- file_explorer Method
- initiate Method
-
start Object
- addLButton Method
- addRButton Method
- allProgramsSearch Method
- allProgramsToggle Method
- append Method
- initiate Method
- toggle Method
- tabset Class
- theme Method
- window Class
- windows Object