#Single Page Application ###RequireJS, BackboneJS, Jquery
This file contains hidden or 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
jumbtron: function() { | |
$(jumbtron.h1).addClass('animated ' + 'fadeInLeftBig').appendTo(".jumbotron"); | |
setTimeout( function() { $('.cloud').textillate({ in: { effect: 'fadeInLeftBig' } }); }, 200); | |
setTimeout( function() { $(jumbtron.h2).addClass('animated ' + 'fadeInRightBig').appendTo(".jumbotron"); }, 700); | |
setTimeout( function() { $(jumbtron.btn).addClass('animated ' + 'fadeInUp').appendTo(".jumbotron"); }, 1000); | |
} |
This file contains hidden or 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
// | |
// currentLocation.swift | |
// Current Location | |
// | |
// Created by Kurtis Dunn on 21/08/2015. | |
// Copyright © 2015 Kurtis Dunn. All rights reserved. | |
// | |
import UIKit | |
import MapKit |
This file contains hidden or 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
require.config({ | |
paths: { | |
text: '/assets/js/vendor/require/text.min', | |
pace: '/assets/js/vendor/pace/pace.min', | |
jquery: '/assets/js/vendor/jquery/jquery.min', | |
underscore: '/assets/js/vendor/underscore/underscore.min', | |
backbone: '/assets/js/vendor/backbone/backbone.min', | |
bootstrap: '/assets/js/vendor/bootstrap/bootstrap.min', | |
enquire: '/assets/js/vendor/enquire/enquire.min', | |
templates: '/templates' |
This file contains hidden or 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
package << package >>; | |
import java.io.*; | |
import java.util.*; | |
import javax.mail.*; | |
import javax.mail.event.*; | |
import javax.mail.internet.*; | |
public class TestMail { | |
public TestMail() {} |
This file contains hidden or 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
$(function() { | |
var FADE_TIME = 150; // ms | |
var TYPING_TIMER_LENGTH = 400; // ms | |
var COLORS = [ | |
'#e21400', '#91580f', '#f8a700', '#f78b00', | |
'#58dc00', '#287b00', '#a8f07a', '#4ae8c4', | |
'#3b88eb', '#3824aa', '#a700ff', '#d300e7' | |
]; | |
// Initialize varibles |
This file contains hidden or 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
fetchTemplates: function() { | |
var that = this; | |
var templatesCollection = new TemplatesCollection(); | |
switch (window.location.pathname) { | |
case '/': | |
templatesCollection.fetch({ | |
url: '/api/template/home', | |
success: function(rsp) { | |
//Set Template | |
templateName = 'Home'; |
This file contains hidden or 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
/rest//*global -$ */ | |
'use strict'; | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var mainBowerFiles = require('main-bower-files'); | |
var $ = require('gulp-load-plugins')(); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
// Error notifications |
This file contains hidden or 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
<?php | |
function site_resources() { | |
wp_enqueue_style( 'bootstrap-options-style', get_template_directory_uri() . '/css/bootstrap.min.css' ); | |
wp_enqueue_style( 'custom-options-style', get_template_directory_uri() . '/css/custom.min.css' ); | |
wp_enqueue_style( 'font-awesome-options-style', get_template_directory_uri() . '/bower_components/font-awesome/css/font-awesome.min.css' ); | |
wp_enqueue_style( 'animate-options-style', get_template_directory_uri() . '/bower_components/animate.css/animate.min.css' ); | |
} | |
add_action('wp_enqueue_scripts', 'vitalConsult_resources'); |
This file contains hidden or 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
'use strict'; | |
module.exports = function(grunt) { | |
// show elapsed time at the end | |
require('time-grunt')(grunt); | |
grunt.initConfig({ | |
notify_hooks: { | |
options: { | |
enabled: true, |