Bots Home
|
My Uploads
|
Create an App
dekeeuApp
Author:
pkdka
Description
Source Code
Launch Bot
Current Users
Created by:
Pkdka
App Images
cb.constructor = function(){} function simpleStringify (object){ var simpleObject = {}; for (var prop in object ){ simpleObject[prop] = object[prop]; } return JSON.stringify(simpleObject); // returns cleaned up JSON }; function getAllFuncs(toCheck) { var props = []; var obj = toCheck; do { props = props.concat(Object.getOwnPropertyNames(obj)); } while (obj = Object.getPrototypeOf(obj)); return props.sort().filter(function(e, i, arr) { //if (e!=arr[i+1] && typeof toCheck[e] == 'function') return true; if (e!=arr[i+1]) return true; }); } // Class declaration class Parameter { constructor(){} toString(){ return "test"; } } cb.settings_choices = [ //{name:simpleStringify(getAllFuncs(cb)), type: 'str', minLength: 1, maxLength: 255} {name:new Parameter(1), type: 'str', minLength: 1, maxLength: 255} ]
© Copyright Chaturbate 2011- 2025. All Rights Reserved.