Error on basepath.js.coffee
saravananNV opened this issue · 3 comments
saravananNV commented
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
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
K..thank u tsechingho for the comments.
tsechingho commented
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.