mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update tests for runtime/api separation
This commit is contained in:
@@ -28,7 +28,7 @@ var persistentSettings = {
|
||||
userSettings = settings;
|
||||
for (var i in settings) {
|
||||
/* istanbul ignore else */
|
||||
if (settings.hasOwnProperty(i)) {
|
||||
if (settings.hasOwnProperty(i) && typeof settings[i] !== "function") {
|
||||
(function() {
|
||||
var j = i;
|
||||
persistentSettings.__defineGetter__(j,function() { return userSettings[j]; });
|
||||
|
Reference in New Issue
Block a user