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
.controller('GigController', function($scope){ | |
var gigs = $('.js-gig-date'); | |
var now = new Date(); | |
console.log(now); | |
gigs.each(function(i, el) { | |
var $el = $(el); | |
var date = $el.attr('data-date'); | |
var gigtime = new Date(date); | |
console.log(gigtime); | |
if (now > gigtime) { |
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 gulp = require('gulp'); | |
var sass = require('gulp-ruby-sass'); | |
var prefix = require('gulp-autoprefixer'); | |
var csso = require('gulp-csso'); | |
var imgmin = require('gulp-imagemin'); | |
var resize = require('gulp-image-resize'); | |
var changed = require('gulp-changed'); | |
var parallel = require('concurrent-transform'); | |
var os = require('os'); | |
var rename = require('gulp-rename'); |