Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

mocks - add annotations to enable minification #2250

Closed
cgross opened this issue Mar 28, 2013 · 1 comment
Closed

mocks - add annotations to enable minification #2250

cgross opened this issue Mar 28, 2013 · 1 comment

Comments

@cgross
Copy link

cgross commented Mar 28, 2013

The angular-mocks module wasn't expected to be shipped and therefore never minified but we've found some cases where we'd like to ship it. Specifically, we use the e2e stuff to provide a local storage layer to our app in cases where we want to ship the ui w/o the true backend. (We intercept the calls and redirect to some local storage code). This is quite useful for sales demos, etc.

We can't minify angular-mocks.js right now because it doesn't have the correct annotations for injection. If those are added back in it prevents the mocks module from having to be treated as a special case.

@btford btford closed this as completed Aug 24, 2013
@btford
Copy link
Contributor

btford commented Aug 24, 2013

As part of our effort to clean out old issues, this issue is being automatically closed since it has been inactivite for over two months.

Please try the newest versions of Angular (1.0.8 and 1.2.0-rc.1), and if the issue persists, comment below so we can discuss it.

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants