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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 13, | |
fontFamily: 'Hack', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.75)', | |
// `BEAM` for |, `UNDERLINE` for _, `BLOCK` for вЦИ |
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
modules.define('box', ['i-bem-dom'], function(provide, bemDom) { | |
provide(bemDom.declBlock(this.name, { | |
onSetMod : { | |
'closed': { | |
'yes': function() { | |
this.domElem.animate({ | |
'margin-left' : '54em' | |
}, 1000); | |
}, |
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
const techs = { | |
// essential | |
fileProvider: require('enb/techs/file-provider'), | |
fileMerge: require('enb/techs/file-merge'), | |
// optimization | |
borschik: require('enb-borschik/techs/borschik'), | |
// css | |
postcss: require('enb-postcss/techs/enb-postcss'), |
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
#!/bin/bash | |
# | |
# Check changed js files using jshint and jscs | |
# | |
PATCH_FILE="working-tree.patch" | |
NPM_BIN="./node_modules/.bin" | |
function cleanup { | |
exit_code=$? |
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
// greeting.js | |
function Greeting() { | |
const greet = getElementFromTemplate(greetingTemplate); | |
const nextTemplate = greet.querySelector(`.greeting__continue`); | |
nextTemplate.addEventListener(`click`, () => { | |
renderNewTemplate(rules); | |
}, {once: true}); | |
return greet; |
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
.ActionBar { | |
display: flex; | |
flex-direction: row; | |
align-items: center; | |
position: relative; | |
width: 100%; | |
height: 56px; |