mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Patch to Support use strict
Fixes Issue #206 (manual merge due ot other changes)
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
module.exports = function(RED) {
|
module.exports = function(RED) {
|
||||||
|
"use strict";
|
||||||
var ntwitter = require('twitter-ng');
|
var ntwitter = require('twitter-ng');
|
||||||
var OAuth= require('oauth').OAuth;
|
var OAuth= require('oauth').OAuth;
|
||||||
|
|
||||||
@@ -155,7 +156,7 @@ module.exports = function(RED) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function setupStream() {
|
var setupStream = function() {
|
||||||
if (node.active) {
|
if (node.active) {
|
||||||
twit.stream(thing, st, function(stream) {
|
twit.stream(thing, st, function(stream) {
|
||||||
//console.log(st);
|
//console.log(st);
|
||||||
|
Reference in New Issue
Block a user