Method and device for loading JavaScript file as required by domestic CPU
A domestic and file-based technology, applied in the direction of program control device, program loading/starting, software simulation/interpretation/simulation, etc., can solve the problems of compressed files, inconvenient use, cumbersome, etc., achieve fast loading, timely operation response, and reduce page size The effect of the number of requests
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] In order to make those skilled in the art better understand the solution of the present invention, the present invention will be further described in detail below with reference to specific embodiments. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0039] A preferred embodiment is given below:
[0040] like figure 1 As shown, a method for loading a JavaScript file on demand by a domestic CPU in this embodiment firstly creates a blank HTML5 page, and specifies that only the js file needed to be displayed on the first screen is used, and the js file required for clicking login is not included;
[0041] According to loadJsFile, the js file required for first screen loading is passed in in the form of an array, ca...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


