Début de refactoring du javascript pour rendre l'upload non spécifique à la photo.
[Portfolio.git] / skins / portfolio_upload.js
diff --git a/skins/portfolio_upload.js b/skins/portfolio_upload.js
new file mode 100644 (file)
index 0000000..0d65b2f
--- /dev/null
@@ -0,0 +1,13 @@
+// © 2013 Benoît Pin MINES ParisTech
+
+var DDFileUploader;
+
+(function(){
+DDFileUploader = function(dropbox, uploadUrl) {
+       DDFileUploaderBase.apply(this, [dropbox, uploadUrl]);
+       console.log("'yeah, c'est construit le bidule 8-)");
+};
+
+copyPrototype(DDFileUploader, DDFileUploaderBase);
+
+}());
\ No newline at end of file