タグ

ブックマーク / www.webpro.nl (2)

  • Getting gulpy

    Advanced tips for using gulp.js After getting excited about gulp.js, at some point you need more than the shiny but basic examples. This post discusses some common pitfalls when using gulp.js, plugins and streams in a more advanced and custom way. Basic tasks In a basic setup, gulp has a nice syntax to use streams and plugins to transform your source files: gulp.task('scripts', function () { retur

    Getting gulpy
    efcl
    efcl 2014/05/11
    gulpとstreamについて詳しく書かれてる。 buffer stream、いつもpluginが必要という訳ではないという話、Task orchestrationについて
  • The $ object demystified

    Wrap Like An Egyptian Let's take a quick look at querySelector-based libraries such as jQuery and Zepto. You're probably familiar with their syntax: var $items = $('.items'); Once you've queried some elements, there's a lot you can do with those elements, such as adding classes (e.g. $el.addClass('active')), insert other elements, add event listeners, and so on. Elements vs. API The elements being

    The $ object demystified
    efcl
    efcl 2014/02/09
    Array likeにどうやって自分のAPIを追加するかについての4つの方法。 prototype injection egypt
  • 1