Skip to content

Commit

Permalink
add frugal flag
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed May 1, 2017
1 parent dc516e4 commit f772ab3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/address_space/address_space.js
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,6 @@ AddressSpace.prototype._addObjectOrVariableType = function (options,topMostBaseT
assert(options.browseName);
assert(typeof options.browseName === "string");


var references = [];

function process_subtypeOf_options(self,options,references) {
Expand Down
8 changes: 6 additions & 2 deletions lib/address_space/base_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -1608,10 +1608,14 @@ function install_components_as_object_properties(parentObj) {
BaseNode.prototype.install_extra_properties = function () {

var self = this;
var addressSpace = self.addressSpace;

install_components_as_object_properties(self);
if (addressSpace.isFrugal) {
// skipping
return;
}

var addressSpace = self.addressSpace;
install_components_as_object_properties(self);

function install_extra_properties_on_parent(ref) {
var node = Reference._resolveReferenceNode(addressSpace,ref);
Expand Down

0 comments on commit f772ab3

Please sign in to comment.