Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove double var declaration

commit f0b3fd297b0aa537cc1807ab6b215a062728f795 1 parent 54d89f0
@anthonyettinger anthonyettinger authored
Showing with 3 additions and 6 deletions.
  1. +0 −2  a/j/main.js
  2. +3 −4 stream.js
View
2  a/j/main.js
@@ -33,7 +33,6 @@ var stream = function(){
log.add(data);
}, false);
-/*
source.addEventListener('digg', function(e) {
var data,
htm = [];
@@ -97,7 +96,6 @@ var stream = function(){
$("#results").prepend( rsvps() );
$("#results li:first-child").fadeIn();
}, false);
-*/
source.addEventListener('open', function(e) {
log.add("opened");
View
7 stream.js
@@ -2,7 +2,6 @@ var http = require('http'),
https = require('https'),
url = require("url"),
path = require("path"),
- sys = require("sys"),
spawn = require("child_process").spawn,
jsonline = require('json-line-protocol').JsonLineProtocol,
cfg = require('./config'),
@@ -41,7 +40,7 @@ http.createServer(function (req, res) {
res.write("data: "+JSON.stringify(value)+"\n\n");
});
- var options = {
+ options = {
host: 'services.digg.com',
port: 80,
path: '/2.0/stream'
@@ -57,7 +56,7 @@ http.createServer(function (req, res) {
console.log("Got error: " + e.message);
});
- var options = {
+ options = {
host: 'stream.meetup.com',
port: 80,
//path: '/2/open_events'
@@ -74,7 +73,7 @@ http.createServer(function (req, res) {
console.log("Got error: " + e.message);
});
- var options = {
+ options = {
host: 'stream.meetup.com',
port: 80,
path: '/2/open_events'

0 comments on commit f0b3fd2

Please sign in to comment.
Something went wrong with that request. Please try again.