From: ScottDowne Date: Fri, 10 Jun 2011 17:40:16 +0000 (-0400) Subject: [#566] code plugin manifest function type added X-Git-Tag: v0.7^2~46^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3aea6675e51f3dcaa54294b3aa018fcac640e246;p=popcorn-js.git [#566] code plugin manifest function type added --- 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 );