Cheap currying,
let logger = store => next => action => {
// middleware
}
// becomes
var logger = function logger(store) {The setup:
- Basic angular application
- Has an iframe that is dynamically added to the page, and a dynamic src
- Page when it loads, goes to a SSO provider
- Upon logging in - gets redirected to a new page
- New page sends a postMessage to the parent frame
- Parent frame then updates the location.path, then does a window.location.reload
The problem:
- In the Content setup for 'Dashboard', pretty much moved the actions / list / etc to live under the 'tab'
dashboard: {
id: 'dashboard',
title: 'Dashboard',
tabs: [{
label: 'Analytics',
tab: 'analytics',
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var koastServer = require('koast'); | |
| var config = require('config'); | |
| var koast = koastServer(); // by defualt, loads config, but could pass in manually formed {} config object | |
| koast.whenReady().then(function() // some way of letting us know config is done | |
| { | |
| }) |
- EchoJS - aggergator of JavaScript news
- Daily JS
- Modolus.io - Node JS blog
- Rising Stack
- Strongloop Blog
- Jackal of JavaScript - Angular, Node, JS in general
- Mind the Code - some useful articles, but hasn't been updated in awhile
- NPMAwsome - collection of useful NPM packages
NewerOlder