This file contains hidden or 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 __slice = Array.prototype.slice; | |
function variadic (fn) { | |
var fnLength = fn.length; | |
if (fnLength < 1) { | |
return fn; | |
} | |
else if (fnLength === 1) { | |
return function () { |
This file contains hidden or 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
# Config | |
config windowHintsFontSize 100 | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config windowHintsTopLeftX (windowSizeX/2)-(windowHintsWidth/2) | |
config windowHintsTopLeftY (windowSizeY/2)-(windowHintsHeight/2) | |
config windowHintsIgnoreHiddenWindows false | |
# General aliases | |
alias sox screenOriginX |
This file contains hidden or 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
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$main-font:2em; | |
$sub-font:1.5em; | |
$mini-font:1.3em; | |
@each $header, $size in (h1:$main-font,h2:$sub-font,h3:$mini-font,h4:1.2em){ |
This file contains hidden or 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
// init | |
var basketApplication = {}; | |
basketApplication.ng = angular.module('basketApplication-website', [ | |
'angular-logger' | |
]); | |
// some directive |
This file contains hidden or 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
# Config | |
config windowHintsFontSize 100 | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config windowHintsTopLeftX (windowSizeX/2)-(windowHintsWidth/2) | |
config windowHintsTopLeftY (windowSizeY/2)-(windowHintsHeight/2) | |
config windowHintsIgnoreHiddenWindows false | |
# General aliases | |
alias sox screenOriginX |
This file contains hidden or 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
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config windowHintsTopLeftX (windowSizeX/2)-(windowHintsWidth/2) | |
config windowHintsTopLeftY (windowSizeY/2)-(windowHintsHeight/2) | |
#set ignore hidden windows to false | |
config windowHintsIgnoreHiddenWindows false | |
# monitors will be ordered from left to right by X coordinate. When false it follows OSX internal ordering | |
config orderScreensLeftToRight true | |
config keyboardLayout "qwerty" | |
# focus all windows touched by the activated layout |
This file contains hidden or 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
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config windowHintsTopLeftX (windowSizeX/2)-(windowHintsWidth/2) | |
config windowHintsTopLeftY (windowSizeY/2)-(windowHintsHeight/2) | |
#set ignore hidden windows to false | |
config windowHintsIgnoreHiddenWindows false | |
# monitors will be ordered from left to right by X coordinate. When false it follows OSX internal ordering | |
config orderScreensLeftToRight true | |
config keyboardLayout "qwerty" | |
# focus all windows touched by the activated layout |
This file contains hidden or 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 ccAppForm = document.getElementsByClassName('cc-app'), | |
infoAccept = document.getElementsByClassName('info-accept'), | |
infoDeny = document.getElementsByClassName('info-deny'), | |
infoError = document.getElementsByClassName('info-error'), | |
errorAlert = document.getElementsByClassName('error-alert'), | |
infoLoading = document.getElementsByClassName('info-loading'), | |
radios = document.getElementsByClassName('input-radio'), | |
inputs = document.getElementsByClassName('input-text'), | |
submitButton = document.querySelector('button'); |
This file contains hidden or 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
// ---- | |
// libsass (v3.2.2) | |
// ---- | |
%InlineButton2 { | |
background:white; | |
color:black; | |
border:1px solid transparent; | |
white-space:nowrap; | |
padding:5px 10px; |
This file contains hidden or 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
const ParentComponent = React.createClass({ | |
render() { | |
<Section> | |
<button type="button" onClick={this.handleClick}>{!this.state.isEditing ? 'Edit' : 'Cancel'}</button> | |
</Section> | |
} | |
}) | |
// here this.handleClick() should come from Section | |
// this.state.isEditing same idea |