ui-codemirror icon indicating copy to clipboard operation
ui-codemirror copied to clipboard

Fix strict mode

Open dsferruzza opened this issue 10 years ago • 3 comments

Hi!

Because "user strict"; is outside of the closure, it seems to apply to everything. I have other dependencies in my project that breaks when minified together with ui-codemirror because of that.

I hope you will merge it and bump a new version soon. Have a nice day!

dsferruzza avatar Apr 22 '14 13:04 dsferruzza

:+1: This PR is correct, "use strict" should be inside your module.

I bet this will also fix issue #39

whitehat101 avatar Jun 23 '14 02:06 whitehat101

Can we merge this one?

geyang avatar Apr 02 '15 19:04 geyang

+1

magmel48 avatar Mar 23 '16 11:03 magmel48