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

also trim whitespace from elseif/else blocks #49

Merged
merged 1 commit into from
Nov 30, 2016
Merged

also trim whitespace from elseif/else blocks #49

merged 1 commit into from
Nov 30, 2016

Conversation

Swatinem
Copy link
Member

Some else blocks were also missing end markers, so I added some, although I’m not 100% sure those are correct. Also noticed that the start/end markers from trimmed textnodes should maybe reflect the actual text content rather than the whole block?

@codecov-io
Copy link

codecov-io commented Nov 30, 2016

Current coverage is 90.60% (diff: 100%)

Merging #49 into master will increase coverage by 0.05%

@@             master        #49   diff @@
==========================================
  Files            49         49          
  Lines          1291       1299     +8   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           1169       1177     +8   
  Misses          122        122          
  Partials          0          0          

Powered by Codecov. Last update fd9dc90...8518065

@Rich-Harris
Copy link
Member

Nice, thanks 🍺

Also noticed that the start/end markers from trimmed textnodes should maybe reflect the actual text content rather than the whole block?

It's actually not hugely important, those numbers are only used in error messages, it doesn't affect any functionality. If it's wrong, we can fix it eventually 😀 (but it's probably right)

@Rich-Harris Rich-Harris merged commit 6860507 into sveltejs:master Nov 30, 2016
@Swatinem Swatinem deleted the elseif-whitespace branch December 1, 2016 22:14
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.

None yet

3 participants