Skip to content

Make new optional #145

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

Closed
wants to merge 1 commit into from
Closed

Make new optional #145

wants to merge 1 commit into from

Conversation

FWeinb
Copy link
Contributor

@FWeinb FWeinb commented Dec 7, 2016

Like requested in #55. This is making the new operator optional. I had to attach the SvelteComponent onto the window object to be able to test this, maybe there is a better way for this?

@codecov-io
Copy link

codecov-io commented Dec 7, 2016

Current coverage is 91.56% (diff: 100%)

Merging #145 into master will not change coverage

@@             master       #145   diff @@
==========================================
  Files            52         52          
  Lines          1423       1423          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1303       1303          
  Misses          120        120          
  Partials          0          0          

Powered by Codecov. Last update ecf05ad...b21414a

@Rich-Harris
Copy link
Member

Rich-Harris commented Dec 7, 2016

maybe there is a better way for this?

component.constructor?

@Rich-Harris
Copy link
Member

Will close this for the reasons outlined in #55 (comment) and on Gitter

@Conduitry Conduitry deleted the optional-new branch July 26, 2018 11:44
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.

3 participants