poetic / react-material-ui

12 stars 4 forks source link

Example doesn't run on client #1

Closed jimmiebtlr closed 9 years ago

jimmiebtlr commented 9 years ago

Error occurs on this line

var React = (typeof window !== "undefined" ? window['React']['require'] : typeof global !== "undefined" ? global['React']['require'] : null)("react");

and amounts to not finding window['React'].

codeNgamer commented 9 years ago

@jimmiebtlr what version of meteor are you using? That line is intended to be a fix for the meteor update 1.1.0.3

jimmiebtlr commented 9 years ago
cat .meteor/release 
METEOR@1.1.0.3

Looks like I'm on 1.1.0.3

jimmiebtlr commented 9 years ago

I'll look more in depth if the cause isn't obvious to you.

jimmiebtlr commented 9 years ago

commit cd336fc6c936d446d838af9f09f606f5f73c64ee

Runs fine for me on version 1.1.0.3, commit f81566aa18408cc180afbbbaba64952033de41d0 breaks it for me.

rdagger commented 9 years ago

Example fails on Meteor 1.2.0.2 with error: Uncaught TypeError: Cannot read property 'component' of undefined

codeNgamer commented 9 years ago

@rdagger material-ui changed the way themes work now. Please see: http://material-ui.com/#/customization/themes

version 0.4 of this package has since been updated to reflect these changes

codeNgamer commented 9 years ago

@rdagger please see #6 . I'll be closing this issue now in favor of #6, please post related issues there