A title that gives the appearance of floating in the ocean
Original code base from Manuel Ro's codepen
A Pen by James Freund on CodePen.
| var function_array = { | |
| // sets the dates for creation of a new document | |
| "setDateTimes" : function (req, res, next) { | |
| var tempDate = new Date().toISOString(); | |
| req.body.created_date = tempDate; | |
| req.body.updated_date = tempDate; | |
| next(); | |
| }, | |
| // sets the created by and updated by for creation of a new document |
| var convertOptions = function (obj) { | |
| var temp = []; | |
| var tempFunctionArray = []; | |
| // Pre Create | |
| if (obj.preCreate !== undefined) { | |
| temp = obj.preCreate.split(','); | |
| tempFunctionArray = []; | |
| for (var i = 0; i < temp.length; i++) { | |
| tempFunctionArray.push(function_array[temp[i]]); |
A title that gives the appearance of floating in the ocean
Original code base from Manuel Ro's codepen
A Pen by James Freund on CodePen.
Press and drag to make wind the lion will surely appreciate
A Pen by James Freund on CodePen.