]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#566] code plugin manifest function type added
authorScottDowne <sdowne@learn.senecac.on.ca>
Fri, 10 Jun 2011 17:40:16 +0000 (13:40 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Fri, 10 Jun 2011 17:40:16 +0000 (13:40 -0400)
plugins/code/popcorn.code.js

index 0fa5cc7ff761976b4223343e7a661d0365774264..a871a3505c0a6d99d150cc61a275cdc45d0b09dd 100644 (file)
     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 );