Give developers more knowledge about how the classes behave in a non-relative sense: BEM + ITCSS = BEMIT
BEM:
Give developers more knowledge about how the classes behave in a non-relative sense: BEM + ITCSS = BEMIT
BEM:
/** | |
* Clean gulp cache | |
*/ | |
gulp.task('clear', function () { | |
cache.clearAll(); | |
}); | |
/** | |
* Clean tasks for zip |
/** | |
* Stop an iframe or HTML5 <video> from playing | |
* @param {Element} element The element that contains the video | |
*/ | |
var stopVideo = function ( element ) { | |
var iframe = element.querySelector( 'iframe'); | |
var video = element.querySelector( 'video' ); | |
if ( iframe ) { | |
var iframeSrc = iframe.src; | |
iframe.src = iframeSrc; |
<?php | |
// include all PHP files in ./lib/ directory: | |
foreach ( glob( dirname( __FILE__ ) . '/lib/*.php' ) as $file ) | |
include $file; | |