You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add returnError flag to lith.css.v to return the error in case the input is invalid, instead of printing it to the console.
Edit the tests so that 1) only essential alerts are shown on old browsers; 2) performance benchmarking is done in proportionality to the speed of the engine.
Upgrade dale v6.0.1 -> v6.0.2 and teishi v5.0.2 -> v5.0.3
Add returnError flag to lith.v to test for a lith/lithbag validity and returning the error in case it's neither, instead of printing it to the console.
Breaking change: lith.style has been renamed to lith.css.style. This function no longer accepts an object with lith attributes, and no longer returns an object with a style attribute. Rather, it simply generates a CSS string that can be placed inside a style attribute. If before, you wrote lith.style ({class: 'foo'}, {height: 1}), you should now write {class: 'foo', style: lith.css.style ({height: 1})}. Lastly, lith.css.style now can take a prod flag as a second argument, which internally will be passed to lith.css.g.
When a selector has no attributes, no CSS is generated for it. For example, ['a'] will generate an empty string instead of a{}. This particularly affects nested/descendant selectors: ['a', ['&:hover', {height: 1}]] will generate a:hover{height:100%} instead of a{}a:hover{height:100%}.