Javascript extension tool
First Claim
Patent Images
1. A computer implemented method for extending JavaScript, the method comprising:
- executing first JavaScript code that enables the implementation of multiple inheritance between one or more objects, is configured to create a subclass that inherits one or more behaviors from a plurality of objects passed as parameters to the subclass, and is configured to resolve conflicts between inherited behaviors by allowing a newly inherited class to over-ride a function of the same name for a prior parent class;
executing second JavaScript code that enables a central updater to query one or more applications to determine identity (ID) of data currently associated with each application, while the central updater has no knowledge of inner-working of the one or more applications; and
executing third JavaScript code that enables polymorphism in one or more objects;
wherein the first JavaScript code, the second JavaScript code, and the third JavaScript code are part of a JavaScript extension tool stored in a memory of the computer and configured to operate as an extension of a JavaScript environment by being interpreted and executed at run-time.
2 Assignments
0 Petitions
Accused Products
Abstract
A method, system, and apparatus for extending JavaScript to operate more fully as an object oriented language. A multiple inheritance module may be configured to enable JavaScript to implement multiple inheritance. A messaging module may be configured to enable JavaScript to implement messaging. A polymorphism module may be configured to enable JavaScript to implement polymorphism.
24 Citations
17 Claims
-
1. A computer implemented method for extending JavaScript, the method comprising:
-
executing first JavaScript code that enables the implementation of multiple inheritance between one or more objects, is configured to create a subclass that inherits one or more behaviors from a plurality of objects passed as parameters to the subclass, and is configured to resolve conflicts between inherited behaviors by allowing a newly inherited class to over-ride a function of the same name for a prior parent class; executing second JavaScript code that enables a central updater to query one or more applications to determine identity (ID) of data currently associated with each application, while the central updater has no knowledge of inner-working of the one or more applications; and executing third JavaScript code that enables polymorphism in one or more objects; wherein the first JavaScript code, the second JavaScript code, and the third JavaScript code are part of a JavaScript extension tool stored in a memory of the computer and configured to operate as an extension of a JavaScript environment by being interpreted and executed at run-time.
-
-
2. An apparatus for extending JavaScript, the apparatus comprising a central processing unit (CPU) comprising:
-
a JavaScript extension tool stored in a memory on the apparatus and configured to operate as an extension of a JavaScript environment by being interpreted and executed at run-time, the JavaScript extension tool comprising; a multiple inheritance module comprising first JavaScript code to implement multiple inheritance by interpreting the first JavaScript code at run-time on the apparatus, wherein the multiple inheritance module is configured to create a subclass that inherits one or more behaviors from a plurality of objects passed as parameters to the subclass, and configured to resolve conflicts between inherited behaviors by allowing a newly inherited class to over-ride a function of the same name for a prior parent class; a messaging module comprising second JavaScript code to implement messaging by interpreting the second JavaScript code at run-time on the apparatus, wherein the messaging module enables a central updater to query one or more applications to determine identity (ID) of data currently associated with each application, while the central updater has no knowledge of inner-working of the one or more applications; and a polymorphism module comprising third JavaScript code to implement polymorphism by interpreting the third JavaScript code at run-time on the apparatus. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system for extending JavaScript, the system comprising:
-
an electronic device comprising a non-transitory computer readable storage medium; a web browser stored in a memory and operating on the electronic device and configured to access JavaScript code; a JavaScript extension tool stored in the memory on the electronic device and configured to operate as an extension of a JavaScript environment by being interpreted and executed at run-time, the JavaScript extension tool comprising; a multiple inheritance module comprising first JavaScript code to implement multiple inheritance by interpreting the first JavaScript code at run-time on the electronic device, wherein the multiple inheritance module is configured to create a subclass that inherits one or more behaviors from a plurality of objects passed as parameters to the subclass, and configured to resolve conflicts between inherited behaviors by allowing a newly inherited class to over-ride a function of the same name for a prior parent class; a messaging module comprising second JavaScript code to implement messaging by interpreting the second JavaScript code at run-time on the electronic device, wherein the messaging module enables a central updater to query one or more applications to determine identity (ID) of data currently associated with each application, while the central updater has no knowledge of inner-working of the one or more applications; and a polymorphism module comprising third JavaScript code to implement polymorphism by interpreting the third JavaScript code at run-time on the electronic device. - View Dependent Claims (16, 17)
-
Specification