From f74d633fc6dfbd3d8d5db9911677ef6983f6dcb0 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Tue, 7 Jul 2015 16:43:34 +0300 Subject: [PATCH] console.log removed --- ui/builder/builder.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ui/builder/builder.ts b/ui/builder/builder.ts index 93d639d4f..1942552e7 100644 --- a/ui/builder/builder.ts +++ b/ui/builder/builder.ts @@ -180,24 +180,16 @@ function loadCustomComponent(componentPath: string, componentName?: string, attr componentPath = componentPath.replace("~/", ""); var fileName = componentPath; - console.log("BEFORE: " + componentPath) if (!fs.File.exists(fileName)) { fileName = fs.path.join(fs.knownFolders.currentApp().path, componentPath, componentName) + ".xml"; } - console.log("AFTER: " + fileName) - if (fs.File.exists(fileName)) { - - console.log("XML: " + fileName) - // Custom components with XML var jsPath = fileName.replace(".xml", ".js"); var subExports; if (fs.File.exists(jsPath)) { - console.log("JS: " + fileName) - // Custom components with XML and code subExports = require(jsPath.replace(".js", "")) } @@ -213,7 +205,6 @@ function loadCustomComponent(componentPath: string, componentName?: string, attr } } else { // Custom components without XML - console.log("NO XML: " + componentPath) result = componentBuilder.getComponentModule(componentName, componentPath, attributes, context); }