Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_utilsCapitalizeString2.default is not a function #4361

Closed
luckyraul opened this issue May 27, 2016 · 4 comments
Closed

_utilsCapitalizeString2.default is not a function #4361

luckyraul opened this issue May 27, 2016 · 4 comments
Labels
external dependency Blocked by external dependency, we can’t do anything about it out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future)

Comments

@luckyraul
Copy link

luckyraul commented May 27, 2016

Problem description

in autoprefixer.js:40
// add prefixes if needed
          if (_this2._requiresPrefix[property]) {
            styles[_this2.jsPrefix + (0, _utilsCapitalizeString2['default'])(property)] = value;
            if (!_this2._keepUnprefixed) {
              delete styles[property];
            }
          }

Steps to reproduce

http://www.material-ui.com/#/get-started/usage

every browser

Versions

"material-ui": "^0.15.0",
"react": "^15.1.0",

@muibot muibot added the Triage label May 27, 2016
@nathanmarks nathanmarks added the external dependency Blocked by external dependency, we can’t do anything about it label Jun 1, 2016
@nathanmarks nathanmarks reopened this Jun 1, 2016
@nathanmarks nathanmarks removed the external dependency Blocked by external dependency, we can’t do anything about it label Jun 1, 2016
@nathanmarks
Copy link
Member

edit: Oops. was mistaken.

@nathanmarks
Copy link
Member

How do I reproduce this?

@luckyraul
Copy link
Author

https://github.com/callemall/material-ui/blob/master/src/utils/autoprefixer.js#L29

import React from 'react';
import ReactDOM from 'react-dom';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import MyAwesomeReactComponent from './components/MyAwesomeReactComponent';

const App = () => (
  <MuiThemeProvider muiTheme={getMuiTheme()}>
    <MyAwesomeReactComponent />
  </MuiThemeProvider>
);

ReactDOM.render(
  <App />,
  document.getElementById('react-checkout')
);
import React from 'react';
import RaisedButton from 'material-ui/RaisedButton';

const MyAwesomeReactComponent = () => (
  <RaisedButton label="Default" />
);

export default MyAwesomeReactComponent;

@luckyraul
Copy link
Author

material-ui@0.15.0
react@15.1.0
browserify@13.0.1
babelify@7.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external dependency Blocked by external dependency, we can’t do anything about it out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future)
Projects
None yet
Development

No branches or pull requests

3 participants