Moved old jquery recognition to seperate file

This commit is contained in:
Peter 'Pita' Martischka 2013-02-10 20:34:27 +00:00
parent 60de52477c
commit 5e041aaedb
3 changed files with 51 additions and 15 deletions

View file

@ -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;