rails-assets icon indicating copy to clipboard operation
rails-assets copied to clipboard

Exploratory: redundant ".js" in names.

Open joshjordan opened this issue 8 years ago • 7 comments

From @jnylen: fix the "honey.js.js" thing when the name itself have a ".js"

joshjordan avatar May 22 '16 19:05 joshjordan

This also affects cleave.js

joramwangi avatar Nov 27 '16 07:11 joramwangi

@joramwangi Do you mean that in the application.js file, you need to include cleave.js.js? Can you please explain the problem you're encountering?

hut8 avatar Nov 27 '16 08:11 hut8

Yes, you have to include it as "cleave.js.js" Looking in the gem, that's the way the file is named: with an extra ".js"

joramwangi avatar Nov 27 '16 16:11 joramwangi

I am facing the same issue with cleave.js. In my application.js I had to use cleave.js.js

This should be either added to install instructions or fix internally.

hovancik avatar Jun 28 '17 10:06 hovancik

This is on purpose to not clash names with "cleave" package

sheerun avatar Jun 28 '17 13:06 sheerun

Yes, but install instructions are still wrong.

screen shot 2017-06-28 at 15 17 13

hovancik avatar Jun 28 '17 13:06 hovancik

Same for print.js

fidalgo avatar Jan 09 '18 12:01 fidalgo