From a68fe3f0180f5ab3304ff201be8da40c4432bd40 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Mon, 5 Mar 2012 22:23:59 -0800 Subject: Minor Fix Forgot to comment out the return, therefore preventing to save. --- js/mediators/io-mediator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/mediators') diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js index d6b4bd37..07a139c0 100644 --- a/js/mediators/io-mediator.js +++ b/js/mediators/io-mediator.js @@ -441,7 +441,7 @@ function parseNinjaUrl (url) { webgltag.innerHTML = json; } var cleanHTML = template.document.content.document.documentElement.outerHTML.replace(/(\b(?:(?:https?|ftp|file|[A-Za-z]+):\/\/|www\.|ftp\.)(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))/gi, parseNinjaRootUrl.bind(this)); - console.log(this.getPrettyHtml(cleanHTML.replace(this.getAppTemplatesUrlRegEx(), ''))); + //console.log(this.getPrettyHtml(cleanHTML.replace(this.getAppTemplatesUrlRegEx(), ''))); function parseNinjaRootUrl (url) { if (url.indexOf(this.application.ninja.coreIoApi.rootUrl) !== -1) { return this.getUrlfromNinjaUrl(url, rootUrl, rootUrl.replace(new RegExp((this.application.ninja.coreIoApi.rootUrl).replace(/\//gi, '\\\/'), 'gi'), '')+'file.ext');//Wrong parameters @@ -451,7 +451,7 @@ function parseNinjaUrl (url) { } //console.log(rootUrl, this.application.ninja.coreIoApi.rootUrl, this.application.ninja.documentController.documentHackReference.root, this.application.ninja.coreIoApi.cloudData.root); //console.log(this.getPrettyHtml(template.document.content.document.documentElement.outerHTML)); - return; + //return; // return this.getPrettyHtml(cleanHTML.replace(this.getAppTemplatesUrlRegEx(), '')); } -- cgit v1.2.3