2012-08-28から1日間の記事一覧
httpサーバのレスポンスをdata-sectionモジュール使って返すようにしただけのコードです…… var http = require('http'), dataSection = require('data-section'), server = http.createServer(); dataSection.get('index.html', function (err, data) { if (…
httpサーバのレスポンスをdata-sectionモジュール使って返すようにしただけのコードです…… var http = require('http'), dataSection = require('data-section'), server = http.createServer(); dataSection.get('index.html', function (err, data) { if (…