Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
var gulp = require("gulp"); | |
var browserify = require("browserify"); | |
var babelify = require("babelify"); | |
var source = require("vinyl-source-stream"); | |
var config = { | |
src: "index.js", | |
filename: "bundle.js", | |
dest: "./" | |
}; | |
var extensions = ['.js', '.ts', '.json']; |
// ngAnimate helper mixins | |
// first it helps to have a single transition for everything. you can always fine-tune later: | |
$base-transition: 0.5s ease all | |
// this set of mixins which works for both ng-if and and ng-show: | |
@mixin revealTo($transition: $base-transition) | |
@content |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>
// NOTE: I added the .js extension to this gist so it would have syntax highlighting. This file should have NO file extension | |
{ | |
// Settings | |
"passfail" : false, // Stop on first error. | |
"maxerr" : 100, // Maximum error before stopping. | |
// Predefined globals whom JSHint will ignore. | |
"browser" : true, // Standard browser globals e.g. `window`, `document`. |