I hereby claim:
- I am nnarhinen on github.
- I am nnarhinen (https://keybase.io/nnarhinen) on keybase.
- I have a public key whose fingerprint is 5587 FD3D 1EAE E010 5C54 5676 123E FEEF 96F1 689E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
var spawn = require('child_process').spawn, | |
Promise = require('bluebird'), | |
_ = require('underscore'), | |
concat = require('concat-stream'); | |
var o = module.exports = {}; | |
o.req = function(privKeyPem, subjectData) { | |
return new Promise(function(resolve, reject) { |
Works:
./node_modules/.bin/browserify -t [reactify --es6] src/frontend/index.js
Does not work:
./node_modules/.bin/browserify src/frontend.index.js
var Reflux = require('reflux'), | |
_ = require('underscore'), | |
api = require('./api'); | |
var TodoActions = Reflux.createActions(['create', 'created', 'errored']); | |
TodoActions.create.preEmit = function(data) { | |
data = _.extend({_iid: _.uniqueId('todo_')}, data); | |
api.createTodo(data).then(function(todo) { TodoActions.created(_.extend({_iid: data._iid}, todo)); }) | |
.catch(function(err) { TodoActions.errored(_.extend({_iid: data._iid}, {_error: err}))}); |
dist/application.min.js |
export PATH := ./node_modules/.bin/:$(PATH) | |
node_modules_less_files = $(shell find node_modules -type f -name '*.less') | |
default.css: bootstrap.css react-widgets.css default.styl | |
stylus --include-css -u nib --import nib -p default.styl > $@ | |
bootstrap.css: build-bootstrap.less $(node_modules_less_files) | |
lessc build-bootstrap.less > $@ | |
react-widgets.css: build-react-widgets.less $(node_modules_less_files) |
<validator name="atleastonerecipient" class="arraylength"> | |
<arguments> | |
<argument>to</argument> | |
</arguments> | |
<ae:parameters> | |
<ae:parameter name="min">1</ae:parameter> | |
</ae:parameters> | |
<errors> | |
<error>Valitse vähintään yksi sähköpostiosoite</error> | |
</errors> |