Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"esversion": 6
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orcajs",
"version": "1.1.2",
"version": "1.1.3",
"main": "./dist/orca.js",
"license": "MIT",
"description": "orchestrate your javascript",
Expand Down
5 changes: 3 additions & 2 deletions src/orca.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import _ from 'lodash';
import {intersection, reverse, cloneDeep, isFunction, isArray, get, set, concat, uniq, forEach} from 'lodash';
const _ = {intersection, reverse, cloneDeep, isFunction, isArray, get, set, concat, uniq, forEach};

/** Class for organizing javascript callbacks. */
class Orca {
Expand Down Expand Up @@ -67,7 +68,7 @@ class Orca {

let called = namespaces;

_.each(_.uniq(namespaces), (n) => { this._runNamespace(n, called); });
_.forEach(_.uniq(namespaces), (n) => { this._runNamespace(n, called); });
}

/**
Expand Down