Update constructs to not have parenthesis.

This commit is contained in:
o-psi
2023-10-20 15:25:52 -05:00
parent 56b91f3278
commit 53c11edc8c
209 changed files with 1591 additions and 800 deletions

View File

@@ -19,10 +19,12 @@
//isomorphic issue
var jQuery = (typeof window != 'undefined') ? window.jQuery : undefined;
if (!jQuery) {
jQuery = require('jquery');
jQuery = require 'jquery';
if (!jQuery.fn) jQuery.fn = {};
}
var moment = (typeof window != 'undefined' && typeof window.moment != 'undefined') ? window.moment : require('moment');
var moment = (typeof window != 'undefined' && typeof window.moment != 'undefined') ? window.moment : require 'moment';
module.exports = factory(moment, jQuery);
} else {
// Browser globals

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long