From 579d071a88a20dfbe8d4674a7b221453737d5c43 Mon Sep 17 00:00:00 2001 From: Brian Cavalier Date: Fri, 23 Dec 2011 16:17:12 -0500 Subject: [PATCH] Fix ref to when module in a non-amd browser env. Update to latest when.js 0.10.4 and aop.js 0.5.2 --- support/aop | 2 +- support/when | 2 +- wire/base.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/support/aop b/support/aop index a86c5f6..c57d55d 160000 --- a/support/aop +++ b/support/aop @@ -1 +1 @@ -Subproject commit a86c5f67c44f17adb98dea50f33f074d00624a34 +Subproject commit c57d55ddde73e67d99bfeb96b42fa6549ba54f77 diff --git a/support/when b/support/when index abf0e44..63a6bfc 160000 --- a/support/when +++ b/support/when @@ -1 +1 @@ -Subproject commit abf0e44eeb060c9d4ae9e1988aab03be8ef184b7 +Subproject commit 63a6bfc0fa2a053770874277fd7647d4398c6f58 diff --git a/wire/base.js b/wire/base.js index fa6f6ae..e56c248 100644 --- a/wire/base.js +++ b/wire/base.js @@ -220,5 +220,5 @@ define(['when'], function(when) { // use define for AMD if available ? define // If no define or module, attach to current context. - : function(deps, factory) { this.wire_base = factory(); } + : function(deps, factory) { this.wire_base = factory(this.when); } );