智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/b5/b5909950f41b8bd301d82444628...

14 lines
325 B

var freeze = require('./freeze');
var keys = require('./keys');
var isObj = require('./isObj');
exports = function(obj) {
freeze(obj);
keys(obj).forEach(function(prop) {
var val = obj[prop];
if (isObj(val) && !Object.isFrozen(val)) exports(val);
});
return obj;
};
module.exports = exports;