Skip to content

Commit

Permalink
Change metacatui version to 1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenwalker committed Sep 13, 2016
1 parent 523e906 commit 9827ac0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion metacatui/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


<!-- Pull in correct theme configuration, then use Require.js to manage dependencies -->
<script id="loader" type="text/javascript" src="loader.js?v=1.12.0"
<script id="loader" type="text/javascript" src="loader.js?v=1.12.1"
data-theme="default"
data-metacat-context="metacat"
data-map-key="YOUR-GOOGLE-MAPS-API-KEY"
Expand Down
9 changes: 1 addition & 8 deletions metacatui/src/main/webapp/loader.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
/**
* MetacatUI v1.11.0
* https://github.com/NCEAS/metacatui
* MetacatUI is a client-side web interface for querying Metacat servers and other servers that implement the DataONE REST API.
**/

// Step 1: Find the data-theme specified in the script include
var theme = document.getElementById("loader").getAttribute("data-theme");
var metacatContext = document.getElementById("loader").getAttribute("data-metacat-context");
var mapKey = document.getElementById("loader").getAttribute("data-map-key");
if ((mapKey == "YOUR-GOOGLE-MAPS-API-KEY") || (!mapKey)) mapKey = null;
var useD3 = true;

//This version of Metacat UI - used for cache busting
window.metacatUIVersion = "1.12.0";
window.metacatUIVersion = "1.12.1";

// Step 2: let everything else be taken care of by the app
preventCompatibilityIssues();
Expand Down

0 comments on commit 9827ac0

Please sign in to comment.