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
// Essentials | |
var gulp = require('gulp'); | |
var webpack = require('webpack'); // Include webpack to add definePlugin | |
var webpackStream = require('webpack-stream'); // Use webpack-stream to compile | |
// Sass Requires | |
var sass = require('gulp-sass'); // Include SASS | |
var autoprefix = require('gulp-autoprefixer'); // Autoprefixer (always) | |
var rename = require('gulp-rename'); // Gulp Rename | |
var sourcemaps = require('gulp-sourcemaps'); // Sourcemaps (for 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
input.nav-menu__btn(type="checkbox") | |
nav.nav-menu | |
a.nav-menu__item Home | |
a.nav-menu__item About | |
a.nav-menu__item Contact | |
a.nav-menu__item Work | |
a.nav-menu__item Social |
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
// this is the background code... | |
// listen for our browerAction to be clicked | |
chrome.browserAction.onClicked.addListener(function (tab) { | |
// for the current tab, inject the "inject.js" file & execute it | |
chrome.tabs.executeScript(tab.ib, { | |
file: 'inject.js' | |
}); | |
}); |
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
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |