mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Moved old jquery recognition to seperate file
This commit is contained in:
parent
60de52477c
commit
5e041aaedb
3 changed files with 51 additions and 15 deletions
|
@ -2,4 +2,9 @@
|
|||
// Proviedes a require'able version of jQuery without leaking $ and jQuery;
|
||||
|
||||
require('./jquery');
|
||||
exports.jQuery = exports.$ = $.noConflict(true);
|
||||
var jq = window.$.noConflict(true);
|
||||
|
||||
//added the old browser recognition
|
||||
jq.browser = require('./jquery_browser').browser;
|
||||
|
||||
exports.jQuery = exports.$ = jq;
|
Loading…
Add table
Add a link
Reference in a new issue