Added a new file to the build, widgets.js, to contain widget classes. popcorn-port
authorhamidouk
Wed, 12 Oct 2011 11:54:59 +0200
branchpopcorn-port
changeset 66 13013b9452af
parent 65 6a8cae20f190
child 67 d0c32e1c7401
Added a new file to the build, widgets.js, to contain widget classes.
sbin/build/client.xml
src/js/widgets.js
--- a/sbin/build/client.xml	Wed Oct 12 11:54:26 2011 +0200
+++ b/sbin/build/client.xml	Wed Oct 12 11:54:59 2011 +0200
@@ -73,7 +73,7 @@
 	        <filelist dir="../../src/js" files="popcorn.js popcorn.youtube.js popcorn.jwplayer.js jwplayer.js" />
 	        <filelist dir="../../src/js" files="LdtPlayer.js" />
 	    	<filelist dir="../../build" files="compiled_templates.js" />
-	    	<filelist dir="../../src/js" files="mustache.js utils.js data.js site.js ui.js" />
+	    	<filelist dir="../../src/js" files="mustache.js utils.js data.js site.js ui.js widgets.js" />
 	    	<filterchain>
 	    	    <deletecharacters chars="&#xFEFF;" />
 	    	</filterchain>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/js/widgets.js	Wed Oct 12 11:54:59 2011 +0200
@@ -0,0 +1,9 @@
+/* the widget classes and definitions */
+
+IriSP.Widget = function(Popcorn) {
+  this.Popcorn = Popcorn;
+};
+
+IriSP.Widget.prototype.draw = function() {
+  /* implemented by "sub-classes" */  
+};