Real unit test (isolation, no children render)
Calls:
- constructor
- render
import {expect} from 'chai'; | |
import App from '../app/components/App'; | |
import a11yHelper from "./a11yHelper"; | |
describe('Accessibility', function () { | |
this.timeout(10000); | |
it('Has no errors', function () { | |
let config = {}; |
# ----------------------------------------------------------------- | |
# .gitignore for WordPress @salcode | |
# ver 20180808 | |
# | |
# From the root of your project run | |
# curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore | |
# to download this file | |
# | |
# By default all files are ignored. You'll need to whitelist | |
# any mu-plugins, plugins, or themes you want to include in the repo. |
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
A list of Sketch plugins hosted at GitHub, in no particular order.
@akhleung is working on hcatlin/libsass and was wondering how @extend
is
implemented in the Ruby implementation of Sass. Rather than just tell him, I
thought I'd write up a public document about it so anyone who's porting Sass or
is just curious about how it works can see.
Note that this explanation is simplified in numerous ways. It's intended to
explain the most complex parts of a basic correct @extend
transformation, but
it leaves out numerous details that will be important if full Sass compatibility
(function() { | |
var CSSCriticalPath = function(w, d, opts) { | |
var opt = opts || {}; | |
var css = {}; | |
var pushCSS = function(r) { | |
if(!!css[r.selectorText] === false) css[r.selectorText] = {}; | |
var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/); | |
for(var i = 0; i < styles.length; i++) { | |
if(!!styles[i] === false) continue; | |
var pair = styles[i].split(": "); |
iPad (Actual pixels in brackets) | |
1024 × 690 (2048 x 1380) In landscape on iOS 4.3 | |
1024 × 672 (2048 x 1344) In landscape on iOS 5 | |
768 × 946 (1536 x 1892) In portrait on iOS 4.3 | |
768 × 928 (1536 x 1856) In portrait on iOS 5 | |
1024 × 660 (2048 x 1320) Always showing bookmarks bar in landscape on iOS 4.3 | |
1024 × 644 (2048 x 1288) Always showing bookmarks bar in landscape on iOS 5 | |
768 × 916 (1536 x 1832) Always showing bookmarks bar in portrait on iOS 4.3 |