<?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 Yes, when I click the space, in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004987#M31818</link>
    <description>&lt;P&gt;Yes, when I click the space, the JSHint window shows up. Missing icons it is then. I have no idea where they are... or &lt;EM&gt;what&lt;/EM&gt; stole them.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2015 02:14:23 GMT</pubDate>
    <dc:creator>John_G_10</dc:creator>
    <dc:date>2015-07-15T02:14:23Z</dc:date>
    <item>
      <title>Two Questions on JSHint</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004979#M31810</link>
      <description>&lt;P&gt;Two questions&lt;/P&gt;

&lt;P&gt;1.&lt;BR /&gt;
	There is a file called resource.js which holds the variables.&lt;BR /&gt;
	var button = "Close.png";&lt;/P&gt;

&lt;P&gt;Then the variale is used in another file app.js&lt;BR /&gt;
	So JSHint shows this as a problem&lt;BR /&gt;
	'button' is not defined&lt;/P&gt;

&lt;P&gt;I was reading &lt;A href="http://stackoverflow.com/questions/20664148/using-xdk-how-do-i-link-to-another-page-hyperlinks-  are-disabled"&gt;this&lt;/A&gt; which said in part...&amp;nbsp;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;The Intel XDK doesn't insert any class definitions or require that you use a specific framework. It is a tool for assembling an HTML5&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;hybrid mobile app using the CSS, HTML and JS files that you supply.&lt;/P&gt;

	&lt;P&gt;If you look at the samples and the default "blank" project that is created when you create a new project you'll see that there may be&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;references to one or more of the following "phantom" JS files:&lt;/P&gt;

	&lt;P&gt;intelxdk.js&lt;BR /&gt;
		cordova.js&lt;BR /&gt;
		xhr.js&lt;/P&gt;

	&lt;P&gt;The first two (intelxdk.js and cordova.js) are special "device API" JavaScript libraries. You won't actually find them in your project&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;directory, they are automatically included when you use the emulator and when you build your project (which "wraps up" your HTML5 code and&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;assets into a native wrapper that is specific to the target you are building -- it does not compile anything, it just converts it into a&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;hybrid native/HTML5 container app that can be installed on the target platform that you built for).&lt;/P&gt;

	&lt;P&gt;The third one is a special helper JS library for dealing with CORS issues from within your app.&lt;/P&gt;

	&lt;P&gt;None of these three JS files define any classes or HTML tags, etc. They simply implement target-specific device APIs that consist of&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;JavaScript on the "top end" and native code on the "bottom end." Your application only sees and interacts with the JavaScript interface,&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;and only with the APIs that you need to use (which is totally optional).&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;...and was wondering if it applies in this case, so that I don't have to worry about this particular error, because the emulator will take&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;care of what appears to be out of order. Would the finished file therefore be intact?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I know that in Visual Studio, when using classes, they are coded to be read in the parent class or other classes. In the XDK, the files&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;seem to be read in the order of which they are placed in the files.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;So I don't have to worry about this particular error then?&lt;/P&gt;

&lt;P&gt;2.&lt;BR /&gt;
	I accidentally closed the JSHint window and can't seem to get it back, even though I restarted XDK. How do I restore it?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 19:57:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004979#M31810</guid>
      <dc:creator>John_G_10</dc:creator>
      <dc:date>2015-07-09T19:57:56Z</dc:date>
    </item>
    <item>
      <title>JavaScript, as a language,</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004980#M31811</link>
      <description>&lt;P&gt;JavaScript, as a language, does not consider files as "modules." There are some JS libraries out there that can help you create a more modular JavaScript environment, but that is a choice you make, not the XDK. The XDK is not an IDE in the same vein as Visual Studio. How you choose to assemble your JavaScript is up to you.&lt;/P&gt;

&lt;P&gt;Unfortunately, JavaScript is a very loose language. It defaults to an "everything is global" kind of name space. You have to work to make things private and modular. You can think of your JS as being in one giant file, but split into multiple files for your editing convenience. There is no link process that brings independently developed modules together, the files just get ganged together, as you described, in the order they are referenced.&lt;/P&gt;

&lt;P&gt;To battle this lack of a way to declare things as "extern" you can use jshint/jslint directives at the beginning of your JS files to keep the hint/lint tool quiet about such variables that you know are "not present" but that "will be there when this mess is all put together." For example, lines like these:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;/*jslint browser:true, devel:true, white:true, vars:true */
/*global $:false, intel:false, Media:false, moment:false */
/*global getWebPath:false, getWebRoot:false */
&lt;/PRE&gt;

