CLNDR icon indicating copy to clipboard operation
CLNDR copied to clipboard

When using with Browserify, it requires modular assets (jQuery and Moment)

Open jsumnersmith opened this issue 11 years ago • 5 comments

When trying to run the latest version of CLNDR (1.2.10) using Browserify, I was unable to mix a modularized CLNDR plugin with global jQuery and moment (which are brought in from other parts of my application).

jsumnersmith avatar Jun 22 '15 18:06 jsumnersmith

@jsumnersmith Sorry, I'm unfamiliar with browserify in this regard. Do you happen to have any more info about what isn't working? You're saying CLNDR is requiring jquery/underscore dependencies that you already have global? If that's correct, then why isn't CLDNR using the global $ and _ ?

mikegioia avatar Jul 09 '15 03:07 mikegioia

@jsumnersmith is saying the opposite— that if he uses browserify, clndr will try to require moment and jquery (because of its requirejs-compatible configuration) and there is no way to prevent that from happening. @jsumnersmith we'll have to check out the browserify docs on this one.

kylestetz avatar Jul 09 '15 10:07 kylestetz

@jsumnersmith In the interest of cleaning out stale issues, is this still a problem for you? Nothing's been updated on it since last July.

If it is still a problem, I think the next step would be submitting something I can run to reproduce the problem. Otherwise I'll close it out.

mikegioia avatar Apr 05 '16 15:04 mikegioia

Hey @mikegioia I haven't had the issue since then (but I'm not sure if I've tried to reproduce). Feel free to close it up.

jsumnersmith avatar Apr 05 '16 15:04 jsumnersmith

Thanks, anything that comes in related I'll know to open this one back up.

mikegioia avatar Apr 05 '16 15:04 mikegioia