tsechingho/ckeditor-rails

Error on basepath.js.coffee

saravananNV opened this issue · 3 comments

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

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 %>.

K..thank u tsechingho for the comments.

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.