Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduce browserify

aereal
May 03, 2014

Introduce browserify

Presented at Kyoto.asterisk (Kyoto.なんか)

aereal

May 03, 2014
Tweet

More Decks by aereal

Other Decks in Programming

Transcript

  1. HTML • ಛผͳπʔϧ͸ෆཁ ! ! ! ! ! • Ϗϧυπʔϧͱ૬ੑ×

    • minify • concatenate • compile • ਓؒ
  2. αʔόαΠυ //= require jquery //= require jquery.plugin ! $(function ()

    { $('#body').plugin(); }); https://github.com/sstephenson/sprockets
  3. αʔόαΠυ ! • Ϟδϡʔϧ͝ͱͷґଘ ؔ܎Λ໌ࣔͰ͖Δ • ґଘղܾΛιϑτ΢Σ Ξʹ ! !

    • ಠࣗͷϞδϡʔϧػߏ • ϨΠϠΛލ͍Ͱ͍Δ • Ϗϧυπʔϧͱͷ౷߹
  4. // app.js ! var _ = require('underscore'); var langs =

    ['JavaScript', 'Perl']; _.each(langs, function (l) { console.log(l); }); $ browserify app.js