mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Patch to Support use strict
Fixes Issue #206 (manual merge due ot other changes)
This commit is contained in:
parent
7e4fa5fa45
commit
55245610dd
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user