This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pos { | |
.t(@a: 0) { top: @a; } | |
.r(@a: 0) { right: @a; } | |
.b(@a: 0) { bottom: @a; } | |
.l(@a: 0) { left: @a; } | |
.tl(@a: 0; @b: @a) { top: @a; left: @b; } | |
.tr(@a: 0; @b: @a) { top: @a; right: @b; } | |
.bl(@a: 0; @b: @a) { bottom: @a; left: @b; } | |
.br(@a: 0; @b: @a) { bottom: @a; right: @b; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cur { | |
.pointer() { cursor: default; } | |
.default() { cursor: default; } | |
.hand() { cursor: pointer; } | |
.help() { cursor: help; } | |
.move() { cursor: move; } | |
.horz() { cursor: w-resize; } | |
.vert() { cursor: n-resize; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var typecast = function(val) { | |
// Pulled from AMD | |
var r; | |
if (val === null || val === 'null') { | |
r = null; | |
} else if (val === 'true') { | |
r = true; | |
} else if (val === 'false') { | |
r = false; | |
} else if (val === undefined || val === 'undefined') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"plugins": [ | |
"react" | |
], | |
"parserOptions": { |