aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisko Hevery2012-04-28 22:19:23 -0700
committerMisko Hevery2012-05-04 15:50:37 -0700
commitfbb499e0a82ba9b816916f275d786775aa6cf467 (patch)
treef9d6604f92743a65e34f4c91c2f9aef2538385a3
parente40f8d829f10de3d73aa1026591fe014fe54eca9 (diff)
downloadangular.js-fbb499e0a82ba9b816916f275d786775aa6cf467.tar.bz2
chore(module): improved module prefix/suffix code
-rw-r--r--src/module.prefix2
-rw-r--r--src/module.suffix2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/module.prefix b/src/module.prefix
index 5e94be5d..791edb90 100644
--- a/src/module.prefix
+++ b/src/module.prefix
@@ -3,4 +3,4 @@
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
-(function(angular) {
+(function(window, angular, undefined) {
diff --git a/src/module.suffix b/src/module.suffix
index 4c04d073..25cb45a1 100644
--- a/src/module.suffix
+++ b/src/module.suffix
@@ -1,2 +1,2 @@
-})(window.angular);
+})(window, window.angular);