Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #108 from vega/kaw/pass-data-by-reference
Browse files Browse the repository at this point in the history
Get data object from Config service by reference, not deep clone
  • Loading branch information
kanitw committed Oct 15, 2015
2 parents 85e872b + ac90d02 commit 616d35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/config.service.js
Expand Up @@ -17,7 +17,7 @@ angular.module('vlui')
};

Config.getData = function() {
return _.cloneDeep(Config.data);
return Config.data;
};

Config.large = function() {
Expand Down

0 comments on commit 616d35a

Please sign in to comment.