/* https://github.com/ReallyGood/safeQuery */ (function(d,a,b){if(a.jQuery&&b){b.w=b.warn||b.log;var f=d.find,e=d.fn.attr;d.find=function(){var c=f.apply(this,arguments);c.length||b.w('jQuery Selector "'+c.selector+'" returned no matches');return c};d.fn.attr=function(c){if(1===arguments.length){var a=e.call(this,c);void 0===a&&b.w('jQuery Attribute Getter for "'+c+'" returned undefined for selector "'+d(this).selector+'"');return a}e.apply(this,arguments);return this};a.jQuery=a.$}})(jQuery,window,console);