Asynchronous load of source dependencies
First Claim
Patent Images
1. A method of loading source files, comprising:
- receiving, in the course of executing a script, an indication that a source file on which a current class or function depends is not available;
continuing execution of remaining portions of the script, if any, that do not depend on the source file, or continuing on to other processing tasks if no such portions remain, while the source file is loaded asynchronously;
receiving an indication that the source file has been loaded; and
executing a portion of the script that depends on the source file; and
wherein the portion of the script that depends on the source file comprises a method that includes programmatically in a definition of the current class or function the methods and variables of a super-class with which the source file is associated.
1 Assignment
0 Petitions
Accused Products
Abstract
Asynchronous loading of source dependencies is disclosed. An indication is received in the course of executing a script that a source file on which a current class or function depends is not available. Execution of remaining portions of the script, if any, that do not depend on the source file, continues, or other processing tasks are performed if no such portions remain, while the source file is loaded asynchronously.
53 Citations
39 Claims
-
1. A method of loading source files, comprising:
-
receiving, in the course of executing a script, an indication that a source file on which a current class or function depends is not available; continuing execution of remaining portions of the script, if any, that do not depend on the source file, or continuing on to other processing tasks if no such portions remain, while the source file is loaded asynchronously; receiving an indication that the source file has been loaded; and executing a portion of the script that depends on the source file; and wherein the portion of the script that depends on the source file comprises a method that includes programmatically in a definition of the current class or function the methods and variables of a super-class with which the source file is associated. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A client computer system, comprising:
-
a communication interface; and a processor coupled to the communication interface and configured to; receive, in the course of executing a script, an indication that a source file on which a current class or function depends is not available; continue execution of remaining portions of the script, if any, that do not depend on the source file, or continuing on to other processing tasks if no such portions remain, while the source file is loaded asynchronously from a server via the communication interface; receive an indication that the source file has been loaded; and execute a portion of the script that depends on the source file; and wherein the portion of the script that depends on the source file comprises a method that includes programmatically in a definition of the current class or function the methods and variables of a super-class with which the source file is associated. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A computer program product for loading source files, the computer program product being embodied on a non-transitory computer readable medium and comprising computer instructions for:
-
receiving, in the course of executing a script, an indication that a source file on which a current class or function depends is not available; continuing execution of remaining portions of the script, if any, that do not depend on the source file, or continuing on to other processing tasks if no such portions remain, while the source file is loaded asynchronously; receiving an indication that the source file has been loaded; and executing a portion of the script that depends on the source file; and wherein the portion of the script that depends on the source file comprises a method that includes programmatically in a definition of the current class or function the methods and variables of a super-class with which the source file is associated. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
Specification