Pman.Builder.Tree.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 26 Feb 2014 15:32:45 +0000 (23:32 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 26 Feb 2014 15:32:45 +0000 (23:32 +0800)
Pman.Builder.Tree.js

index 35406bf..aab1c67 100644 (file)
@@ -118,6 +118,9 @@ Pman.Builder.Tree = {
         var newConfig = {};
         
         for (var i in config) {
+            if (i.match(/^builder\./)) {
+                continue;
+            }
             if (typeof config[i] == 'object') {
                  newConfig[i] = this.cloneConfig(config[i]);
             } else if (typeof config[i] != 'function') { // should this happen?