Showing 201 of 315 total issues
Function init
has 191 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, init:function (n, p) {
var l, m, h = 0, j = b.body;
if (c() < 10) {
p({success:false});
return
Function init
has 191 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, init:function (m, o) {
var k, l, h = 0, i = b.body;
if (c() < 10) {
o({success:false});
return
Function init
has 188 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, init:function (g, j) {
var e = window.BrowserPlus, h = {}, d = g.settings, c = d.resize;
function f(o) {
var n, m, k = [], l, p;
Function pluploadQueue
has 172 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
c.fn.pluploadQueue = function (e) {
if (e) {
this.each(function () {
var j, i, k;
i = c(this);
Function _initUploader
has 171 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initUploader: function() {
var self = this
, id = this.id
, uploader
, options = {
Function XMLHttpRequest
has 164 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function XMLHttpRequest() {
var _status, _response, _iframe;
function cleanup(cb) {
var target = this, uid, form, inputs, i, hasFile = false;
Function init
has 158 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, init:function (l, n) {
var m, h, g = false;
if (!e.google || !google.gears) {
return n({success:false})
}
Function _create
has 158 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
g.widget("ui.plupload", {contents_bak:"", runtime:null, options:{browse_button_hover:"ui-state-hover", browse_button_active:"ui-state-active", dragdrop:true, multiple_queues:true, buttons:{browse:true, start:true, stop:true}, autostart:false, sortable:false, rename:false, max_file_count:0}, FILE_COUNT_ERROR:-9001, _create:function () {
var i = this, k, j;
k = this.element.attr("id");
if (!k) {
k = c.guid();
Function a
has 151 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function a() {
var q, n, o = {}, t;
q = new b();
n = {tiff:{274:"Orientation", 34665:"ExifIFDPointer", 34853:"GPSInfoIFDPointer"}, exif:{36864:"ExifVersion", 40961:"ColorSpace", 40962:"PixelXDimension", 40963:"PixelYDimension", 36867:"DateTimeOriginal", 33434:"ExposureTime", 33437:"FNumber", 34855:"ISOSpeedRatings", 37377:"ShutterSpeedValue", 37378:"ApertureValue", 37383:"MeteringMode", 37384:"LightSource", 37385:"Flash", 41986:"ExposureMode", 41987:"WhiteBalance", 41990:"SceneCaptureType", 41988:"DigitalZoomRatio", 41992:"Contrast", 41993:"Saturation", 41994:"Sharpness"}, gps:{0:"GPSVersionID", 1:"GPSLatitudeRef", 2:"GPSLatitude", 3:"GPSLongitudeRef", 4:"GPSLongitude"}};
t = {ColorSpace:{1:"sRGB", 0:"Uncalibrated"}, MeteringMode:{0:"Unknown", 1:"Average", 2:"CenterWeightedAverage", 3:"Spot", 4:"MultiSpot", 5:"Pattern", 6:"Partial", 255:"Other"}, LightSource:{1:"Daylight", 2:"Fliorescent", 3:"Tungsten", 4:"Flash", 9:"Fine weather", 10:"Cloudy weather", 11:"Shade", 12:"Daylight fluorescent (D 5700 - 7100K)", 13:"Day white fluorescent (N 4600 -5400K)", 14:"Cool white fluorescent (W 3900 - 4500K)", 15:"White fluorescent (WW 3200 - 3700K)", 17:"Standard light A", 18:"Standard light B", 19:"Standard light C", 20:"D55", 21:"D65", 22:"D75", 23:"D50", 24:"ISO studio tungsten", 255:"Other"}, Flash:{0:"Flash did not fire.", 1:"Flash fired.", 5:"Strobe return light not detected.", 7:"Strobe return light detected.", 9:"Flash fired, compulsory flash mode", 13:"Flash fired, compulsory flash mode, return light not detected", 15:"Flash fired, compulsory flash mode, return light detected", 16:"Flash did not fire, compulsory flash mode", 24:"Flash did not fire, auto mode", 25:"Flash fired, auto mode", 29:"Flash fired, auto mode, return light not detected", 31:"Flash fired, auto mode, return light detected", 32:"No flash function", 65:"Flash fired, red-eye reduction mode", 69:"Flash fired, red-eye reduction mode, return light not detected", 71:"Flash fired, red-eye reduction mode, return light detected", 73:"Flash fired, compulsory flash mode, red-eye reduction mode", 77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected", 79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected", 89:"Flash fired, auto mode, red-eye reduction mode", 93:"Flash fired, auto mode, return light not detected, red-eye reduction mode", 95:"Flash fired, auto mode, return light detected, red-eye reduction mode"}, ExposureMode:{0:"Auto exposure", 1:"Manual exposure", 2:"Auto bracket"}, WhiteBalance:{0:"Auto white balance", 1:"Manual white balance"}, SceneCaptureType:{0:"Standard", 1:"Landscape", 2:"Portrait", 3:"Night scene"}, Contrast:{0:"Normal", 1:"Soft", 2:"Hard"}, Saturation:{0:"Normal", 1:"Low saturation", 2:"High saturation"}, Sharpness:{0:"Normal", 1:"Soft", 2:"Hard"}, GPSLatitudeRef:{N:"North latitude", S:"South latitude"}, GPSLongitudeRef:{E:"East longitude", W:"West longitude"}};
Function a
has 151 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function a() {
var q, n, o = {}, t;
q = new b();
n = {tiff:{274:"Orientation", 34665:"ExifIFDPointer", 34853:"GPSInfoIFDPointer"}, exif:{36864:"ExifVersion", 40961:"ColorSpace", 40962:"PixelXDimension", 40963:"PixelYDimension", 36867:"DateTimeOriginal", 33434:"ExposureTime", 33437:"FNumber", 34855:"ISOSpeedRatings", 37377:"ShutterSpeedValue", 37378:"ApertureValue", 37383:"MeteringMode", 37384:"LightSource", 37385:"Flash", 41986:"ExposureMode", 41987:"WhiteBalance", 41990:"SceneCaptureType", 41988:"DigitalZoomRatio", 41992:"Contrast", 41993:"Saturation", 41994:"Sharpness"}, gps:{0:"GPSVersionID", 1:"GPSLatitudeRef", 2:"GPSLatitude", 3:"GPSLongitudeRef", 4:"GPSLongitude"}};
t = {ColorSpace:{1:"sRGB", 0:"Uncalibrated"}, MeteringMode:{0:"Unknown", 1:"Average", 2:"CenterWeightedAverage", 3:"Spot", 4:"MultiSpot", 5:"Pattern", 6:"Partial", 255:"Other"}, LightSource:{1:"Daylight", 2:"Fliorescent", 3:"Tungsten", 4:"Flash", 9:"Fine weather", 10:"Cloudy weather", 11:"Shade", 12:"Daylight fluorescent (D 5700 - 7100K)", 13:"Day white fluorescent (N 4600 -5400K)", 14:"Cool white fluorescent (W 3900 - 4500K)", 15:"White fluorescent (WW 3200 - 3700K)", 17:"Standard light A", 18:"Standard light B", 19:"Standard light C", 20:"D55", 21:"D65", 22:"D75", 23:"D50", 24:"ISO studio tungsten", 255:"Other"}, Flash:{0:"Flash did not fire.", 1:"Flash fired.", 5:"Strobe return light not detected.", 7:"Strobe return light detected.", 9:"Flash fired, compulsory flash mode", 13:"Flash fired, compulsory flash mode, return light not detected", 15:"Flash fired, compulsory flash mode, return light detected", 16:"Flash did not fire, compulsory flash mode", 24:"Flash did not fire, auto mode", 25:"Flash fired, auto mode", 29:"Flash fired, auto mode, return light not detected", 31:"Flash fired, auto mode, return light detected", 32:"No flash function", 65:"Flash fired, red-eye reduction mode", 69:"Flash fired, red-eye reduction mode, return light not detected", 71:"Flash fired, red-eye reduction mode, return light detected", 73:"Flash fired, compulsory flash mode, red-eye reduction mode", 77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected", 79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected", 89:"Flash fired, auto mode, red-eye reduction mode", 93:"Flash fired, auto mode, return light not detected, red-eye reduction mode", 95:"Flash fired, auto mode, return light detected, red-eye reduction mode"}, ExposureMode:{0:"Auto exposure", 1:"Manual exposure", 2:"Auto bracket"}, WhiteBalance:{0:"Auto white balance", 1:"Manual white balance"}, SceneCaptureType:{0:"Standard", 1:"Landscape", 2:"Portrait", 3:"Night scene"}, Contrast:{0:"Normal", 1:"Soft", 2:"Hard"}, Saturation:{0:"Normal", 1:"Low saturation", 2:"High saturation"}, Sharpness:{0:"Normal", 1:"Soft", 2:"Hard"}, GPSLatitudeRef:{N:"North latitude", S:"South latitude"}, GPSLongitudeRef:{E:"East longitude", W:"West longitude"}};
Function init
has 149 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
g.extend(this, {state:g.STOPPED, runtime:"", features:{}, files:u, settings:s, total:v, id:g.guid(), init:function () {
var B = this, C, y, x, A = 0, z;
if (typeof(s.preinit) == "function") {
s.preinit(B)
} else {
Function Runtime
has 149 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Runtime(options, type, caps, modeCaps, preferredMode) {
/**
Dispatched when runtime is initialized and ready.
Results in RuntimeInit on a connected component.
Function init
has 149 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
g.extend(this, {state:g.STOPPED, runtime:"", features:{}, files:t, settings:r, total:u, id:g.guid(), init:function () {
var A = this, B, x, w, z = 0, y;
if (typeof(r.preinit) == "function") {
r.preinit(A)
} else {
Function b
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function b() {
var k = false;
g.bind("PostInit", function () {
var o, m = d.drop_element, q = g.id + "_droptarget", l = document.getElementById(m), n;
Function init
has 146 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, init:function (p, q) {
var o, m = "", n = p.settings.filters, l, k = b.body;
if (!f("2.0.31005.0") || (g.opera && g.opera.buildNumber)) {
q({success:false});
return
Function onUploadFile
has 146 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onUploadFile(up, file) {
var url = up.settings.url
, chunkSize = up.settings.chunk_size
, retries = up.settings.max_retries
, features = up.features
Function EventTarget
has 145 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function EventTarget() {
// hash of event listeners by object uid
var eventpool = {};
Basic.extend(this, {
Function FileInput
has 145 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function FileInput() {
var _uid, _mimes = [], _options;
function addInput() {
var comp = this, I = comp.getRuntime(), shimContainer, browseButton, currForm, form, input, uid;
Function FlashRuntime
has 144 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function FlashRuntime(options) {
var I = this, initTimer;
options = Basic.extend({ swf_url: Env.swf_url }, options);
Function FileDrop
has 135 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function FileDrop() {
var _files = [], _allowedExts = [], _options, _ruid;
Basic.extend(this, {
init: function(options) {