Open saravananNV opened 11 years ago
can u plz explain why these two lines are used in your basepath.js.coffee.
base_path << Rails.application.config.assets.prefix base_path << '/ckeditor/'
Advance thanks....
please see #15 for the reason.
also see Work-with-asset-host
It should be basepath.js.erb
in readme. it'a a typo, and i fixed it.
hi tsechingho, i have cleared that "var" error with your help..after that.I have another error on the same basepath.js.coffee
SyntaxError: unexpected COMPARE.here is my file (basepath.js.coffee
<% base_path = ' ' if ENV['PROJECT'] =~ /editor/i base_path << "/#{Rails.root.basename.to_s}/" end base_path << Rails.application.config.assets.prefix base_path << '/ckeditor/' %> CKEDITOR_BASEPATH = '<%= base_path %>'