Interruptible client-side scripts
First Claim
1. A method for creating an interruptible client-side script comprising the steps of:
- receiving input from a developer to write original code for a web application in at least one client-side script;
during creation of the web application, programmatically performing a code injection process to modify the original code to make one or more parts of an execution of the original code interruptible in the client-side script, wherein the code injection process modifies one or more original code sections that contain conditional semantic constructs, wherein the original code sections are modified to call a transition process that will allow a user operating the web application from a web browser to cancel an execution of the conditional semantic construct; and
saving the modified code resulting from the code injection process for the web application.
2 Assignments
0 Petitions
Accused Products
Abstract
Various technologies and techniques are disclosed for creating interruptible client-side scripts. Input is received from a developer to write original code for a web application in at least one client-side script. A code injection process is programmatically performed to modify the original code to make one or more parts of an execution of the code interruptible in the client-side script. The code injection process parses a code segment of a client-side script to retrieve a next code segment. If the next code segment has at least one conditional semantic construct, then code is injected in the form of one or more script functions that will transition execution flow from the original code segment into the one or more script functions that are operable to interrupt execution of the client-side script upon user request. The modified code resulting from the code injection process is saved for the web application.
-
Citations
16 Claims
-
1. A method for creating an interruptible client-side script comprising the steps of:
-
receiving input from a developer to write original code for a web application in at least one client-side script; during creation of the web application, programmatically performing a code injection process to modify the original code to make one or more parts of an execution of the original code interruptible in the client-side script, wherein the code injection process modifies one or more original code sections that contain conditional semantic constructs, wherein the original code sections are modified to call a transition process that will allow a user operating the web application from a web browser to cancel an execution of the conditional semantic construct; and saving the modified code resulting from the code injection process for the web application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer storage medium having computer-executable instructions for causing a computer to perform steps comprising:
-
receive input from a developer to write original code for a web application using one or more client-side scripts; during creation of the web application, cause a code injection process to begin, wherein the code injection process is operable to begin automatically upon saving of the web application; during creation of the web application, perform the code injection process to make certain parts of an execution of the original code interruptible, wherein the code injection process modifies one or more original code sections that contain conditional semantic constructs, wherein the original code sections are modified to call a transition process that will allow a user operating the web application from a web browser to cancel an execution of the conditional semantic construct; and during creation of the web application, save the modified code that results from the code injection process. - View Dependent Claims (14)
-
-
15. A method for performing a code injection process to make a client-side script interruptible comprising the steps of:
-
receive input from a developer to write original code for a web application using one or more client-side script; during creation of the web application, parsing an original code segment of a particular client-side script to retrieve a next original code segment; if the next original code segment has at least one conditional semantic construct, then, during creation of the web application, modifying one or more original code sections that contain the at least one conditional semantic construct, wherein the code sections are modified to call a transition process that will allow a user operating the web application from a web browser to cancel an execution of the at least one conditional semantic construct; repeating the parsing and injecting code stages for any additional code segments that contain at least one conditional semantic construct; and during creation of the web application, save the modified original code. - View Dependent Claims (16)
-
Specification