Go to the egghead website, i.e. Building a React.js App
run
$.each($('h4 a'), function(index, video){
console.log(video.href);
});| { | |
| "added_words": | |
| [ | |
| "Mockup", | |
| "plugins", | |
| "coffeescript", | |
| "sourcemaps", | |
| "html", | |
| "plugin", | |
| "init", |
Go to the egghead website, i.e. Building a React.js App
run
$.each($('h4 a'), function(index, video){
console.log(video.href);
});| var production = process.env.APP_ENV === "test"; | |
| var gulp = require('gulp'); | |
| var gutil = require('gulp-util'); | |
| var sass = require('gulp-sass'); | |
| var cssmin = require('gulp-minify-css'); | |
| var prefix = require('gulp-autoprefixer'); | |
| var newer = require('gulp-newer'); | |
| var print = require('gulp-print'); | |
| var notify = require('gulp-notify'); | |
| var batch = require('gulp-batch'); |
| <div class="warning"> | |
| <p>A Warning Message.</p> | |
| </div> |
While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.
Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.
lib/ is intended for code that can run as-issrc/ is intended for code that needs to be manipulated before it can be used| // ---- | |
| // Sass (v3.4.6) | |
| // Compass (v1.0.1) | |
| // ---- | |
| // auto-extending includes for width ratios | |
| // determines match by reducing argument fraction | |
| @function gcd($a, $b) { | |
| @if $b == 0 { @return abs($a); } |
| OBSOLETE PREFIXES | |
| -xv-interpret-as // -xv- and -o- are old Opera prefixes for the Presto | |
| -xv-phonemes // engine. Opera switched to the Blink engine with | |
| -xv-voice-balance // version 15. The current version is 34. | |
| -xv-voice-duration | |
| -xv-voice-pitch | |
| -xv-voice-pitch-range | |
| -xv-voice-rate | |
| -xv-voice-stress | |
| -xv-voice-volume |
| var gulp = require('gulp'); | |
| var browserSync = require('browser-sync'); | |
| var reload = browserSync.reload; | |
| var harp = require('harp'); | |
| /** | |
| * Serve the Harp Site from the src directory | |
| */ | |
| gulp.task('serve', function () { | |
| harp.server(__dirname + '/src', { |