]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
forgot the manifest [#158]
authorAnna Sobiepanek <annaopensource@gmail.com>
Thu, 23 Dec 2010 01:59:51 +0000 (20:59 -0500)
committerAnna Sobiepanek <annaopensource@gmail.com>
Thu, 23 Dec 2010 01:59:51 +0000 (20:59 -0500)
plugins/wikipedia/popcorn.wikipedia.js

index f9794b45ebee2702277c82f8e490782a03ea5203..13a4b1bdf1b827a2527ad9e8af69f1baed982014 100644 (file)
@@ -33,6 +33,23 @@ var wikiCallback;
    */
   Popcorn.plugin( "wikipedia" , {
       
+    manifest: {
+      about:{
+        name: "Popcorn Wikipedia Plugin",
+        version: "0.1",
+        author: "@annasob",
+        website: "annasob.wordpress.com"
+      },
+      options:{
+        start      : {elem:'input', type:'text', label:'In'},
+        end        : {elem:'input', type:'text', label:'Out'},
+        lang       : {elem:'input', type:'text', label:'Language'},
+        src        : {elem:'input', type:'text', label:'Src'},
+        title      : {elem:'input', type:'text', label:'Title'},
+        numOfWords : {elem:'input', type:'text', label:'Num Of Words'},
+        target     : 'wiki-container'
+      }
+    },
     /**
      * @member wikipedia 
      * The setup function will get all of the needed