Skip to content

Commit

Permalink
Merge pull request #290 from hindessm/unused-red-vars
Browse files Browse the repository at this point in the history
Remove unused references to red/red.js
  • Loading branch information
knolleary committed Jul 23, 2014
2 parents 9a60294 + 406581d commit 5179cc7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion red/nodes/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ function init(_settings) {

function load() {
return when.promise(function(resolve,reject) {
var RED = require("../red.js");

loadNodes(__dirname+"/../../nodes").then(function(loadedNodes) {
var promises = [];
Expand Down
1 change: 0 additions & 1 deletion red/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ function createServer(_server,_settings) {
}

function start() {
var RED = require("./red");
var defer = when.defer();

storage.init(settings).then(function() {
Expand Down

0 comments on commit 5179cc7

Please sign in to comment.