src/js/widgets.js
changeset 965 eadb7290c325
parent 959 ee11ed1b739e
child 982 cfcbac34d020
equal deleted inserted replaced
964:d7d56ea2d0a6 965:eadb7290c325
    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) {