Skip to content

Commit

Permalink
unremoving scope.getPathsforKey in production
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipskevin committed Jun 11, 2018
1 parent fb9622f commit 59aaf05
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions can-view-scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,7 @@ assign(Scope.prototype, {

// ## Scope.prototype.getPathsForKey
// Finds all paths that will return a value for a specific key
// NOTE: this is for development purposes only and is removed in production
getPathsForKey: function getPathsForKey(key) {
//!steal-remove-start
var paths = {};

var getKeyDefinition = function(obj, key) {
Expand Down Expand Up @@ -495,7 +493,6 @@ assign(Scope.prototype, {
});

return paths;
//!steal-remove-end
},

// ## Scope.prototype.hasKey
Expand Down

0 comments on commit 59aaf05

Please sign in to comment.