app/assets/javascripts/spree/frontend/printThis.js
Function printThis
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.printThis = function (options) {
opt = $.extend({}, $.fn.printThis.defaults, options);
var $element = this instanceof jQuery ? this : $(this);
var strFrameName = "printThis-" + (new Date()).getTime();