Removed GopherJS, basic frontend completed, need backend changes for

torrent storage
This commit is contained in:
2017-11-30 18:12:11 -05:00
parent 67fdef16b1
commit e98ad2cc88
69321 changed files with 5498914 additions and 337 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,14 @@
import {create} from 'jss'
import bootstrap from '../fixtures/modified-bootstrap.json'
import nested from '../../src/index'
suite('Nested bootstrap JSS to CSS', () => {
benchmark('.toString()', () => {
const jss = create().use(nested())
jss
.createStyleSheet(bootstrap)
.toString()
})
})

View File

@@ -0,0 +1,20 @@
import {create} from 'jss'
import nested from '../../src/index'
suite('Deeply nested JSS', () => {
benchmark('.createStyleSheet()', () => {
const styles = {
button: {
color: 'black',
'& .a, .b': {
color: 'red',
'& .c, &:hover': {
color: 'gold'
}
}
}
}
create().use(nested()).createStyleSheet(styles)
})
})