<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Editor in the Onion Console -- left full of debugging code!]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm using the Editor in the Onion Console to write some code, and sometimes it's handy to have the console in the developer tools (F12 in Chrome) open while writing Javascript, as I can quickly check some of the commands etc.</p>
<p dir="auto">The developers have left TONS of debugging code, making the browser console almost useless. Extract below:</p>
<p dir="auto">&lt;code&gt;<br />
The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 17<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 18<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 19<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 20<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 21<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 22<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 23<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 24<br />
onion-file-provider.html?r=a2:451 Inside the last iteration callback,should be called<br />
6onion-session-provider.html?r=a2:116 Alive<br />
onion-file-list.html:130 MouseEvent<br />
onion-editor.html?r=a2:240 fileEventClick Object<br />
onion-editor.html?r=a2:363 isFileInArray gets called<br />
onion-editor.html?r=a2:367 Array(3)<br />
onion-editor.html?r=a2:384 false<br />
onion-editor.html?r=a2:263 Is file opened?,: false<br />
onion-editor.html?r=a2:275 files is not in Array, It needs to be added<br />
onion-editor.html?r=a2:291 addfileToArray gets called, fileObj is: Object<br />
onion-file-provider.html?r=a2:26 /MMG2/GW/msgToServer.json5<br />
onion-file-provider.html?r=a2:271 Object<br />
onion-file-provider.html?r=a2:374 Should return fileContent<br />
onion-editor.html?r=a2:293 []<br />
onion-editor.html?r=a2:445 msgToServer.json5<br />
onion-editor.html?r=a2:447 json5<br />
onion-editor.html?r=a2:299 Inside callback of isFileNameSame, isSame false<br />
onion-editor.html?r=a2:997 openFilesObserver gets called<br />
onion-editor.html?r=a2:998 4<br />
onion-editor.html?r=a2:1004 ShowFileButtons<br />
onion-editor.html?r=a2:279 3<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 0<br />
onion-editor.html?r=a2:189 currTab 3<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 1<br />
onion-editor.html?r=a2:189 currTab 3<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 2<br />
onion-editor.html?r=a2:189 currTab 3<br />
bootstrap-pill.html:51 opaque false<br />
bootstrap-pill.html:53 nav-link<br />
onion-editor.html?r=a2:958 3<br />
onion-editor.html?r=a2:959 Inside currentTabChange<br />
onion-editor.html?r=a2:960 this.currentTab 3<br />
onion-editor.html?r=a2:961 this.fileIndex 2<br />
onion-editor.html?r=a2:985 Current Tab observer has been called<br />
onion-editor.html?r=a2:986 currentTab 3<br />
onion-editor.html?r=a2:987 fileIndex 2<br />
onion-editor.html?r=a2:943 INSIDE THE saveUpdate Function<br />
onion-editor.html?r=a2:946 The codes are the same and do not need to be saved<br />
onion-editor.html?r=a2:420 The File Index is 3<br />
onion-editor.html?r=a2:421 &lt;onion-editor open-files=​"[]​" id=​"onion-editor" class=​"style-scope onion-console iron-selected"&gt;​…​&lt;/onion-editor&gt;​<br />
onion-editor.html?r=a2:281 3<br />
onion-editor.html?r=a2:282 3<br />
bootstrap-pill.html:51 opaque false<br />
bootstrap-pill.html:53 nav-link<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 3<br />
onion-editor.html?r=a2:189 currTab 3<br />
bootstrap-pill.html:51 opaque false<br />
bootstrap-pill.html:53 nav-link active<br />
onion-editor.html?r=a2:428 Index 3<br />
onion-editor.html?r=a2:429 Element Object<br />
onion-editor.html?r=a2:555 ƒ (response){<br />
if(response.status == 'failure'){<br />
//DoNothing, if save fails<br />
return;<br />
}else if(response.status == 'success' || response =="SaveNotNecessary" || response =="ChoseNotTo…<br />
onion-editor.html?r=a2:943 INSIDE THE saveUpdate Function<br />
onion-editor.html?r=a2:946 The codes are the same and do not need to be saved<br />
onion-editor.html?r=a2:510 Length of openFilesArray before splice 4<br />
onion-editor.html?r=a2:997 openFilesObserver gets called<br />
onion-editor.html?r=a2:998 3<br />
onion-editor.html?r=a2:1004 ShowFileButtons<br />
onion-editor.html?r=a2:512 Length of openFilesArray after splice 3<br />
onion-editor.html?r=a2:534  openFiles length is &gt; 0<br />
onion-editor.html?r=a2:541 currentTab does not equal new currentTab<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 0<br />
onion-editor.html?r=a2:189 currTab 2<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 1<br />
onion-editor.html?r=a2:189 currTab 2<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 2<br />
onion-editor.html?r=a2:189 currTab 2<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
&lt;/code&gt;</p>
<p dir="auto">Etc. I'm sure you get the idea.</p>
<p dir="auto">I'd suggest removing all of these for the next upgrade.</p>
<p dir="auto">Thanks.</p>
]]></description><link>http://community.onion.io/topic/2696/editor-in-the-onion-console-left-full-of-debugging-code</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 18:18:12 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/2696.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Feb 2018 14:25:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Editor in the Onion Console -- left full of debugging code! on Fri, 02 Feb 2018 14:25:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm using the Editor in the Onion Console to write some code, and sometimes it's handy to have the console in the developer tools (F12 in Chrome) open while writing Javascript, as I can quickly check some of the commands etc.</p>
<p dir="auto">The developers have left TONS of debugging code, making the browser console almost useless. Extract below:</p>
<p dir="auto">&lt;code&gt;<br />
The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 17<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 18<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 19<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 20<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 21<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 22<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 23<br />
onion-file-provider.html?r=a2:435 The saveContentHandler is running<br />
onion-file-provider.html?r=a2:436 Object<br />
onion-file-provider.html?r=a2:437 24<br />
onion-file-provider.html?r=a2:451 Inside the last iteration callback,should be called<br />
6onion-session-provider.html?r=a2:116 Alive<br />
onion-file-list.html:130 MouseEvent<br />
onion-editor.html?r=a2:240 fileEventClick Object<br />
onion-editor.html?r=a2:363 isFileInArray gets called<br />
onion-editor.html?r=a2:367 Array(3)<br />
onion-editor.html?r=a2:384 false<br />
onion-editor.html?r=a2:263 Is file opened?,: false<br />
onion-editor.html?r=a2:275 files is not in Array, It needs to be added<br />
onion-editor.html?r=a2:291 addfileToArray gets called, fileObj is: Object<br />
onion-file-provider.html?r=a2:26 /MMG2/GW/msgToServer.json5<br />
onion-file-provider.html?r=a2:271 Object<br />
onion-file-provider.html?r=a2:374 Should return fileContent<br />
onion-editor.html?r=a2:293 []<br />
onion-editor.html?r=a2:445 msgToServer.json5<br />
onion-editor.html?r=a2:447 json5<br />
onion-editor.html?r=a2:299 Inside callback of isFileNameSame, isSame false<br />
onion-editor.html?r=a2:997 openFilesObserver gets called<br />
onion-editor.html?r=a2:998 4<br />
onion-editor.html?r=a2:1004 ShowFileButtons<br />
onion-editor.html?r=a2:279 3<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 0<br />
onion-editor.html?r=a2:189 currTab 3<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 1<br />
onion-editor.html?r=a2:189 currTab 3<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 2<br />
onion-editor.html?r=a2:189 currTab 3<br />
bootstrap-pill.html:51 opaque false<br />
bootstrap-pill.html:53 nav-link<br />
onion-editor.html?r=a2:958 3<br />
onion-editor.html?r=a2:959 Inside currentTabChange<br />
onion-editor.html?r=a2:960 this.currentTab 3<br />
onion-editor.html?r=a2:961 this.fileIndex 2<br />
onion-editor.html?r=a2:985 Current Tab observer has been called<br />
onion-editor.html?r=a2:986 currentTab 3<br />
onion-editor.html?r=a2:987 fileIndex 2<br />
onion-editor.html?r=a2:943 INSIDE THE saveUpdate Function<br />
onion-editor.html?r=a2:946 The codes are the same and do not need to be saved<br />
onion-editor.html?r=a2:420 The File Index is 3<br />
onion-editor.html?r=a2:421 &lt;onion-editor open-files=​"[]​" id=​"onion-editor" class=​"style-scope onion-console iron-selected"&gt;​…​&lt;/onion-editor&gt;​<br />
onion-editor.html?r=a2:281 3<br />
onion-editor.html?r=a2:282 3<br />
bootstrap-pill.html:51 opaque false<br />
bootstrap-pill.html:53 nav-link<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 3<br />
onion-editor.html?r=a2:189 currTab 3<br />
bootstrap-pill.html:51 opaque false<br />
bootstrap-pill.html:53 nav-link active<br />
onion-editor.html?r=a2:428 Index 3<br />
onion-editor.html?r=a2:429 Element Object<br />
onion-editor.html?r=a2:555 ƒ (response){<br />
if(response.status == 'failure'){<br />
//DoNothing, if save fails<br />
return;<br />
}else if(response.status == 'success' || response =="SaveNotNecessary" || response =="ChoseNotTo…<br />
onion-editor.html?r=a2:943 INSIDE THE saveUpdate Function<br />
onion-editor.html?r=a2:946 The codes are the same and do not need to be saved<br />
onion-editor.html?r=a2:510 Length of openFilesArray before splice 4<br />
onion-editor.html?r=a2:997 openFilesObserver gets called<br />
onion-editor.html?r=a2:998 3<br />
onion-editor.html?r=a2:1004 ShowFileButtons<br />
onion-editor.html?r=a2:512 Length of openFilesArray after splice 3<br />
onion-editor.html?r=a2:534  openFiles length is &gt; 0<br />
onion-editor.html?r=a2:541 currentTab does not equal new currentTab<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 0<br />
onion-editor.html?r=a2:189 currTab 2<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 1<br />
onion-editor.html?r=a2:189 currTab 2<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
onion-editor.html?r=a2:188 index 2<br />
onion-editor.html?r=a2:189 currTab 2<br />
onion-editor.html?r=a2:187 showClose Gets Called<br />
&lt;/code&gt;</p>
<p dir="auto">Etc. I'm sure you get the idea.</p>
<p dir="auto">I'd suggest removing all of these for the next upgrade.</p>
<p dir="auto">Thanks.</p>
]]></description><link>http://community.onion.io/post/15877</link><guid isPermaLink="true">http://community.onion.io/post/15877</guid><dc:creator><![CDATA[Silvia]]></dc:creator><pubDate>Fri, 02 Feb 2018 14:25:03 GMT</pubDate></item><item><title><![CDATA[Reply to Editor in the Onion Console -- left full of debugging code! on Sat, 03 Feb 2018 14:53:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5166">@Silvia</a> thanks for the suggestion.</p>
]]></description><link>http://community.onion.io/post/15882</link><guid isPermaLink="true">http://community.onion.io/post/15882</guid><dc:creator><![CDATA[Zheng Han]]></dc:creator><pubDate>Sat, 03 Feb 2018 14:53:24 GMT</pubDate></item><item><title><![CDATA[Reply to Editor in the Onion Console -- left full of debugging code! on Sun, 04 Feb 2018 12:44:01 GMT]]></title><description><![CDATA[<p dir="auto">There will be an upgraded Omega2(+) firmware release and/or a bug free official web-based Onion Console someday ...<br />
<a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5166">@Silvia</a>  you are too optimistic <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--wink" title=";-)" alt="😉" /></p>
]]></description><link>http://community.onion.io/post/15889</link><guid isPermaLink="true">http://community.onion.io/post/15889</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Sun, 04 Feb 2018 12:44:01 GMT</pubDate></item><item><title><![CDATA[Reply to Editor in the Onion Console -- left full of debugging code! on Mon, 05 Feb 2018 12:40:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/2619">@György-Farkas</a> said in <a href="/post/15889">Editor in the Onion Console -- left full of debugging code!</a>:</p>
<blockquote>
<p dir="auto">There will be an upgraded Omega2(+) firmware release and/or a bug free official web-based Onion Console someday ...<br />
<a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5166">@Silvia</a>  you are too optimistic <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--wink" title=";-)" alt="😉" /></p>
</blockquote>
<p dir="auto">Oh well, I had to at least try! <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--stuck_out_tongue" title=":P" alt="😛" /></p>
]]></description><link>http://community.onion.io/post/15892</link><guid isPermaLink="true">http://community.onion.io/post/15892</guid><dc:creator><![CDATA[Silvia]]></dc:creator><pubDate>Mon, 05 Feb 2018 12:40:10 GMT</pubDate></item></channel></rss>