<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic accessing window.jQuery / window.$ in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/accessing-window-jQuery-window/m-p/339950#M10053</link>
    <description>&lt;P&gt;Why does PowerBI inserts this code segment to all Custom Visuals?&lt;/P&gt;&lt;PRE&gt;//de-reference powerbi loaded modules
var $, jQuery, _;
window.jQuery = window.$ = undefined;
window._ = undefined;&lt;/PRE&gt;&lt;P&gt;And why are these variables still functional using the F12 tools in the browser?&lt;/P&gt;&lt;PRE&gt;&amp;gt; $("body")[0]
&amp;lt;body class=​"visual-sandbox"&amp;gt;​…​&amp;lt;/body&amp;gt;​&lt;/PRE&gt;&lt;P&gt;Wouldn't it be much more convenient to be able to use these already loaded libraries in the custom visuals instead of reload them a second time?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2018 11:24:09 GMT</pubDate>
    <dc:creator>blumi78</dc:creator>
    <dc:date>2018-01-17T11:24:09Z</dc:date>
    <item>
      <title>accessing window.jQuery / window.$</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/accessing-window-jQuery-window/m-p/339950#M10053</link>
      <description>&lt;P&gt;Why does PowerBI inserts this code segment to all Custom Visuals?&lt;/P&gt;&lt;PRE&gt;//de-reference powerbi loaded modules
var $, jQuery, _;
window.jQuery = window.$ = undefined;
window._ = undefined;&lt;/PRE&gt;&lt;P&gt;And why are these variables still functional using the F12 tools in the browser?&lt;/P&gt;&lt;PRE&gt;&amp;gt; $("body")[0]
&amp;lt;body class=​"visual-sandbox"&amp;gt;​…​&amp;lt;/body&amp;gt;​&lt;/PRE&gt;&lt;P&gt;Wouldn't it be much more convenient to be able to use these already loaded libraries in the custom visuals instead of reload them a second time?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 11:24:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/accessing-window-jQuery-window/m-p/339950#M10053</guid>
      <dc:creator>blumi78</dc:creator>
      <dc:date>2018-01-17T11:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: accessing window.jQuery / window.$</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/accessing-window-jQuery-window/m-p/340586#M10074</link>
      <description>&lt;P&gt;Power BI inserts this code to protect integrated jQuery from being replacented by custom visual's version.&lt;/P&gt;&lt;P&gt;This code&amp;nbsp;isolates PBI libraries from custom visual ones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 08:55:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/accessing-window-jQuery-window/m-p/340586#M10074</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-01-18T08:55:07Z</dc:date>
    </item>
  </channel>
</rss>

