308: 1h
309: 2h
310: 4h (maybe more with random asyncronous headaches)
311: 2h
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
// ---------------------- | |
// HELPER FUNCTIONS HERE | |
// ---------------------- | |
@function size($multiplier) { |
308: 1h
309: 2h
310: 4h (maybe more with random asyncronous headaches)
311: 2h
do -> | |
angular | |
.module('app') | |
.factory('Foo', Foo) | |
Foo = (foo, bar) -> | |
# Variables (all should be private) | |
hello = "hello" | |
world = "world" |
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
$s-gutter: 32px; | |
$s-gutter-xlarge : 3.5*$s-gutter; | |
$s-gutter-large : 3*$s-gutter; |
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin outer { | |
@content; | |
} | |
@mixin inner { |
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin outer { | |
@content; | |
} | |
@mixin inner { |
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@function imagePath($imageName) { | |
@return 'siroop.ch/#{$imageName}'; | |
} | |
.foo { | |
background-image: url(imagePath('header.png')); |
# remove falsey elements from array | |
const compact = (arr) => arr.filter(Boolean) |
'use strict'; | |
const FIELD_TYPE_BLACKLIST = ['file', 'reset', 'submit', 'button']; | |
const isFieldSerializable = (field) => field.name && FIELD_TYPE_BLACKLIST.indexOf(field.type) === -1 | |
const formFieldsReducer = (state, field) => { | |
if (!isFieldSerializable(field)) { | |
return state; | |
} |