Cannot use "jquery" in directory name/url?
I am starting with a simple empty template (see below).
Took me 2 hours discover a strange issue through various trial-and-error tests. Note the script tag src attribute is using "/libs/
jquer/...". This is a deliberate misspelling missing the "y".
The moment I switch the directory name (and thus URL path) to "/libs/
jquery/..." and update the src attribute accordingly, the whole jQuery Mobile page formatting will fail.
Is there a strange path or filename parsing issue? Did I break certain assumption or path/filename convention required in jQuery Mobile?
- <!DOCTYPE html>
- <html>
- <head>
- <title>Application Name - jQM Template</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <link rel="stylesheet" href="/libs/jquer/mobile/themes/default/jquery.mobile.min.css" />
- <script lang="text/javascript" src="/libs/jquer/jquery.min.js"></script>
- <script lang="text/javascript" src="/libs/jquer/jquery.mobile-1.4.5.min.js"></script>
- </head>
- <body>
- <div data-role="page">
- <div data-role="header">
- <h1>Page 1</h1>
- </div>
- <div role="main" class="ui-content">...</div>
- <div data-role="footer">
- <h4>Page Footer 1</h4>
- </div>
- </div>
- </body>
- </html>