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
.grid_column(@prefix; @index; @base) { | |
@fullclass: ~'.grid-@{prefix}col@{index}'; | |
@{fullclass} { left: @base * @index; } | |
} | |
.grid_row(@prefix; @index; @base) { | |
@fullclass: ~'.grid-@{prefix}row@{index}'; | |
@{fullclass} { top: @base * @index; } | |
} | |
.grid_width(@prefix; @index; @base) { | |
@fullclass: ~'.grid-@{prefix}hspan@{index}'; |
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 extend = Object.getOwnPropertyNames ? | |
function ecma5extend(obj) { | |
var proto = obj; | |
var protos = []; | |
var result = {}; | |
var descriptors = {}; | |
while (proto) { | |
protos.push(proto); | |
proto = Object.getPrototypeOf(proto); |
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
// based on: | |
// http://iamemmanouil.com/blog/electron-oauth-with-github/ | |
// https://github.com/ekonstantinidis/gitify | |
// this version uses https rather than superagent | |
var querystring = require('querystring'); | |
var https = require("https"); | |
// Your GitHub Applications Credentials |