Labs/Jetpack/JEP/25: Difference between revisions

Jump to navigation Jump to search
m
→‎Problem Definition: minor rewording
m (→‎Problem Definition: minor rewording)
Line 7: Line 7:
* JS modules and XPCOM components can't be unloaded and reloaded during the host application's runtime, which means that modifying a single line of their code requires a complete application restart.
* JS modules and XPCOM components can't be unloaded and reloaded during the host application's runtime, which means that modifying a single line of their code requires a complete application restart.


* Reusing a JS module in an extension often requires the developer to change the code of the module itself: since any imported sub-modules must be brought in via an absolute URL, calls to <tt>Components.utils.import()</tt> often need to be changed.
* Reusing a JS module in an extension often requires the developer to change the code of the module itself: since any imported sub-modules must be brought in via an absolute URL, calls to <tt>Components.utils.import()</tt> often need to be fixed up.


* XPCOM components are extremely verbose and unfamiliar to those accustomed to dynamic languages.
* XPCOM components are extremely verbose and unfamiliar to those accustomed to dynamic languages.
874

edits

Navigation menu