A String should be case to String #2457

Closed
Nek- opened this Issue Jan 3, 2013 · 1 comment

Projects

None yet

2 participants

@Nek-
Nek- commented Jan 3, 2013

Hello

I got this error message:

Uncaught TypeError: Object #<Object> has no method 'camelCase' mootools-core-1.4.5-full-compat-yc.js:355
Element.implement.getStyle mootools-core-1.4.5-full-compat-yc.js:355
Fx.CSS.Class.prepare mootools-core-1.4.5-full-compat-yc.js:431
i.extend.$owner mootools-core-1.4.5-full-compat-yc.js:141
Fx.Tween.Class.start mootools-core-1.4.5-full-compat-yc.js:445
i.extend.$owner mootools-core-1.4.5-full-compat-yc.js:141
(anonymous function) prehome.js:32
e mootools-core-1.4.5-full-compat-yc.js:368

Sure I don't use the method like she should be (I was trying some exotic things like "rgba(...)" in a Tween).

But in the following code (link) it should probably have a cast to String, isn't it ?

https://github.com/mootools/mootools-core/blob/master/Source/Fx/Fx.CSS.js#L36

@fakedarren
Member

It's only ever supported simple stuff so in this case, no.

@fakedarren fakedarren closed this Feb 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment