Based off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demo| #requires -Version 2 -Modules posh-git | |
| function Write-Theme { | |
| param( | |
| [bool] | |
| $lastCommandFailed, | |
| [string] | |
| $with | |
| ) |
Based off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demo| Handlebars.registerHelper("math", function(lvalue, operator, rvalue, options) { | |
| if (arguments.length < 4) { | |
| // Operator omitted, assuming "+" | |
| options = rvalue; | |
| rvalue = operator; | |
| operator = "+"; | |
| } | |
| lvalue = parseFloat(lvalue); | |
| rvalue = parseFloat(rvalue); |