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'; | |
/* | |
|-------------------------------------------------------------------------- | |
| Requirejs configuration | |
|-------------------------------------------------------------------------- | |
| | |
| This file is used by both the browser & command line optomisation | |
| tool (see gruntfile.js) | |
| |
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(factory) { | |
'use strict'; | |
if (typeof define === 'function' && define.amd) { | |
define(['jquery'], factory); | |
} else if (typeof exports !== 'undefined') { | |
module.exports = factory(require('jquery')); | |
} else { | |
factory(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
<!-- markup --> | |
<img data-src="/image/to/lazy/load.jpg" src="" /> | |
<script type="text/javascript"> | |
lazyLoad : function($images){ | |
$images.each(function(i, el){ | |
var $el = $(el); | |
if (!el.loaded){ | |
$el.attr('src', $el.attr('data-src')); | |
el.loaded=1; |
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
/* | |
|-------------------------------------------------------------------------- | |
| jQuery plugin | |
|-------------------------------------------------------------------------- | |
| By Ben Cooling (https://github.com/bencooling, http://bcooling.com.au) | |
| | |
| Plugin with: | |
| - Public api for programitically calling plugin methods | |
| - Options for overiding default configuration values | |
| - AMD compatability |
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
// Send through php mail function | |
'driver' => 'mail', | |
// mailcatcher does not support encryption | |
'encryption' => '', |
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 () { | |
'use strict'; | |
module.exports = function(grunt) { | |
// Plugins | |
grunt.loadNpmTasks('grunt-contrib-requirejs'); | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
grunt.loadNpmTasks('grunt-contrib-sass'); | |
grunt.loadNpmTasks('grunt-contrib-clean'); |
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
// dependencies | |
@import "vendor/normalize-scss/_normalize"; | |
@import "vendor/bourbon/app/assets/stylesheets/_bourbon"; | |
@import "vendor/neat/app/assets/stylesheets/_neat"; | |
@import "vendor/bitters/app/assets/stylesheets/_bitters"; | |
@import "vendor/bec/jquery.reveal.css"; | |
@import "vendor/animate-css/animate.css"; | |
// Fonts | |
@import "fonts/rambla/stylesheet.css"; |
This is a plugin meant for Jekyll.
Example use:
Easily embed a YouTube video. Just drop this file in your _plugins
directory.
{% youtube oHg5SJYRHA0 %}