Skip to content

Instantly share code, notes, and snippets.

View mcanfield's full-sized avatar

Michael Canfield mcanfield

  • Seattle
View GitHub Profile
let barposition = "bottom"
@mcanfield
mcanfield / lodash_chaining.md
Created March 6, 2017 18:36
lodash chaining
...
_(data.trials)
.filter({enabled: true})
.forEach(function (trial) {
 details.devices = _(trial.details.roomSystems)
   .concat(trial.details.phones)
   .filter({enabled: true})
   .map(function (device) {
 return _.pick(device, ['model', 'quantity']);
> become@0.0.1 test /Users/mcanfield/projects/bcc/ionic
> ng test "--log-level" "debug"
16 09 2017 22:24:31.295:DEBUG [config]: Loading config /Users/mcanfield/projects/bcc/ionic/karma.conf.js
16 09 2017 22:24:32.904:DEBUG [plugin]: Loading inlined plugin (defining framework:jasmine).
16 09 2017 22:24:32.905:DEBUG [plugin]: Loading inlined plugin (defining launcher:Chrome, launcher:ChromeHeadless, launcher:ChromeCanary, launcher:ChromeCanaryHeadless, launcher:Chromium, launcher:ChromiumHeadless, launcher:Dartium, test).
16 09 2017 22:24:32.905:DEBUG [plugin]: Loading inlined plugin (defining reporter:kjhtml).
16 09 2017 22:24:32.905:DEBUG [plugin]: Loading inlined plugin (defining reporter:junit).
16 09 2017 22:24:32.905:DEBUG [plugin]: Loading inlined plugin (defining reporter:coverage-istanbul).
16 09 2017 22:24:32.905:DEBUG [plugin]: Loading inlined plugin (defining framework:@angular/cli, preprocessor:@angular/cli, reporter:@angular/cli, middleware:angularCliBlocker).