]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
added manifest to wordriver
authorScottDowne <sdowne@learn.senecac.on.ca>
Thu, 9 Jun 2011 01:06:49 +0000 (21:06 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Thu, 9 Jun 2011 01:06:49 +0000 (21:06 -0400)
plugins/wordriver/popcorn.wordriver.js

index 2fe6359c0d3613094201f83de8d4712357ca28c5..370993b11ffd0c451d69767a341f42288f9b719a 100644 (file)
 
   Popcorn.plugin( "wordriver" , {
     
-      manifest: {},
+      manifest: {
+        about:{
+          name: "Popcorn WordRiver Plugin"
+        },
+        options:{
+          start    : {elem:'input', type:'text', label:'In'},
+          end      : {elem:'input', type:'text', label:'Out'},
+          target  :  'wordriver-container',
+          text     : {elem:'input', type:'text', label:'Text'},
+          color    : {elem:'input', type:'text', label:'Color'}
+        }
+      },
 
       _setup: function( options ) {