changes-utils.js |
Get a human-friendly style source path to display in the Changes panel.
For element inline styles, return a string indicating that.
For inline stylesheets, return a string indicating that plus the stylesheet's index.
For URLs, return just the stylesheet filename.
@param {Object} source
Information about the style source. Contains:
- type: {String} One of "element" or "stylesheet"
- href: {String|null} Stylesheet URL or document URL for elmeent inline styles
- index: {Number} Position of the stylesheet in its document's stylesheet list.
@return {String}
|
1460 |
l10n.js |
|
511 |
moz.build |
|
347 |