title: Material-UI: Uncaught TypeError: getMuiTheme is not a function
body: <p>I have recently updated my material-ui to version 0.15.4 and trying to make it work. The error i am getting is that getMuiTheme is not a function, even though the folder location contains the relvant js file, also i checked and updated my react to 15.3.1,so hopefully it's not a dependency issue. But i can't seem to figure out what could be the issue. </p>
  
  <p>Here is the code sample:</p>
  
  <pre><code>var React = require('react'),
    mui = require('material-ui'),
    getMuiTheme = require('material-ui/styles/getMuiTheme'),
    LoginDialog = require('./login-dialog.jsx'),
    RaisedButton = mui.RaisedButton,
    MuiThemeProvider = require('material-ui/styles/MuiThemeProvider'),
    darkBaseTheme = require('material-ui/styles/baseThemes/darkBaseTheme');
  
  
  
  var Index = React.createClass({
  
    getChildContext: function() {
      return {
        muiTheme: getMuiTheme(darkBaseTheme),
      };
    },
  
    childContextTypes: {
      muiTheme: React.PropTypes.object
    },
    render: function() {
      return (
        &lt;div className="mui-app-canvas home-page-background"&gt;
          &lt;RaisedButton
            className="login-button"
            label="Login"
            onTouchTap={ this._handleLoginDialog }
            linkButton={ false } /&gt;
          &lt;LoginDialog
            ref="loginDialog"
            loginUrl={ this.props.loginUrl } /&gt;
        &lt;/div&gt;
      )
    },
  
    _handleLoginDialog: function() {
      this.refs.loginDialog.show();
    }
  });
  
  module.exports = Index;
  </code></pre>