Skip to content
Browse files

comment for define

  • Loading branch information...
1 parent 9559750 commit 0559a257321d7fb5c4fc686e75312339b74a22ed @alexgraul alexgraul committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/product.js
View
8 src/product.js
@@ -72,6 +72,14 @@
}
});
+ /**
+ * Returns a function for creating a product
+ * Parameters:
+ * func - the function which will be wrapped to create a product.
+ * function signature is function(columns, options)
+ * columns - an array of column objects
+ * options - object with options
+ */
Miso.Product.define = function(func) {
return function(columns, options) {
options = options || {};

0 comments on commit 0559a25

Please sign in to comment.
Something went wrong with that request. Please try again.