Skip to content

Commit

Permalink
Added alternate method
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfries committed Aug 2, 2018
1 parent ccd28e0 commit a8b6d01
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion addon/services/wildcard.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,18 @@ export default Service.extend({
}
}
return a === e;
}
},

// match(opening, closing, actual, expect) {
// if (actual.length !== expect.length) return false;
// let a = '';
// let e = '';
// for (let i = 0; i < expect.length; i++) {
// if (expect[i] !== this.get('symbol')) {
// a += actual[i];
// e += expect[i];
// }
// }
// return a === e;
// }
});

0 comments on commit a8b6d01

Please sign in to comment.