From 3aea6675e51f3dcaa54294b3aa018fcac640e246 Mon Sep 17 00:00:00 2001 From: ScottDowne Date: Fri, 10 Jun 2011 13:40:16 -0400 Subject: [PATCH] [#566] code plugin manifest function type added --- plugins/code/popcorn.code.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/code/popcorn.code.js b/plugins/code/popcorn.code.js index 0fa5cc7..a871a35 100644 --- a/plugins/code/popcorn.code.js +++ b/plugins/code/popcorn.code.js @@ -144,10 +144,9 @@ options: { start: {elem:'input', type:'text', label:'In'}, end: {elem:'input', type:'text', label:'Out'}, - // TODO: how to deal with functions, eval strings? - onStart: {elem:'input', type:'text', label:'onStart'}, - onFrame: {elem:'input', type:'text', label:'onFrame'}, - onEnd: {elem:'input', type:'text', label:'onEnd'} + onStart: {elem:'input', type:'function', label:'onStart'}, + onFrame: {elem:'input', type:'function', label:'onFrame'}, + onEnd: {elem:'input', type:'function', label:'onEnd'} } }); })( Popcorn ); -- 2.43.0