Skip to content

Commit

Permalink
Fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
bgdncz committed Mar 4, 2015
1 parent d692ef8 commit 5edf1ec
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions modules/Material/Extras/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,21 +111,6 @@ function cherrypick(list, properties) {
}
}

function findChild(obj,objectName) {
var childs = new Array(0);
childs.push(obj)
while (childs.length > 0) {
if (childs[0].objectName == objectName) {
return childs[0]
}
for (var i in childs[0].data) {
childs.push(childs[0].data[i])
}
childs.splice(0, 1);
}
return null;
}

function newObject(path, args, parent) {
if (!args)
args = {}
Expand Down

0 comments on commit 5edf1ec

Please sign in to comment.