<?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 Media Query Blog post by Chris Mahlke from 2012, updated to AMD? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/media-query-blog-post-by-chris-mahlke-from-2012/m-p/350925#M32507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There was a blog post written by Chris Mahlke a while back that described how to apply media queries in your code to be more responsive to various screen resolutions and sizes.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2012/08/24/applying-media-queries-to-your-arcgis-api-for-javascript-applications/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://blogs.esri.com/esri/arcgis/2012/08/24/applying-media-queries-to-your-arcgis-api-for-javascript-applications/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There was also a place to download the entire sample.&amp;nbsp; It works as-is, but I was hoping to rewrite it in AMD-style.&amp;nbsp; I've started over twice and I'm not having any luck.&amp;nbsp; I'm lost in a few different places:&amp;nbsp; I'm not sure about the mobile style sheets, they are several versions back and the overall paths I know have changed.&amp;nbsp; I'm also not sure about the AMD equivalent of &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
dojo.requireIf("!dojo.isWebKit, "dojox.mobile.compat");
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I should just require it, rather than having any sort of 'if'?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody remember this posting?&amp;nbsp; And maybe updated it with AMD-style instead?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 16:30:07 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2021-12-11T16:30:07Z</dc:date>
    <item>
      <title>Media Query Blog post by Chris Mahlke from 2012, updated to AMD?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/media-query-blog-post-by-chris-mahlke-from-2012/m-p/350925#M32507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There was a blog post written by Chris Mahlke a while back that described how to apply media queries in your code to be more responsive to various screen resolutions and sizes.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2012/08/24/applying-media-queries-to-your-arcgis-api-for-javascript-applications/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://blogs.esri.com/esri/arcgis/2012/08/24/applying-media-queries-to-your-arcgis-api-for-javascript-applications/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There was also a place to download the entire sample.&amp;nbsp; It works as-is, but I was hoping to rewrite it in AMD-style.&amp;nbsp; I've started over twice and I'm not having any luck.&amp;nbsp; I'm lost in a few different places:&amp;nbsp; I'm not sure about the mobile style sheets, they are several versions back and the overall paths I know have changed.&amp;nbsp; I'm also not sure about the AMD equivalent of &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
dojo.requireIf("!dojo.isWebKit, "dojox.mobile.compat");
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I should just require it, rather than having any sort of 'if'?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody remember this posting?&amp;nbsp; And maybe updated it with AMD-style instead?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:30:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/media-query-blog-post-by-chris-mahlke-from-2012/m-p/350925#M32507</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2021-12-11T16:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Media Query Blog post by Chris Mahlke from 2012, updated to AMD?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/media-query-blog-post-by-chris-mahlke-from-2012/m-p/350926#M32508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this replaced by &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/reference-guide/1.9/dojo/has.html"&gt;dojo/has&lt;/A&gt;&lt;SPAN&gt;? And this &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/reference-guide/1.7/quickstart/browser-sniffing.html"&gt;page&lt;/A&gt;&lt;SPAN&gt; might help a little too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:01:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/media-query-blog-post-by-chris-mahlke-from-2012/m-p/350926#M32508</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-02-06T15:01:17Z</dc:date>
    </item>
  </channel>
</rss>

