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

data-main entry point no longer available

Open rafalbromirski opened this issue 11 years ago • 1 comments

Hey,

Lately, I've noticed that you removed data-main entry point from the gem. Since that, you cannot use skipDataMain anymore (http://requirejs.org/docs/api.html#config-skipDataMain) because this attribute doesn't exist and you will always have require() call at the end. Without this possibility, your gem has a small "defect".

Thanks,


related pull-request: https://github.com/jwhitley/requirejs-rails/issues/182

rafalbromirski avatar Oct 02 '14 07:10 rafalbromirski

@paranoida Are you saying that skipDataMain should be parsed from requirejs.yml and requirejs_include_tag should behave accordingly?

carsomyr avatar Oct 02 '14 21:10 carsomyr