mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
swap out jquery browser for bower but expose browser object to all pages also enable minification.. Seems to work well
This commit is contained in:
parent
488d6890f9
commit
9b66c93d6b
13 changed files with 259 additions and 71 deletions
|
@ -1,10 +1,5 @@
|
|||
|
||||
// Proviedes a require'able version of jQuery without leaking $ and jQuery;
|
||||
|
||||
require('./jquery');
|
||||
var jq = window.$.noConflict(true);
|
||||
|
||||
//added the old browser recognition
|
||||
jq.browser = require('./jquery_browser').browser;
|
||||
|
||||
exports.jQuery = exports.$ = jq;
|
||||
exports.jQuery = exports.$ = jq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue