Calvin Metcalf

Results 230 comments of Calvin Metcalf

Just be careful if you have other dependencies (now or in the future) that could break. On Wed, Apr 12, 2017, 6:25 PM Daniel Cousens wrote: > You should be...

Promises are all interoperable so don't worry about that, for what type if it's node only then I'd recommend bluebird which is super fast but super large, for the browser...

Could add a point value to words, or just put them in groups with the same bullshit level, and modify the bs value based on the proximity to other bullshit...

my bad, was thinking of solutions to the issue of words not bullshit by themselves

I experemented with some of the available stemming libraries, neither [porter stemmer](http://tartarus.org/~martin/PorterStemmer/js.txt) nor [Snowball.js](https://github.com/fortnightlabs/snowball-js) are really at a level that is really usable here..

I'm not sure that will work in strict mode On May 19, 2014 9:57 PM, "Kris Nye" [email protected] wrote: > Shouldn't it use this instead of self? > }({browser: true},self))...

so what browserify does is `typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}`

that won't work in strict mode (will break if somebody enables global strict) and also messes with the global scope which many people don't like, updated this to more accurately...

``` 'use strict' (function() { this.global = this; this.process = {browser:true}; })(); ``` one last commit, should work the same in node if it has the wrapper or not

are you on webpack 5 per-chance ?