tsechingho / ckeditor-rails

Integrate CKEditor javascript library with Rails asset pipeline
https://github.com/tsechingho/ckeditor-rails
MIT License
213 stars 134 forks source link

Error on basepath.js.coffee #22

Open saravananNV opened 11 years ago

saravananNV commented 11 years ago

SyntaxError: reserved word "var"

on basepath.js.coffee while running the application with ck editor..i followed all the steps https://github.com/tsechingho/ckeditor-rails

tsechingho commented 11 years ago

If you meat var CKEDITOR_BASEPATH = '<%= base_path %>';, I think it should be a typo while i write readme.

The correct one should be CKEDITOR_BASEPATH = '<%= base_path %>.

saravananNV commented 11 years ago

K..thank u tsechingho for the comments.

tsechingho commented 11 years ago

my previous comment is wrong that what kind of engine it is uesed, .js.erb or .coffee.erb.

It should be basepath.js.erb in readme. it'a a typo, and i fixed it.