Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove stringjs dependency #480

Merged
merged 3 commits into from
Nov 12, 2015

Conversation

marcodejongh
Copy link
Contributor

Hey @aldeed,

Takes for the amazing package been using it for a while now (Meteor 0.6 or so). Lately I've been experimenting with Electron and kept bumping my head into #317. So I figured I might as well fix it instead of implementing the work around.

So here it is, I've used native String methods where possible and added Polyfills to ensure it works in all browsers (trim is only supported starting IE 9+ 😭 ).

I deemed the humanize function not worthy of it's own proxy package all though it would be possible if you want to keep the codebase cleaner. So I've included https://github.com/jxson/string-capitalize https://github.com/jxson/string-humanize in the string-humanize.js file It's the same humanize method as in string.js.

Watchout: this PR also includes #479 which I needed to be able to run the tests

aldeed added a commit that referenced this pull request Nov 12, 2015
@aldeed aldeed merged commit b7f927a into Meteor-Community-Packages:master Nov 12, 2015
@aldeed
Copy link
Collaborator

aldeed commented Nov 12, 2015

Thanks for the awesome PR @marcodejongh! I have been wanting to do this for awhile. I will get this released soon along with some other changes I'm making.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants