Labs/Jetpack/Reboot/JEP/107: Difference between revisions

Line 104: Line 104:
#* includes: (<i>array</i>) an array of URL strings (removal reloads modded docs)
#* includes: (<i>array</i>) an array of URL strings (removal reloads modded docs)
#* excludes: (<i>array</i>) an array of URL strings (removal applies mods to docs if any are open)
#* excludes: (<i>array</i>) an array of URL strings (removal applies mods to docs if any are open)
#* files: (<i>object</i>) 'javascript' or 'stylesheet' keyed nodes whose values are arrays of asset resource strings. Passing string of 'all' for the value of either 'include' key of 'styles' or 'script' will remove all includes of that type.
#* files: (<i>object</i>) 'javascript' or 'stylesheet' keyed-nodes, whose values are arrays of asset resource strings. Passing string of 'all' for the value of either will remove all files of that type.
#* styles: (<i>array</i>) an array of styles, wherein each array item can be a selector name only (to remove all styles related to the selector) or additionally, can include specific property names (removing only styles of that property while leaving unmentioned selector styles intact).
#* styles: (<i>array</i>) an array of styles, wherein each array item can be a selector name only (to remove all styles related to the selector) or additionally, can include specific property names (removing only styles of that property while leaving unmentioned selector styles intact).
#* scripts: (<i>function</i>) removes the script associated with a function reference
#* scripts: (<i>function</i>) removes the script associated with a function reference
1,273

edits