&lt;P&gt;For your second question, just click the little orange yield sign or the green check mark at the bottom of the Brackets editor. The editor, the hinter and linters, etc. are all open source tools. The documentation for those tools can be found on the respective open source web site.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 21:29:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004980#M31811</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-07-09T21:29:10Z</dc:date>
    </item>
    <item>
      <title>Thanks for the info.</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004981#M31812</link>
      <description>&lt;P&gt;Thanks for the info.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;just click the little orange yield sign or the green check mark at the bottom of the Brackets editor&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I don't see any of those.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="shot.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7692i85807C0473EF3511/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="shot.jpg" alt="shot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 00:09:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004981#M31812</guid>
      <dc:creator>John_G_10</dc:creator>
      <dc:date>2015-07-10T00:09:50Z</dc:date>
    </item>
    <item>
      <title>You may not have the</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004982#M31813</link>
      <description>&lt;P&gt;You may not have the extensions installed. Go into the Brackets menu: File &amp;gt; Extension Manager... and add all of the hint and lint extensions that you find (they won't compete, they work well together).&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 14:48:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004982#M31813</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-07-10T14:48:05Z</dc:date>
    </item>
    <item>
      <title>I just had to update them,</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004983#M31814</link>
      <description>&lt;P&gt;I just had to update them, but still don't see anything.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jul 2015 20:47:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004983#M31814</guid>
      <dc:creator>John_G_10</dc:creator>
      <dc:date>2015-07-11T20:47:01Z</dc:date>
    </item>
    <item>
      <title>Hmmm... Not clear on what is</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004984#M31815</link>
      <description>&lt;P&gt;Hmmm... Not clear on what is going wrong.&lt;/P&gt;

&lt;P&gt;See the screenshot below. I've highlighted the Brackets extensions you should add and where you should see the hint/lint icon in the bottom of the Brackets screen. Since you're using the game manager, I am showing it with a sample game, as well, I was concerned the game asset manager might be doing something or getting in the way. Perhaps you need to widen the Brackets view? You can do this by pushing the right arrow to the left of "LIVE DEVELOPMENT TASKS" in the upper right of the display.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2015-07-11 at 5.52.05 PM.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7693i8AC2A37C318EFCE8/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screen Shot 2015-07-11 at 5.52.05 PM.png" alt="Screen Shot 2015-07-11 at 5.52.05 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2015 01:06:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004984#M31815</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-07-12T01:06:02Z</dc:date>
    </item>
    <item>
      <title>Well, something is definitely</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004985#M31816</link>
      <description>&lt;P&gt;Well, something is definitely wrong. I tried everything. I even reinstalled JSHint.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="shot.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7694iDA828A3B7F4C4466/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="shot.jpg" alt="shot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 23:12:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004985#M31816</guid>
      <dc:creator>John_G_10</dc:creator>
      <dc:date>2015-07-13T23:12:24Z</dc:date>
    </item>
    <item>
      <title>Something else is also wrong,</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004986#M31817</link>
      <description>&lt;P&gt;Something else is also wrong, you don't have the icons in the tabs on the brackets dialog box ("Available," "Themes" and "Installed" are missing their icons). This makes me think the hint/lint icons are probably not showing up for the same reason (whatever that reason is). If you click on the space where the hint/lint icon belongs, does it bring up the hint/lint summary? Create a line in your code that you know will cause a lint/hint error, like this one, and click the space that should have the lint/hint icon to see if you get a hint problems message:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;var window = ;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 01:33:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004986#M31817</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-07-14T01:33:48Z</dc:date>
    </item>
    <item>
      <title>Yes, when I click the space,</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004987#M31818</link>
      <description>&lt;P&gt;Yes, when I click the space, the JSHint window shows up. Missing icons it is then. I have no idea where they are... or &lt;EM&gt;what&lt;/EM&gt; stole them.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 02:14:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004987#M31818</guid>
      <dc:creator>John_G_10</dc:creator>
      <dc:date>2015-07-15T02:14:23Z</dc:date>
    </item>
    <item>
      <title>What version of Windows are</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004988#M31819</link>
      <description>&lt;P&gt;What version of Windows are you using?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 05:32:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004988#M31819</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-07-15T05:32:32Z</dc:date>
    </item>
    <item>
      <title>I am on a... well, originally</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004989#M31820</link>
      <description>&lt;P&gt;I am on a... well, originally Windows 8 (not professional, so I assume the most basic), which has been upgraded to 8.1. I am on a 64 bit system.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 10:22:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004989#M31820</guid>
      <dc:creator>John_G_10</dc:creator>
      <dc:date>2015-07-15T10:22:05Z</dc:date>
    </item>
    <item>
      <title>I was wondering if you were</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004990#M31821</link>
      <description>&lt;P&gt;I was wondering if you were using Vista or earlier, those exhibit strange problems.&lt;/P&gt;

&lt;P&gt;Did you change the default install location during installation? You XDK should be installed in %LocalAppData%\Intel\XDK&lt;/P&gt;

&lt;P&gt;Is that where your install is located? (You can enter that string in File Explorer and it will take you to the "right" place).&lt;/P&gt;

&lt;P&gt;If you installed it in \Program Files or \Program Files (x86) things will not work correctly...&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 16:09:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004990#M31821</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-07-15T16:09:09Z</dc:date>
    </item>
    <item>
      <title>It's in the default location,</title>
      <link>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004991#M31822</link>
      <description>&lt;P&gt;It's in the default location, as is all my exe installations. That's a rule for me.&lt;/P&gt;

&lt;P&gt;Since it's working although the icons are not visible. I could just work with it that way, since it's probably no biggie, and this is taking up your time, when you have other queries to address. If you find something on it, you could always post. I could also reinstall, since they would be no harm in doing so, and I recently downloaded the update anyway. Thanks for the help though - ...appreciate it.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 22:06:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Two-Questions-on-JSHint/m-p/1004991#M31822</guid>
      <dc:creator>John_G_10</dc:creator>
      <dc:date>2015-07-15T22:06:00Z</dc:date>
    </item>
  </channel>
</rss>

