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
// patterns/_form.scss | |
@mixin form { | |
border: 1px solid black; | |
} | |
// modules/_sign-in.scss | |
.sign-in { | |
@include form; |
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
$brand-colors: ( | |
blue: #00f, | |
red: #f00 | |
); | |
.headline { | |
color: map-get($brand-colors, red); | |
} |
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
// no | |
$dark-blue: #00f; | |
$size: .9rem; | |
$max-size: 1.2rem; | |
$medium: 640px; | |
// yes | |
$color-brand-blue: #00f; | |
$font-size-headline-min: .9rem; | |
$font-size-headline-max: 1.2rem; |
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
app.scss | |
base/ | |
_defaults.scss | |
_helpers.scss | |
_typography.scss | |
_variables.scss | |
patterns/ | |
_form.scss | |
modules/ | |
home/ |
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 getData = new JSONPInterface(); | |
function callback(data) { | |
} | |
getData("http://example.com/?callback=", callback); |
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
#!/usr/bin/env python | |
import tornado.ioloop | |
import tornado.web | |
import functools | |
class template_method(object): | |
_methods = [] |
NewerOlder