equal
deleted
inserted
replaced
95 if (typeof _function !== "undefined") { |
95 if (typeof _function !== "undefined") { |
96 return function() { |
96 return function() { |
97 return _function.apply(_this, Array.prototype.slice.call(arguments, 0)); |
97 return _function.apply(_this, Array.prototype.slice.call(arguments, 0)); |
98 } |
98 } |
99 } else { |
99 } else { |
100 console.log("Error, Unknown function IriSP.Widgets" + this.type + "." + _name) |
100 console.log("Error, Unknown function IriSP.Widgets." + this.type + "." + _name) |
101 } |
101 } |
102 } |
102 } |
103 |
103 |
104 IriSP.Widgets.Widget.prototype.getFunctionOrName = function(_functionOrName) { |
104 IriSP.Widgets.Widget.prototype.getFunctionOrName = function(_functionOrName) { |
105 switch (typeof _functionOrName) { |
105 switch (typeof _functionOrName) { |