tk.hack-options.js (417B)
1 // Hack pour récupérer les options 2 /*var options; 3 4 var hackOptions = { 5 options: function(opts) { 6 args = []; 7 for (i = 0; i < arguments.length; i++) 8 args.push(arguments[i]); 9 throw { hackOptions: args }; 10 } 11 }; 12 try { 13 def(hackOptions); 14 } catch (e) { 15 if ('hackOptions' in e) { options = e.hackOptions; } 16 else { throw e; } 17 }*/ 18 // Fin hack options.