refactor(parser): turn parser into a service (keep compatibility hack)

This commit is contained in:
Misko Hevery
2011-11-03 13:53:37 -07:00
parent c6d2549a52
commit 7c11531902
9 changed files with 52 additions and 45 deletions

View File

@@ -49,8 +49,6 @@ function dumpScope(scope, offset) {
publishExternalAPI(angular)
beforeEach(function() {
publishExternalAPI(angular)
// This is to reset parsers global cache of expressions.
compileCache = {};
// workaround for IE bug https://plus.google.com/104744871076396904202/posts/Kqjuj6RSbbT
// IE overwrite window.jQuery with undefined because of empty jQuery var statement, so we have to