mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Removing jquery require (what's the longterm solution?)
This commit is contained in:
parent
a9d5a81225
commit
3e2cb790cd
@ -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) {}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user