Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Branch providing a safe implementation#1

Open
victorporof wants to merge 2 commits intodcodeIO:masterdcodeIO/colour.js:masterfrom
victorporof:safeCopy head branch name to clipboard
Open

Branch providing a safe implementation#1
victorporof wants to merge 2 commits intodcodeIO:masterdcodeIO/colour.js:masterfrom
victorporof:safeCopy head branch name to clipboard

Conversation

@victorporof
Copy link

@victorporof victorporof commented Apr 10, 2017

I suggest having a branch in this project with a safe implementation that never touches the String prototype.

I've looked into augmenting the default implementation on master with an option to avoid touching the String prototype on import, but afaict that cannot be easily done at the moment without significant code duplication, but as it stands it seems that this library is intended to also be used as a drop-in in browser environments without a webpack, browserify or even some sort of concatenation build step.

Signed-off-by: Victor Porof <victor.porof@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.