From 3e2cb790cdcd78a71d03e693d5cf62f3e6e9d98c Mon Sep 17 00:00:00 2001 From: Phil Gates-Idem Date: Wed, 19 Mar 2014 12:33:14 -0400 Subject: [PATCH] Removing jquery require (what's the longterm solution?) --- lib/raptor-widgets.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/raptor-widgets.js b/lib/raptor-widgets.js index 128251445..e283b806b 100644 --- a/lib/raptor-widgets.js +++ b/lib/raptor-widgets.js @@ -15,7 +15,7 @@ */ /** * Module to manage the lifecycle of widgets -* +* */ 'use strict'; var WidgetsContext = require('./WidgetsContext'); @@ -35,6 +35,7 @@ if (typeof window === 'undefined') { extend(exports, require('./raptor-widgets_browser')); extend(WidgetsContext.prototype, require('./WidgetsContext_browser')); + /* var jquery = window.$; if (!jquery) { try { @@ -48,5 +49,5 @@ if (typeof window === 'undefined') { require('./Widget').prototype.$ = require('./Widget_' + 'jquery')(jquery); } catch(e) {} } + */ } -