This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| // Usage: $(element).scrollToTop([position]) | |
| ;(function($){ | |
| // only allow one scroll to top operation to be in progress at a time, | |
| // which is probably what you want | |
| var scrollToTopInProgress = false | |
| $.fn.scrollToTop = function(position){ | |
| var $this = this, | |
| targetY = position || 0, |
| // gulpやプラグインをインポート | |
| var gulp = require('gulp') | |
| , compass = require('gulp-compass') | |
| , concat = require('gulp-concat') | |
| , uglify = require('gulp-uglify') | |
| , minifyCSS = require('gulp-minify-css') | |
| , path = require('path') | |
| ; | |
| //JSファイルをjsフォルダにコピー |
| // Usage: $(element).scrollToTop([position]) | |
| ;(function($){ | |
| // only allow one scroll to top operation to be in progress at a time, | |
| // which is probably what you want | |
| var scrollToTopInProgress = false | |
| $.fn.scrollToTop = function(position){ | |
| var $this = this, | |
| targetY = position || 0, |