Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fixed test error, more updates to docs

Mike McGannbc922ffaf22e
diff --git a/doc/branding.md b/doc/branding.md
index d1b67644b..e6a286ec1 100644
--- a/doc/branding.md
+++ b/doc/branding.md
@@ -41,16 +41,10 @@ To add a logo, replace the following file with an image that is 247 pixels by
To create an "About" page, edit the following file:
- etc/brand.custom/src/pages/brand/about.html
+ optoins/brands/pages/about.html
## Rebuilding
-Inform the build process to use the "custom" brand directory by issuing
-the following commands at the root of the repository:
-
- mkdir -p brand
- echo '{"brand": "custom"}' > brand/brand.json
-
-Build again and the customizations should now be incldued:
+Build again and the customizations should now be included:
grunt
diff --git a/doc/features.md b/doc/features.md
index 12c681fdb..88cc78a96 100644
--- a/doc/features.md
+++ b/doc/features.md
@@ -8,8 +8,7 @@ to enable the feature if desired.
The data download feature requires a CGI script to execute queries to ECHO
on behalf of Worldview. For this reason, it is not enabled by default.
If you understand the implications of this feature and wish to enable it,
-edit the ``conf/web/brand/features.json`` file in the active brand
-directory and change to:
+edit the ``options/features.json`` file and change to:
"dataDownload": true
@@ -28,8 +27,7 @@ serivce. Once you have obtained a key, copy ``conf/bitly_config.sample.py`` to
This feature also requires a CGI script to execute queries to bit.ly
on behalf of Worldview. For this reason, it is not enabled by default.
If you understand the implications of this feature and wish to enable it,
-edit the ``conf/web/brand/features.json`` file in the active brand
-directory and change to:
+edit the ``options/features.json`` file and change to:
"urlShortening": true
@@ -37,5 +35,3 @@ Rebuild Worldview and the CGI script should be included in the
``service`` directory. If your system administrator has disabled
``.htaccess`` files, configure apache to allow the execution of this
CGI script.
-
-
diff --git a/test/layers/wv.layers.model-test.js b/test/layers/wv.layers.model-test.js
index c36cc3185..ea624230f 100644
--- a/test/layers/wv.layers.model-test.js
+++ b/test/layers/wv.layers.model-test.js
@@ -86,8 +86,8 @@ buster.testCase("wv.layers.model", {
};
var errors = [];
this.model.load(state, errors);
- buster.assert.equals(this.model.active[0].id, "base1");
- buster.assert.equals(this.model.active[1].id, "over1" );
+ buster.assert.equals(this.model.active[0].id, "over1");
+ buster.assert.equals(this.model.active[1].id, "base1" );
buster.assert.equals(errors.length, 0);
},