aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/static/materialize/js/initial.js
blob: db436f4d4f8fcc82cae07d5309339ce7d9694382 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// Check for jQuery.
if (typeof(jQuery) === 'undefined') {
  // Check if require is a defined function.
  if (typeof(require) === 'function') {
    jQuery = $ = require('jquery');
  // Else use the dollar sign alias.
  } else {
    jQuery = $;
  }
}