Web.Admin/2014/wordpress/wp-includes/js/tinymce/plugins/image/plugin.js
Function showDialog
has 282 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showDialog(imageList) {
var win, data = {}, dom = editor.dom, imgElm = editor.selection.getNode();
var width, height, imageListCtrl, classListCtrl;
function buildValues(listSettingName, dataItemName, defaultItems) {
File plugin.js
has 347 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
Function onSubmitForm
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onSubmitForm() {
function waitLoad(imgElm) {
function selectImage() {
imgElm.onload = imgElm.onerror = null;
editor.selection.select(imgElm);