src/wireit-app/js/editor-view.js
Function saveWiring
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
saveWiring: function (e) {
var o = {
name: Y.one('#wiring-name').get('value') || 'Unnamed'
};
Function setWiring
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setWiring: function (wiring) {
var that = this,
layer = this.layer;