From acf8ba29514edf4589150c4b9366a2d104235951 Mon Sep 17 00:00:00 2001 From: woshiwenzhijie Date: Tue, 15 Dec 2015 19:36:50 +0800 Subject: [PATCH] Update theme-manager.js rename modifyRawThemeZIndices to modifyRawThemeZIndex --- src/styles/theme-manager.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/styles/theme-manager.js b/src/styles/theme-manager.js index b962e09077943b..79d69f33738b60 100644 --- a/src/styles/theme-manager.js +++ b/src/styles/theme-manager.js @@ -252,12 +252,12 @@ export default { let newRawTheme = update(muiTheme.rawTheme, {fontFamily: {$set: newFontFamily}}); return this.getMuiTheme(newRawTheme); }, - + //function to modify the zIndex of the raw theme. This function recomputes //the MUI theme and returns it based on the new raw theme. - modifyRawThemeZIndices: function(muiTheme, newZIndicesKeys) { - let newZIndices = Extend(muiTheme.rawTheme.zIndex, newZIndicesKeys); - let newRawTheme = update(muiTheme.rawTheme, {zIndex: {$set: newZIndices}}); + modifyRawThemeZIndex: function(muiTheme, newZIndexKeys) { + let newZIndex = Extend(muiTheme.rawTheme.zIndex, newZIndexKeys); + let newRawTheme = update(muiTheme.rawTheme, {zIndex: {$set: newZIndex}}); return this.getMuiTheme(newRawTheme); },