From 10cec9818c984b2ea93082b71d8a2978982e2b20 Mon Sep 17 00:00:00 2001 From: Adrian Lee Date: Wed, 8 Jan 2014 11:24:16 -0800 Subject: [PATCH] fix(jqLite): Make sure jqLite is extended correctly --- src/main.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.coffee b/src/main.coffee index 5c6cc92..7a21387 100644 --- a/src/main.coffee +++ b/src/main.coffee @@ -149,7 +149,9 @@ jqLiteExtend = element["scrollTop"] = value extendjQuery = -> - return if window.jQuery? + # NOTE: Make sure Angular element is using jQuery + # MacGyver breaks when Angular to initialized before jQuery + return if window.jQuery? and angular.element::offset? jqLite = angular.element