0

I have no clue on what's happening here. I'm using the gem 'ckeditor' in my gemfile and just followed the guide to have //= require in application.js

Everything works smoothly in development, but after precompiling assets I have this javascript error in production:

Uncaught TypeError: Object #<Object> has no method 'apply'

I would like to solve the issue but maybe someone faced it before me and can help to solve it because I have no clue on what's happening there and a javascript error seems strange because the code is the same as in development.

Does anyone managed to use CKEditor with gem 'ckeditor'? If yes, which version and did you face the same issue as mine? How did you solve it?


Is there a multi-devices mobile prototyping software?

Almost everything is in the title.

Is there a multi devices mobile prototyping, layout, templating software for Windows ?

I found many softwares for prototyping, designing UI, but i didn't find any which can handle all kind of mobile devices and export the template to each appropriate SDK.

Any idea ? Or this is too much for 1 software :)

4

1 回答 1

0

我找到了导致问题的原因,我的 gemfile 中有一个旧的 uglifier 版本。

gem 'uglifier', '~> 1.0.3'

将其更新为:

gem 'uglifier', '>= 1.0.3'

将其更新为2.1.1,解决了这个问题。

于 2013-05-20T21:42:05.600 回答