Simply, a Javascript runtime.
- Asynchronous as First Class Citizen
- Non-blocking I/O
- Event-driven I/O
- Single Threaded
Add or adjust color subclasses by defining background-color.
Create a new subclass for .icon (e.g. &.phone:before/after) and add the character as the content (e.g. content: 'x'). Depending on whether the icon is inserted before or after the button text, add a trailing or leading space (e.g. 'x 'for :before or ' x' for :after). Entypo (http://www.entypo.com) is the icon font used here, but can easily be replaced with one of your choice, or scrapped altogether if you prefer to link directly to an image (NOTE: content: url('...') would be an interesting way to add this with the current :before/:after element implementation)
folders = [ | |
'settings', | |
'effects', | |
'skin', | |
'typography', | |
'layout', | |
'module' | |
] | |
def writeFile(filename, text) |
@mixin header-scale($ratio: 5, $top-offset: 0, $bottom-offset-ratio: 0.875, $header-rank-shift: -1, $min-width: null, $max-width: null) { | |
$min-width-query: "(min-width: #{$min-width})"; | |
@if $min-width == null { | |
$min-width-query: ""; | |
} | |
$max-width-query: "(max-width: #{$max-width})"; | |
@if $max-width == null { | |
$max-width-query: ""; | |
} |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Modal Sans-JS</title> | |
<style> | |
* { box-sizing: border-box } | |
body { |
Actions correspond to Redux Async Action Creators and are responsible for dispatching store actions (found:'../src/store'
) or other async actions.
While the specific implementation may vary, async actions take this basic form. Partial application is used to provide easy dependency injection (useful for easy testing of success and failure cases).
I hereby claim:
To claim this, I am signing this object:
// Recursive Reduce | |
const reduce = (x, y, z) => { | |
const head = z[0] | |
return !head | |
? y | |
: reduce(x, x(y, head), z.slice(1)) | |
} | |
// Direct usage of reduce | |
reduce((acc, x) => acc + x, 0, [1, 2, 3]) // 6 |
Morphisms can have any of the following properties.
A morphism f :: a -> b
is a: