Permalink
Browse files

update examples to use relative requires

  • Loading branch information...
1 parent c1aba46 commit 552aa017e6b9d7fb7593e00d420a340bed68df24 @substack committed Oct 13, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 example/get/main.js
  2. +1 −1 example/headers/main.js
  3. +1 −1 example/post/main.js
  4. +1 −1 example/streaming/main.js
View
@@ -1,4 +1,4 @@
-var http = require('http-browserify');
+var http = require('../../');
http.get({ path : '/beep' }, function (res) {
var div = document.getElementById('result');
View
@@ -1,4 +1,4 @@
-var http = require('http-browserify');
+var http = require('../../');
var opts = { path : '/beep', method : 'GET' };
var req = http.request(opts, function (res) {
View
@@ -1,4 +1,4 @@
-var http = require('http-browserify');
+var http = require('../../');
var n = 100;
var opts = { path : '/plusone', method : 'post' };
@@ -1,4 +1,4 @@
-var http = require('http-browserify');
+var http = require('../../');
http.get({ path : '/doom' }, function (res) {
var div = document.getElementById('result');

0 comments on commit 552aa01

Please sign in to comment.