Skip to content

Commit

Permalink
update to 3.21
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyhutchins committed Jun 27, 2017
1 parent bd9de45 commit df0530e
Show file tree
Hide file tree
Showing 7 changed files with 270 additions and 263 deletions.
2 changes: 1 addition & 1 deletion config/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ define({
"customstyle": null,
"customLayout": "default" // default, fullprofile

});
});
Binary file removed images/config-images/default.png
Binary file not shown.
Binary file removed images/config-images/full.png
Binary file not shown.
31 changes: 14 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
<title></title>
<meta charset="utf-8">
<meta name="fragment" content="!">
<!-- Define the versions of IE that will be used to render the page. See Microsoft documentation for details. Optional. -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<!-- End Responsive -->
<!-- Use protocol relative urls that way if the browser is viewing the page via HTTPS the js/css file will be requested using the HTTPS protocol -->
<link rel="stylesheet" href="//js.arcgis.com/3.20/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="//js.arcgis.com/3.20/esri/css/esri.css">
<link rel="stylesheet" href="https://js.arcgis.com/3.21/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="https://js.arcgis.com/3.21/esri/css/esri.css">
<!-- Load any application specific styles -->
<link rel="stylesheet" href="css/main.css">
</head>
Expand Down Expand Up @@ -98,7 +96,7 @@ <h1 id="elevTitle" class="fg"></h1>
dojoConfig.locale = RegExp.$1;
}
</script>
<script type="text/javascript" src="//js.arcgis.com/3.20/"></script>
<script type="text/javascript" src="https://js.arcgis.com/3.21/"></script>
<script type="text/javascript">
require([
"config/templateConfig",
Expand All @@ -109,19 +107,18 @@ <h1 id="elevTitle" class="fg"></h1>
Template,
Main
) {
// create the template. This will take care of all the logic required for template applications
var myTemplate = new Template(templateConfig);
var myApp = new Main();
// start template
myTemplate.startup().then(function (config) {
myApp.startup(config);
}, function (error) {
// something went wrong. Let's report it.
myApp.reportError(error);
});
// create the template. This will take care of all the logic required for template applications
var myTemplate = new Template(templateConfig);
var myApp = new Main();
// start template
myTemplate.startup().then(function (config) {
myApp.startup(config);
}, function (error) {
// something went wrong. Let's report it.
myApp.reportError(error);
});

});
</script>
</body>

</html>
</html>
Loading

0 comments on commit df0530e

Please sign in to comment.