Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Khan/aphrodite
/ getSheetText
Function
getSheetText
tests/testUtils.js:1–7 ·
view source on GitHub ↗
(sheet)
Source
from the content-addressed store, hash-verified
1
export
const
getSheetText = (sheet) => {
2
let
allRules =
''
;
3
for
(
let
i = 0; i < sheet.cssRules.length; i ++) {
4
allRules += sheet.cssRules[i].cssText +
' '
;
5
}
6
return
allRules;
7
};
Callers
4
index_test.js
File · 0.90
inject_test.js
File · 0.90
assertStylesInclude
Function · 0.90
no-important_test.js
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected