Skip to content

Commit

Permalink
fix(pragmatics core): remove unneeded default arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
nomocas committed Apr 18, 2017
1 parent ffd90eb commit 35de44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pragmatics/pragmatics-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class Pragmatics {
* @param {Object} targets initial targets object
* @param {Object} pragmas pragmatics methods to add
*/
constructor(targets = {}, pragmas = {}) {
constructor(targets, pragmas) {

assert(typeof targets === 'object', 'Pragmatics constructor need an object (the lexicons targets) as first argument');
assert(typeof pragmas === 'object', 'Pragmatics constructor need an object (the pragma\'s base methods) as second argument');
Expand Down

0 comments on commit 35de44d

Please # to comment.