Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix more callers of config

  • Loading branch information...
commit 5ac2f51e0df8cb246436efd55b145b995fd6a9b7 1 parent 0877eca
@humphd humphd authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/modules.js
  2. +1 −1  src/ui/header.js
View
2  src/modules.js
@@ -22,7 +22,7 @@ define(
for( var i=0; i<moduleList.length; ++i ){
var name = moduleList[ i ].__moduleName;
- butter[ name ] = new moduleList[ i ]( butter, config[ name ] );
+ butter[ name ] = new moduleList[ i ]( butter, config.value( name ) );
modules.push( butter[ name ] );
} //for
View
2  src/ui/header.js
@@ -16,7 +16,7 @@ define( [ "dialog/iframe-dialog" ], function( IFrameDialog ){
_exportButton,
_logoutButton;
- var title = options.title || "Butter";
+ var title = options.value( "title" ) || "Butter";
_rootElement.innerHTML = '' +
'<div class="logo-drop"></div><h1>' + title + '</h1>' +
Please sign in to comment.
Something went wrong with that request. Please try again.