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
import React from 'react'; | |
import services from '../services/index'; | |
import BigCalendar from 'react-big-calendar'; | |
import moment from 'moment'; | |
import 'react-big-calendar/lib/css/react-big-calendar.css'; | |
// setting to use Saturday as the first day of the week | |
moment.updateLocale('en-gb', { | |
week : { |
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
/** | |
* - num columns per card | |
* - num possible column | |
* - include @cards > * > * as a flex item | |
*/ | |
@mixin cards($card-columns: 4, $possible-columns: 12, $flex: true){ | |
width: 100%; | |
display: -webkit-flex; | |
display: -ms-flexbox; |
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
/** | |
* gulp file that will restart keystonejs app and compile sass | |
*/ | |
'use strict'; | |
var gulp = require('gulp'); | |
var watch = require('gulp-watch'); | |
var shell = require('gulp-shell') | |
var sass = require('gulp-sass'); |
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 Note = function(options){ | |
console.log(window); | |
this.StaveNote = new Vex.Flow.StaveNote(options); | |
this.removed = false; | |
/** | |
* moves the note right from its ORIGINAL position by x pixels | |
* (sets the trasform: translate(x) value to x) | |
*/ | |
this.setOffsetX = (x) => { | |
if(this.removed){ |
NewerOlder