View 1.css
.ActionBar {
display: flex;
flex-direction: row;
align-items: center;
position: relative;
width: 100%;
height: 56px;
View 1.js
// greeting.js
function Greeting() {
const greet = getElementFromTemplate(greetingTemplate);
const nextTemplate = greet.querySelector(`.greeting__continue`);
nextTemplate.addEventListener(`click`, () => {
renderNewTemplate(rules);
}, {once: true});
return greet;
View hook.sh
#!/bin/bash
#
# Check changed js files using jshint and jscs
#
PATCH_FILE="working-tree.patch"
NPM_BIN="./node_modules/.bin"
function cleanup {
exit_code=$?
View make.js
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'),
View box.js
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);
},
View .hyper.js
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 вЦИ